This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
cpp question
- From: "Mack Lobell" <macklobell at hotmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 01 Jun 2003 16:49:25 +0000
- Subject: cpp question
- Bcc:
Hi,
is there a way to define macros inside macros?
I'll give an example of what i want to do:
#define MY_MACRO(_something_) \
#define _something_ ## _FUNNY struct _something_ { int x;}
Maybe there is a smarter/better way of doing this??
Regards.
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail