• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Option to flag selective warnings as errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Option to flag selective warnings as errors
      • From: John Daniel <email@hidden>
  • Prev by Date: Re: What are your top desired improvements in Xcode ?
  • Next by Date: Re: File copying
  • Previous by thread: Re: File copying
  • Next by thread: Re: Option to flag selective warnings as errors
  • Index(es):
    • Date
    • Thread