http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51897
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-22 22:22:22 UTC --- >Yes, this can also be done with macros, but it's a cleaner preprocessor-free choice. Not really. The preprocessor is there for a reason and it is simple as: namespace NN = NNVERSION; -DNNVERSION=NN1