This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc-3.3.3 :fpclassify


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]