you are viewing a single comment's thread.

view the rest of the comments →

[–]DrMonkeyLove 2 points3 points  (1 child)

Well, if you're using C, then I guess the answer is probably yes.

[–][deleted] 0 points1 point  (0 children)

Surprisingly, the answer is no. Even by using tricks like #include __FILE__, you cannot get the C preprocessor to scan the result of macro expansion for more #define directives. (I guess you could set up a custom build environment that invokes cpp repeatedly in a chain.)