On 02.02.2011, at 18:04, Manolo Gouy wrote: > How is it possible to use the FL_VERSION pre-processor variable > defined in FL/Enumerations.H to make conditional compilation > taking into account that > #if FL_VERSION >= 1.03 > gives a compilation error ?
For conditional compilation, you can use FL_MAJOR_VERSION, FL_MINOR_VERSION, and FL_PATCH_VERSION. FL_VERSION was probably introduced for use as a variable? It should also be possible to define a larger integer from major/minor/patch instead of a floating point value. - Matthias _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

