macro warnings in Xcode 4.6
macro warnings in Xcode 4.6
- Subject: macro warnings in Xcode 4.6
- From: James Walker <email@hidden>
- Date: Tue, 29 Jan 2013 15:41:58 -0800
I tried turning on -Weverything in Xcode 4.6, and here are a couple of
warnings I didn't understand.
First, whenever I use a variadic macro (e.g., #define FOO(...)), I get a
warning saying "variadic macros are a C99 feature". My C and C++
language dialects are set to "Compiler Default". According to Quick
Help, Compiler Default currently means GNU99, which implies C99. So why
am I being warned about it?
Second, every time I use "bool", there's a warning "disabled expansion
of recursive macro", with a reference to stdbool.h which says #define
bool bool if __GNUC__ is defined.
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________
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