>> I found that
>>
Fl_Window window(340,180);
>> int ret = Fl::run();
>> delete window;
>>
>> causing program to crash.
>
> That actually *IS* a known bug in MSWindows
I think, it is more basic and regarding to local variables:
void Crash()
{
int A;
delete &A;
}
This will always crash when leaving Crash(), because A will be released
twice. The only difference to example above is local scope inside of a
function and not inside of main function.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev