dealing with warnings switches in mixed .c/.m/.cp projects
dealing with warnings switches in mixed .c/.m/.cp projects
- Subject: dealing with warnings switches in mixed .c/.m/.cp projects
- From: Jim Correia <email@hidden>
- Date: Wed, 5 Nov 2003 00:00:49 -0500
I have a single target in a project which includes .c, .m, and .cp
files. (The .c one is auto-generated by the versioning system so that
isn't even in my control - it is under Xcode's.)
I also have turned on warnings are errors.
If, for example, I turn on the "Hidden virtual functions" warning, when
the compiler hits a .c file or tries to precompile my prefix, it emits
the following error:
cc1: warning: "-Woverloaded-virtual" is valid for C++ but not for C/ObjC
Is there a solution to this problem (other than turning off the
warning)?
Or should Xcode just be smarter about this (in which case I'll write up
a Radar bug.)
Thanks,
Jim
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.