• 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
(objc_warning) is valid for ObjC/ObjC++ but not for C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(objc_warning) is valid for ObjC/ObjC++ but not for C


  • Subject: (objc_warning) is valid for ObjC/ObjC++ but not for C
  • From: Roy Lovejoy <email@hidden>
  • Date: Mon, 12 May 2008 14:33:46 -0700

ObjC XCode folks:

In an XCode project's build settings, I can't seem to find where to put ObjC ONLY warnings, such as strict-selector-match & undeclared- selector, -such-that- I do NOT get "warning: command line option "- Wstrict-selector-match" is valid for ObjC/ObjC++ but not for C" warnings.

My project is shortly going to have 'warnings are errors' flipped on (as all good projects should), but I don't want to -cut-back- on the warnings to make it under this bar, especially the ObjC warnings.

GCC 4.0's "Other C Flags" -seemed- to be the place, but I get the above warning..
"Other Warning Flags" is worse, as it then gets the same warning- warning, with the additional "but not for C++" tag.


I really don't want to roll my own makefile, where I put the ObjC-only flags in the command line that does the ObjC compiling manually... That seems so... 60's.

Thanks.
_______________________________________________
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: (objc_warning) is valid for ObjC/ObjC++ but not for C
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: Re: how to ensure #defines apply to all files in project?
  • Next by Date: Linking to an object file
  • Previous by thread: Re: Xcode 3 deletes the strings.pbxstrings folder
  • Next by thread: Re: (objc_warning) is valid for ObjC/ObjC++ but not for C
  • Index(es):
    • Date
    • Thread