gcc-3.3.3 :fpclassify

Gerrit P. Haase gp@familiehaase.de
Thu Dec 30 22:40:00 GMT 2004


Wrong list, please use the main cygwin list for such postings.

Jianguo.Zhang@inrialpes.fr wrote:
[...]
> $ g++ test.cpp
> 
> the following errors occurs:
> 
> test.cpp: In function `int main()':
> test.cpp:17: error: `fpclassify' undeclared in namespace `std'
> test.cpp:18: error: `fpclassify' undeclared in namespace `std'
> test.cpp:19: error: `fpclassify' undeclared in namespace `std'
> 
> there is no problem to compile the file under linux system using g++ 3.3.1
> 
> Could anyone tell me why?

No, sorry.

Try gcc-3.4.1:
$ g++ -o fpclassify fpclassify.C

$ ./fpclassify
program ends


To install gcc-3.4.1 trigger the radio button in setup.exe so
you can install test/experimental packages.


Gerrit
-- 
=^..^=



More information about the Cygwin-talk mailing list