| [ Return to Bugs & Features | Roadmap 1.3 | SVN ⇄ GIT ]
STR #2779
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 3 - Moderate, e.g. unable to compile the software |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Core Library |
Summary: | use of protected member causes Error with clang |
Version: | 1.3.0 |
Created By: | gahr |
Assigned To: | manolo |
Fix Version: | 1.3-current (SVN: v9192) |
Update Notification: | |
Trouble Report Files:
Trouble Report Comments:
|
#1 | gahr 02:10 Nov 28, 2011 |
| Fl_x.cxx:1861 (from 1.3 release) goes
w->flags() & Fl_Widget::FORCE_POSITION
The enum is protected, which causes an error using clang:
Fl_x.cxx:1861:31: error: 'FORCE_POSITION' is a protected member of 'Fl_Widget' if (w->flags() & Fl_Widget::FORCE_POSITION) { ^ ../FL/Fl_Widget.H:168:9: note: declared protected here FORCE_POSITION = 1<<4, ///< don't let the window manager position the window (Fl_Window) ^
The attached patch fixes the problem. | |
|
#2 | manolo 06:43 Nov 29, 2011 |
| Fixed in Subversion repository.
Thanks for the patch | |
[ Return to Bugs & Features ]
|
| |