#define xxx #define yyy 123
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com How do you get a define to be allowed within a define.... #define xxx #define yyy 123 More specifically, what I'm trying to do is this: #define begin_enumerations #pragma options enum=4 But the compiler gives me the following error: error: '#' is not followed by a macro parameter error: syntax error at '#' token Is there some way to force the preprocessor to make a second pass? - chuck _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... It's interesting though.. I get the following error on the line where I use begin_enumerations: ... as if the #pragma options enum=4 actually made it down there to that line. This email sent to site_archiver@lists.apple.com
participants (1)
-
charlie