Re: "Statement with no effect" warning
Re: "Statement with no effect" warning
- Subject: Re: "Statement with no effect" warning
- From: "Jens Ayton" <email@hidden>
- Date: Wed, 27 Jun 2007 11:01:27 +0200
Thomas Engelmeier:
Michael Stauffer:
Glenn Andreas:
to define a pre processor macro that has a variable number of
parameters (which, in this case, is again swallowed and ignored) -
see <http://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html>
Thanks Glenn, this is what I've been needing! I wish I'd thought to
look for a var arg list Macro years ago. :)
Keep in mind it is non-standard.
Actually, the __VA_ARGS__ variant, without the ## extension, is standard C99.
--
Jens Ayton
Sed quis custodiet ipsos custodes?
_______________________________________________
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