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

[STR New]

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


FL/x.H has a #ifdef WIN32 at line 49 that seems to be mis-terminated at
line 194.  I think the "#  endif" there should follow line 64.

As it is, the FLTK build works regardless.  Building some projects using
FLTK works for targets other than WIN32 and __APPLE__.  The error would
not be noticed on Linux, for example.

The error prevents the code from lines 65-183 from being compiled on
Windows and Mac OS.  One symptom when building pyFltk is that class Fl_H
and fl_xid() are not declared.

I noticed the error when trying to build pyFltk 1.3.0 on Mac OS X 10.5.8. 
The first of many errors was:

./python/fltk_wrap.cpp: In function ‘int fl_xid(Fl_Window*)’:
./python/fltk_wrap.cpp:5756: error: incomplete type ‘Fl_X’ used in
nested name specifier

Here, I think the pyFltk developers had tried to work around this problem
by adding their own definition of fl_xid(), but it failed because class
Fl_X was not declared.


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

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

Reply via email to