Date: Mon, 31 Mar 2003 14:46:05 +0800 From: Ying-Chieh Liao <ijliao@FreeBSD.org> To: questions@FreeBSD.org Cc: current@FreeBSD.org Subject: isnan() with gcc 3.2.2 on FreeBSD 5.0-C Message-ID: <20030331064605.GA42030@terry.dragon2.net>
next in thread | raw e-mail | index | archive | help
--h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline the following code snippet works fine with gcc 2.95.4 on RELENG_4 but failed on my -current <code> #include <iostream> #include <cmath> using namespace std; int main(void) { cout << isnan(1.0) << endl; return 0; } </code> <err> test.cpp: In function `int main()': test.cpp:8: `isnan' undeclared (first use this function) test.cpp:8: (Each undeclared identifier is reported only once for each function it appears in.) </err> what's wrong with my system ? or what can I do for it ? -- int i;main(){for(;i["]<i;++i){--i;}"];read('-'-'-',i+++"hell\ o, world!\n",'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);} -- IOCCC 1984 --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+h+QtrMYBZRHAI4IRArRSAKD8ZQOPNVZFtmSbEzhNPrlwFemZlgCfWZNR TPJTEaiftuAIxN0JKMy5HD4= =f1oM -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030331064605.GA42030>