Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Annoying compiler warning

Reply
Thread Tools

Annoying compiler warning

 
 
Army1987
Guest
Posts: n/a
 
      12-29-2007
Ian Collins wrote:
[About infinite loops]
> How about:
>
> for( u = 1; u&1; u += 2 )
>

It's the reversed form of the Italian humorous threat "Ti prendo a
schiaffi a due a due finché non diventano dispari", "I'm giving you slaps
two by two until they become odd".
BTW, what about
#define HELL_TEMPER 1.416785e32 /* actually, Planck temperature */
#define FREEZING_TEMPER 273.15
#define HELL_FREEZES_OVER (HELL_TEMPER < FREEZING_TEMPER)

while (!HELL_FREEZES_OVER) { ... }
?

--
Army1987 (Replace "NOSPAM" with "email")
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get rid of the annoying compiling warning on virtual function asm23 C++ 9 10-11-2008 11:41 PM
warning C4267 and warning C4996 B. Williams C++ 17 10-27-2006 09:41 PM
Warning: WARNING Charles Computer Support 7 08-16-2005 09:07 PM
annoying warning message from g++ compiler Teddy C++ 2 05-29-2005 02:08 AM
Re: A code fix for MSVC warning C4267 (64-bit compatibility warning,e.g. Boost Spirit) Pete Becker C++ 0 02-10-2005 01:13 PM



Advertisments