Re: ac_check_funcs(getloadavg) with gcc 3.3

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

 



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
bfriesen@xxxxxxxxxxxxxxxxxxx
http://www.simplesystems.org/users/bfriesen




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux