|
From: | Steven G. Johnson |
Subject: | Re: gnulib warnings when compiling Faddeeva.cc |
Date: | Thu, 13 Dec 2012 21:43:43 -0500 |
User-agent: | Thunderbird 2.0.0.24 (Macintosh/20100228) |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |