Re: dialect specific warnings/WARNING_CFLAGS ?
Re: dialect specific warnings/WARNING_CFLAGS ?
- Subject: Re: dialect specific warnings/WARNING_CFLAGS ?
- From: Greg Guerin <email@hidden>
- Date: Tue, 17 Mar 2009 14:38:37 -0700
Sean McBride wrote:
Not that I know of. This has bugged me too. Especially if you have a
project with a mix of files like .c, .m, .mm, .cxx. Enabling warnings
that apply to only one language will lead to message like:
cc1plus: warning: command line option "-Wbad-function-cast" is
valid for
C/ObjC but not for C++
The best you can do is set the warning per file, but that's a mess.
It should also be doable by moving the source files into sub-targets
that only compile, then a linking stage in another target, with
target dependencies to the compile-only targets.
Still a mess, but a different category of messitude.
-- GG
_______________________________________________
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