20 Jan
2015
20 Jan
'15
10:17 a.m.
Hi James, On Tue, Jan 20, 2015 at 08:50:22PM +1300, James C wrote:
Hi All,
I think I've worked out what's going on with drag-and-drop.
We're compiling with -fno-rtti and (some parts of) fltk do dynamic_cast, which needs rtti. The run-time handling for detecting the conflict is nonexistent/unforgiving.
When I make the change below and rebuild, drag-and-drop starts working for me.
Cool that you found the reason!
From http://en.wikipedia.org/wiki/FLTK fltk is supposed to work without rtti, but things might have changed of course. It would be cool if you could bring up the topic on an fltk list to see if it's intended like this.
Cheers, Johannes