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


Concerning the "const" keywords: shouldn't it be possible to change the
code such that it is "const-correct" also for older versions of gcc and/or
the old/new prototypes? E.g.:

stop = (char *)strchr((const char *)font, ',');

In the old case, the (char *) cast would be useless, but in the new GLIBC
(_and_ gcc 4.4 ?) case, it ought to work as well - w/o checking for
__GLIBC__ (which wouldn't be supported on other platforms anyway, but they
might also get these new prototypes).

Comments anybody?


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