Hi, If I compile the following program: #include <iostream> int main(int argc, char *argv[] { return 0; } with the following flags: g++ -W -Wall b.cc I get lots of warnings that did not appear in GCC 3.2: In file included from /usr/include/c++/3.3/bits/locale_facets.tcc:43, from /usr/include/c++/3.3/locale:47, from /usr/include/c++/3.3/bits/ostream.tcc:37, from /usr/include/c++/3.3/ostream:535, from /usr/include/c++/3.3/iostream:45, from b.cc:1: /usr/include/c++/3.3/limits:630: warning: comparison of unsigned expression < 0 is always false /usr/include/c++/3.3/limits:631: warning: comparison of unsigned expression < 0 is always false /usr/include/c++/3.3/limits:730: warning: comparison of unsigned expression < 0 is always false /usr/include/c++/3.3/limits:731: warning: comparison of unsigned expression < 0 is always false /usr/include/c++/3.3/limits:830: warning: comparison of unsigned expression < 0 is always false /usr/include/c++/3.3/limits:831: warning: comparison of unsigned expression < 0 is always false Is there a way to fix the <limits> header file? -- Craig Rodrigues http://crodrigues.org rodrigc_at_crodrigues.orgReceived on Sat Jul 12 2003 - 06:52:31 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:14 UTC