Andreas Beck writes: > > I'd rather use > > #define <libname>_VERSION (0x020002) > > i.e. something numeric that can be compared. > > #ifdef <libname>_VERSION_2_0_2 or <libname>_VERSION_2_0_3 or ... > > doesn't sound like a good idea.
Wouldn't it be better if an application could also get the library version at runtime, rather than only at compile time. Otherwise, the "run on any system without recompile" argument doesn't hold long. Eric.
