• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: macro warnings in Xcode 4.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: macro warnings in Xcode 4.6


  • Subject: Re: macro warnings in Xcode 4.6
  • From: Ken Thomases <email@hidden>
  • Date: Tue, 29 Jan 2013 23:03:40 -0600

On Jan 29, 2013, at 5:41 PM, James Walker wrote:

> 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?

Um, because you asked to be?  Surely -Weverything includes some warnings which are not about what your current compiler supports but about code portability in the general case.  In any case, the warning text should tell you which specific warning option controls it.  Show the complete warning text, verbatim.

Regards,
Ken


 _______________________________________________
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

References: 
 >macro warnings in Xcode 4.6 (From: James Walker <email@hidden>)

  • Prev by Date: Re: Framework MIA
  • Next by Date: Re: macro warnings in Xcode 4.6
  • Previous by thread: macro warnings in Xcode 4.6
  • Next by thread: Re: macro warnings in Xcode 4.6
  • Index(es):
    • Date
    • Thread