Is there a way to evaluate an expression before stringification in c?
example:
#define stringify(x) #x ... const char * thestring = stringify( 10 *
You could write a script (perl?) to use as preprocessor which recognizes the strings to evaluate, evaluates them and then it calls the true cpp on the "evaluated" file.
Maybe it could work.