This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: warning: decimal constant is so large that it is unsigned


Pergola, Michael wrote:-

> 	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

"-2147483648" is two tokens: "-" and "2147483648".  The latter has
type "int".  Does that help?

Neil.


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