Option to flag selective warnings as errors
Option to flag selective warnings as errors
- Subject: Option to flag selective warnings as errors
- From: "Isaac Wankerl" <email@hidden>
- Date: Tue, 20 Feb 2007 11:15:01 -0600
Is there a flag I can pass to GCC in my Xcode project so that certain
types of warnings will be treated as errors? I am porting Windows
code and there are many warnings of various types, but I would like to
make sure I fix the really nasty ones. For example, "cannot pass
objects of non-POD type through '...'; will abort at runtime". This
is just a warning now, but I would like to elevate it to be an error.
Is this possible with Xcode/GCC?
For now, I can select the Errors and Warning group and then use the
search filter box to just show those warnings, but I am hoping for a
mechanism that will flag the offending code with errors as I compile
it.
Isaac
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden