This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
warning: decimal constant is so large that it is unsigned
- To: "'gcc-bugs at gcc dot gnu dot org'" <gcc-bugs at gcc dot gnu dot org>
- Subject: warning: decimal constant is so large that it is unsigned
- From: "Pergola, Michael" <MichaelPergola at Danfoss dot com>
- Date: Fri, 26 Oct 2001 20:18:27 +0200
- Cc: "Tom Englert (E-mail)" <EnglertTom at aol dot com>
GNU Bugs,
I am using the gcc cross compiler for the Power PC [gcc version
2.95.2 19991030 (2.95.3 prerelease/franzo)] and am getting a weird warning.
It seems that I have set an int value to its minimum value of -2147483648.
The compiler gives me the warning of:
/home/usac0314/xena-sandbox/xena-prototypes/code/database/db-dat.c:6150:
warning: decimal constant is so large that it is unsigned
I do not get this warning when other data type are represented by
their minimum value so what could be the problem?
Regards,
Michael Pergola
Software Engineer
Danfoss Air-Conditioning & Refrigeration Division
7941 Corporate Blvd.
Baltimore, MD 21236 (410) 931-8250 x4259