autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ac_check_funcs(getloadavg) with gcc 3.3


From: Bob Friesenhahn
Subject: Re: ac_check_funcs(getloadavg) with gcc 3.3
Date: Mon, 19 Jan 2004 14:51:27 -0600 (CST)

On Mon, 19 Jan 2004, Hanspeter Roth wrote:
> > >
> > > Does it make sense to run test in C while the function getloadavg() is
> > > used in a C++ Module?
> >
> > no.  He's telling you how to get some use out of the tool as it is
> > written.  (Another one for the unwritten autoconf-FAQ).  Some of the
> > autoconf tests for C functions may happen to work when run from C++.
>
> So should the invokation of getloadavg() be moved to a separate C
> module and then call the C function that calls getloadavg() from a
> C++ module?

That is totally unnecessary since C++ is (with few exceptions) a
superset of C and may use C functions.

Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]