Compiler warning



Hi all, I've got to use this declaration:

unsigned long h = 2166136261;

but the gcc compiler warns me saying "warning: this decimal constant is
unsigned only in ISO C90".

What should I do?

Thanks

--
Mattia
.



Relevant Pages

  • Re: Compiler warning
    ... but the gcc compiler warns me saying "warning: this decimal constant is ... unsigned only in ISO C90". ... should get rid of the warning. ... In C90, 'long' is the largest signed integer type. ...
    (comp.lang.c)
  • Re: sizeof a struct
    ... bytes.c:10: warning: bit-field `y' type invalid in ISO C ...
    (comp.lang.c)
  • Re: 5.2.1-RELEASE lib/libedit broken? Problems with tr(1) and LANG=de_DE.ISO8859-15
    ... fcns.h:18:23: warning: ISO C requires whitespace after the macro name ...
    (freebsd-current)
  • Re: Which PIC18 C Compiler?
    ... >> You will not get a fully ISO C compliant compiler for the PIC. ... You will have to compare the PIC compiler specs, along with C99 and C90 to be specific. ...
    (comp.arch.embedded)
  • Re: Debian packages without md5sums
    ... WARNING: This version of acpid is from an untrusted source! ... Reading package lists... ... In a separate respose Florian Kulzer pointed out that the ISO images ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)