In message <email@hidden>, "charlie" writes:
>How do you get a define to be allowed within a define....
You don't.
>#define xxx #define yyy 123
Can't be done, at all.
>More specifically, what I'm trying to do is this:
>#define begin_enumerations #pragma options enum=4
This can be done. However, you can't do it like this.
You are lookping for _Pragma(options enum=4), which is new in C99 specifically
because what you want was impossible in C89.
>Is there some way to force the preprocessor to make a second pass?
Not like this, no.
-s
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden
This email sent to email@hidden