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

[STR New]

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


See also #2205, #2202 for fltk-2

STR also applies to fltk-1.1.x

The glibc folk have, in glibc-2.10, changed the parameter types for quite
a lot of the standard functions in an attempt to make them more "correct".

This means that, in combination with gcc-4.4, on systems such as
Fedora-11, fltk will no longer compile due to errors from type mismatches.


Workarounds of this type:


#if (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 10)
        stop = strchr((char *)font, ',');
#else
        stop = strchr((const char *)font, ',');
#endif


might allow us to proceed?

So far, problems have been encountered in filename_list.cxx and in
fl_set_fonts_xft.cxx but I assume there may be other places too.

The thread in fltk.general has some relevant background:
http://www.fltk.org/newsgroups.php?gfltk.general+v:28761


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

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

Reply via email to