• 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: turning off error warning in XCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: turning off error warning in XCode


  • Subject: Re: turning off error warning in XCode
  • From: Andrew Pinski <email@hidden>
  • Date: Thu, 29 Apr 2004 00:07:12 -0400

On Mar 22, 2004, at 03:55, Robert Cerny wrote:

Hi folks,
I collaborate on a project with my colleague who develops on Windows
and need to turn off an error check, which occurs in XCode. The error
says:
Tags.cpp:25: macro "TAG" requires 3 arguments, but only 2 given

Could anyone help?


This is most likely a bug in a GCC which is fixed in a later of
GCC (3.4.0 and above).
You could try an older version of GCC like the 3.1 based one.

The code looks like (right?):

#ifdef TT
#define TAG(a,b) (a)+(b)
#else
#define TAG(a,b,c) (a)+(b)+(c)
#endif

#ifdef
int t = TAG(1,0);
#else
int t = TAG(1,0,2);
#endif


Thanks, Andrew Pinski _______________________________________________ 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.


  • Prev by Date: library dependancies
  • Next by Date: OT: Anyone out there trying to get Xcode to cross-compile for Linux?
  • Previous by thread: library dependancies
  • Next by thread: OT: Anyone out there trying to get Xcode to cross-compile for Linux?
  • Index(es):
    • Date
    • Thread