• 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
Re: Make "incompatible pointer type" an error, not a warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make "incompatible pointer type" an error, not a warning


  • Subject: Re: Make "incompatible pointer type" an error, not a warning
  • From: "Sean McBride" <email@hidden>
  • Date: Mon, 9 Feb 2009 13:32:08 -0500
  • Organization: Rogue Research Inc.

On 2/9/09 10:19 AM, Chris Espinosa said:

>The answer is -Wpedantic, and there's a special switch specifically to
>turn pedantic warnings into errors: -Wpedantic-errors.  Unfortunately
>it doesn't satisfy the OP's requirement of not turning other warnings
>into errors; it will flag all the pedantic warnings, which are
>numerous and, well, pedantic.

Also unfortunate is that -Wpedantic is too pedantic.  It warns that
#import is an extension. :(  But since the OP is doing Carbon, he may be
able to use pedantic.

Scott, you may also want to take a look at -fstrict-aliasing and -
Wstrict-aliasing.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
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

References: 
 >Make "incompatible pointer type" an error, not a warning (From: Scott Johnson <email@hidden>)
 >Re: Make "incompatible pointer type" an error, not a warning (From: "Sean McBride" <email@hidden>)
 >Re: Make "incompatible pointer type" an error, not a warning (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Make "incompatible pointer type" an error, not a warning
  • Next by Date: Re: Make "incompatible pointer type" an error, not a warning
  • Previous by thread: Re: Make "incompatible pointer type" an error, not a warning
  • Next by thread: Re: Make "incompatible pointer type" an error, not a warning
  • Index(es):
    • Date
    • Thread