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 > Re: Query about...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 25086 of 28234
Post > Topic >>

Re: Query about " warning parameter names (without types) in function

by prix prad <maalage@[EMAIL PROTECTED] > Mar 24, 2008 at 09:02 PM

Hi Andrey,
          Thanks for the lucid explanation.
Hi Jack,

The following is the .c file:
********************************************************************
#define DECL _decl
#define ARR(name) arr ## name
#define EXPAND(array) int M_ ## array

main() {
EXPAND(ARR(DECL));
return 1;
}
********************************************************************

The following is the 'gcc -E' output:
********************************************************************
main() {
int M_ARR(_decl);
return 1;
}
********************************************************************

Thanks,
/prix
 




 4 Posts in Topic:
Query about " warning parameter names (without types) in functio
prix prad <maalage@[EM  2008-03-23 18:57:17 
Re: Query about " warning parameter names (without types) in fun
Jack Klein <jackklein@  2008-03-23 22:17:46 
Re: Query about " warning parameter names (without types) in fun
Andrey Tarasevich <and  2008-03-24 00:32:16 
Re: Query about " warning parameter names (without types) in fun
prix prad <maalage@[EM  2008-03-24 21:02:14 

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 Dec 3 15:12:33 CST 2008.