gcc-3.3.3 :fpclassify

Gerrit P. Haase gp@familiehaase.de
Thu Dec 30 21:42: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
-- 
=^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list