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

[STR Pending]

Link: http://www.fltk.org/str.php?L2317
Version: 1.3-current
Fix Version: 1.3-current (r7452)


config.h defines don't match those from autconf/configure. This is a minor
problem, but should be fixed, because it could make problems depending on
the usage of the defined macros. Most of the wrong defines are of type
HAVE_*, where the configure-generated defines are 1 (if found), whereas
the CMake defines are (mostly) file paths or other values. Here is an
excerpt of a diff file (I used the configure file as old "<" and the CMake
file as new ">" file):

Part 1: file paths:

< #define HAVE_DIRENT_H 1
> #define HAVE_DIRENT_H /usr/include/dirent.h
< /* #undef HAVE_SYS_DIR_H */
> #define HAVE_SYS_DIR_H /usr/include/sys/dir.h
< #define HAVE_STRINGS_H 1
> #define HAVE_STRINGS_H /usr/include/strings.h
< #define HAVE_LOCALE_H 1
> #define HAVE_LOCALE_H /usr/include/locale.h
< #define HAVE_ALSA_ASOUNDLIB_H 1
> #define HAVE_ALSA_ASOUNDLIB_H /usr/include/alsa/asoundlib.h
< #define HAVE_DLFCN_H 1
> #define HAVE_DLFCN_H /usr/include/dlfcn.h

HAVE_SYS_DIR_H is a special case: I think that it is not defined in the
autoconf/configure case, because it's not checked at all, after dirent.h
has beed found (although it exists). I don't know if this matters.

Other different values:

< #define HAVE_GLXGETPROCADDRESSARB 1
> #define HAVE_GLXGETPROCADDRESSARB
< #define HAVE_LONG_LONG 1
> #define HAVE_LONG_LONG 8

Special case: USE_QUARTZ has been deprecated recently, and it should be
defined as 1 on all OS X builds (currently 0 otherwise).


Link: http://www.fltk.org/str.php?L2317
Version: 1.3-current
Fix Version: 1.3-current (r7452)

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

Reply via email to