Date: Sun, 16 May 93 12:41:23 -0700 From: andy AT green DOT la DOT asu DOT edu (Andy Vaught) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Problem with the preprocessor Hello all-- I have a minor problem with the preprocessor. I have some code that looks like: #define stringize(x) # x #define QSIZE 50 printf("Message queue overflow! size = " stringize(QSIZE) ); which gets preprocessed to: printf("Message queue overflow! size = " "QSIZE" ); When what I am looking for is to get a "50" instead of "QSIZE". TCC does this properly. Any clues? Thanks, Andy --------------------------- What rolls down stairs, alone or in pairs, Andy Vaught and runs over your neighbor's dog? andy AT green DOT la DOT asu DOT edu What fits on your back Arizona State U. Tempe, AZ and is great for a snack?? Its Log! Log! Log!