Suppressing "-fno-use-cxa-atexit" warnings for C files
Suppressing "-fno-use-cxa-atexit" warnings for C files
- Subject: Suppressing "-fno-use-cxa-atexit" warnings for C files
- From: "Andy O'Meara" <email@hidden>
- Date: Mon, 14 Aug 2006 00:54:50 -0400
- Thread-topic: Suppressing "-fno-use-cxa-atexit" warnings for C files
In my Xcode 2.4 (4.0.1) project I need to have -fno-use-cxa-atexit set for
various .cpp files I have. Separately in my project are some .c files that
compile fine, but gcc emits a warning for each one:
warning: command line option "-fno-use-cxa-atexit" is valid for
C++/ObjC++ but not for C
The warning is understandable, but now I have the problem that I want to
suppress *just* those warnings (we have a zero-warning policy). I can't
compile my .c file with C++ b/c they have some old-school C semantics in
them, so I seem to be out of options. Any ideas? (Sorry in advance if I'm
missing something obvious).
Thanks,
Andy
_______________________________________________
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