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: Fri, 14 Dec 2012 13:25:31 -0500

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

| John W. Eaton wrote:
| > On 13-Dec-2012, Steven G. Johnson wrote:
| > | 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.
| 
| Probably is more portable to include <math.h> directly, since it can't 
| be guaranteed that cmath will #include math.h or that it will be 
| compatible with the gnulib one.

I'd prefer to include cmath in C++ code.

If there is some way to improve the way gnulib works with C++ code, I
think that's a discussion to have with the gnulib developers.

jwe


reply via email to

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