g++ unsigned warning

Gabriel Dos Reis gdr@codesourcery.com
Mon Nov 26 03:48:00 GMT 2001


Benjamin Kosnik <bkoz@redhat.com> writes:

| other platforms with:
| 
|   #include <limits>
|   unsigned long ul1 = std::numeric_limits<unsigned long>::max();

How?  I carefully took care to make the constants unsigned,
either with a suffix or with an explicit cast.

-- Gaby



More information about the Gcc-bugs mailing list