I have some numeric version macros, let's take for example __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__, which I want to convert into a string literal like "4.7.8."
Is there any way to make this happen at compile time, seeing as macros don't expand inside string literals?
EDIT: And as I want the string to be the value of the macro, not its name, I don't suppose the stringzing operator # would help.