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

[STR New]

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


Getting this error about Fl_Widget::FULLSCREEN (a 'protected' enum) being
inaccessible to src/Fl_win32.cxx which tries to reference it:

----
Fl.cxx
c:\fltk-1.3.x-svn\src\Fl_win32.cxx(1318) : error C2248: 'FULLSCREEN' :
cannot access protected enumerator declared in cl
ass 'Fl_Widget'
        ..\FL/Fl_Widget.H(173) : see declaration of 'FULLSCREEN'
        ..\FL/Fl_Widget.H(100) : see declaration of 'Fl_Widget'
c:\fltk-1.3.x-svn\src\Fl_win32.cxx(1629) : error C2248: 'FULLSCREEN' :
cannot access protected enumerator declared in cl
ass 'Fl_Widget'
        ..\FL/Fl_Widget.H(173) : see declaration of 'FULLSCREEN'
        ..\FL/Fl_Widget.H(100) : see declaration of 'Fl_Widget'
----
Build dies there.

I needed a quick workaround to get it to build: I made the enum 'public',
then the code builds OK.

Probably the correct solution is to use a 'friend' or some such..


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

_______________________________________________
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to