This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ header file problem - is this a bug?
- From: Bill Northcott <w dot northcott at unsw dot edu dot au>
- To: "Dave Korn" <dave dot korn at artimi dot com>
- Cc: "'Andrew Pinski'" <pinskia at physics dot uc dot edu>, <gcc at gcc dot gnu dot org>, "'JAGS'" <jags at iarc dot fr>
- Date: Wed, 5 Jan 2005 09:20:28 +1100
- Subject: Re: C++ header file problem - is this a bug?
- References: <NUTMEG8fBPaMkYwEoNc00000c22@NUTMEG.CAM.ARTIMI.COM>
As such, you should use the C++ library functions and headers, not
the C
library functions and headers, since they're for a different
programming
language.
Which is nice if you are sitting in an ivory tower, but in the real
world people need to use C libraries in C++ code and they hit these
sorts of problems. That is how we got in trouble.
Why aren't you using the std::isnan() function?
Thank you that is a helpful suggestion.
Bill Northcott