[ Return to Bugs & Features | Post Text | Post File | Prev | Next ]
|Status:||5 - New|
|Priority:||4 - High, e.g. key functionality not working|
|Scope:||3 - Applies to all machines and operating systems|
|Summary:||Fl_Group::clear method should be virtual|
Trouble Report Files:
[ Post File ]
Trouble Report Comments:
[ Post Text ]
07:56 Jul 04, 2015
|When any derived class form Fl_Group are used through a cast to Fl_Group pointer and calling the Fl_Group::clear method we get: |
*** Error in `anyfltk-app': free(): invalid pointer: 0x0000000000bd9ce8 ***
The above error was caught when a Fl_Scroll was casted to Fl_Group and calling the clear method.
Probably there are other methods that are also override by derived classes of Fl_Group.
02:43 Jul 07, 2015
|Thanks for the report. |
Unfortunately we can't make any methods virtual w/o breaking the ABI.
There are many more methods, particularly of Fl_Group, that should be virtual. This will be addressed in the next minor release of FLTK (1.4.0).
13:47 Aug 04, 2015
|Moved from 1.3-feature to 1.4-feature. ||
16:18 Nov 09, 2016
|Changed priority from 1 (RFE) to 4 (High) since this must be included in FLTK 1.4.0, together with several other methods that should be virtual, although this is formally a RFE. ||
[ Return to Bugs & Features | Post Text | Post File ]