Fabien Costantini wrote:
>>      These two look like the best suggs I've seen so far.
>>      Preference anyone?
>>
>>      I was gonna pick something and go for a check in later today,
>>      and we'll just 'find out' when folks do compile tests.
>>
>>      My two cents: it's kinda sounding like #warning is only supported
>>      by gnu.. in which case, maybe the easy answer is just:
>>
>> #if defined(__GNUC__)
>> #warning..
>> #endif
>>
>>      ..???
> It would also be ok for me,
> because in fact ; all devs in the team have at least one gcc compiler 
> available for testing wether it's on *nix, mac os x, win32/mingw or cygwin 
> platforms.
> 
> Also, it is always preferable to filter more platforms thus preventing the 
> warning but still compiling, than filtering not enough platforms and 
> potentially break compile on some platform.

FWIW, VC++ (at least) supports:

    #pragma message("foo")

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to