Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext Thread*Show in Threaded Mode


SubjectAnyone know a GCC version of pragma warning disable? new Reply to this message
Posted byfinaldave
Posted on10/31/03 10:11 AM





I've got a problematic source file which is producing tonnes and tonnes of signed unsigned comparison warnings, however because it's #included I can't specify any command line switches.

Is there any way in GCC to turn off warnings just for a section of code, like you can in MSVC with the pragma warning disable stuff?



You learn something old everyday...



SubjectRe: Anyone know a GCC version of pragma warning disable? Reply to this message
Posted bygalibert
Posted on10/31/03 01:36 PM



> Is there any way in GCC to turn off warnings just for a section of code, like
> you can in MSVC with the pragma warning disable stuff?

Nope. There is bitching about that and numbers-for-warnings in the gcc mailing-lists on a regular basis.

OG.





Previous ThreadView All ThreadsNext Thread*Show in Threaded Mode