> Eduardo Suarez schrieb:
> > I'm trying to compile some software which links to another 
> library built over fltk-1.
> >
> > It seems to need some destructors defined, but fluid is not 
> generating them.
> >
> > Any hint?
> 
> Why should fluid generate destructors?


Well, I think the key here is that fluid *used* to generate the
destructor stubs, but seems not to now.

I have a sample fluid file (extracted form the yoshimi project, not of
my creating) created with fluid-1.1 that, when parsed with fluid-1.1
creates a C++ source file that incorporates stubs for the destructor.

The same fluid file parsed with fluid-1.3 is *almost* identical, but
does not contain the stub destructor.

In building the project, the link fails because the destructor is
missing from the sources...

I do not know if this is the same effect that Eduardo is seeing, but it
sounds very similar.

It appears that, in so far as creating the destructor stubs, fltk-1.1
and fltk-1.3 show different behaviour.
Whether the fltk-1.3 (i.e. current) behaviour is considered a regression
or not I can not say, but there is certainly code out "in the wild" that
will be broken by this change.

-- 
Ian





SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to