octave-maintainers
[Top][All Lists]
Advanced

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

Re: gnulib warnings when compiling Faddeeva.cc


From: John W. Eaton
Subject: Re: gnulib warnings when compiling Faddeeva.cc
Date: Thu, 13 Dec 2012 17:32:59 -0500

On 13-Dec-2012, Steven G. Johnson wrote:

| On 12/13/12 5:01 PM, John W. Eaton wrote:
| > | (Do I also have to include declarations of gnulib::floor etcetera, or is
| > | the compilation somehow set up so that the gnulib math.h replaces the
| > |<cmath>  header?)
| >
| > Yes, the gnulib replacement headers are found first and include the
| > system headers as necessary.
| 
| Except that there is no gnulib "cmath" header file as far as I can tell.

I think cmath includes math.h on most systems.  That may not be
required, but it's the way it works with GNU libstdc++ headers.  So
<math.h> finds the gnulib math.h file from the libgnu directory and
that ultimately includes the system math.h file.

jwe


reply via email to

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