(objc_warning) is valid for ObjC/ObjC++ but not for C
(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