Re: turning off error warning in XCode
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.