DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2513
Version: 1.3-current


Poked at this a little. Seems to have to do with these:

   1) MAC_OS_X_VERSION_MAX_ALLOWED
      ..on my system this is set to 1040

   2) MAC_OS_X_VERSION_10_5
      ..on my system, this is unset

So it seems instances of this macro:
    #  if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5

..are resolving to 'true' because the rhs is unset.

I find I can get it to build if I define MAC_OS_X_VERSION_10_5
to a larger number, like 1050.

Perhaps we should set this value if it's unset, eg.

#ifndef MAC_OS_X_VERSION_10_5
#define MAC_OS_X_VERSION_10_5 1050
#endif

Or maybe our tests should look like this instead:

#  if MAC_OS_X_VERSION_MAX_ALLOWED >= 1050


Link: http://www.fltk.org/str.php?L2513
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to