Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C Moderated > Re: Stupid Macr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 1034 of 1126
Post > Topic >>

Re: Stupid Macro Tricks Query

by Keith Thompson <kst-u@[EMAIL PROTECTED] > Feb 17, 2008 at 12:03 PM

Minimiscience <minimiscience+usenet@[EMAIL PROTECTED]
> writes:
> Making a macro of this would only be possible if you called the
> macro with the exact same number of arguments each time, as
> variable-argument macros are not possible in standard C.
[...]

C99 does sup****t variable-argument macros.

<OT>gcc sup****ts them as an extension, but I think the implementation
is subtly incompatible with the C99 specification.</OT>

-- 
Keith Thompson (The_Other_Keith) <kst-u@[EMAIL PROTECTED]
>
Nokia
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"
-- 
comp.lang.c.moderated - moderation address: clcm@[EMAIL PROTECTED]
 -- you must
have an appropriate newsgroups line in your header for your mail to be
seen,
or the newsgroup name in square brackets in the subject line.  Sorry.
 




 4 Posts in Topic:
Stupid Macro Tricks Query
gamename <namesagame-u  2008-01-12 19:02:05 
Re: Stupid Macro Tricks Query
Keith Thompson <kst-u@  2008-01-14 12:49:14 
Re: Stupid Macro Tricks Query
Minimiscience <minimis  2008-01-14 12:50:25 
Re: Stupid Macro Tricks Query
Keith Thompson <kst-u@  2008-02-17 12:03:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 9 0:37:22 CDT 2008.