This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: decimal integer constant is so large that it is unsigned
- To: Hany Morcos <hanymorcos at yahoo dot com>
- Subject: Re: decimal integer constant is so large that it is unsigned
- From: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Date: 13 Mar 2000 18:00:25 -0300
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <20000313205155.23395.qmail@web3202.mail.yahoo.com>
On Mar 13, 2000, Hany Morcos <hanymorcos@yahoo.com> wrote:
> How do I turn this warning off or how do I make
> the compiler not exit?
> unsigned long x = 0xffffffff + 5;
^ insert an `u' just after the last `f',
to tell the compiler that this is an unsigned constant.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/ Enjoy Guaranį
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me