RE: Useless compiler warning in GCC, how can i silence it?

2002-03-14 Thread Surendar Singh Bisht
How 'bout using "gcc -w" for compilation. It SILENCES the complaint. (I'm using gcc version 2.95.3-5.) -Original Message- From: sam alexander [mailto:[EMAIL PROTECTED]] Sent: Friday, 15 March 2002 12:46 PM To: [EMAIL PROTECTED] Subject: Useless compiler warni

RE: Useless compiler warning in GCC, how can i silence it?

2002-03-14 Thread Al Slater
use unsigned int x = 4294967294UL; ^^ regards Al > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf > Of sam alexander > Sent: 15 March 2002 07:16 > To: [EMAIL PROTECTED] > Subject: Useless compile

Useless compiler warning in GCC, how can i silence it?

2002-03-14 Thread sam alexander
Hi The useless compiler warning is this: warning: decimal constant is so large that it is unsigned I KNOW that it's unsigned, and it's supposed to be. It's the right hand side of an initialization like this: unsigned int x = 4294967294; I'd just ignore it as a minor annoyance, but my