Mail Archives: djgpp/1993/05/16/16:00:41
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!
- Raw text -