Stephan Bergmann wrote:
Martin Whitaker wrote:
Hi,
I've been working on an enhancement to OOo, during the course of which I
have added a new private field to the OutputDevice class. After doing
this,
when I tried to build the vcl module, the build failed when linking the
library libvcl680li.so with a multitude of errors of the form:
../unxlngi6.pro/slo/field.o:(.data.rel.ro._ZTV11CurrencyBox[vtable for
CurrencyBox]+0x198): undefined reference to `non-virtual thunk to
Edit::dragGestureRecognized(com::sun::star::datatransfer::dnd::DragGestureEvent
const&)'
If I do a clean build, the errors go away. Unfortunately the same sort of
errors appear when rebuilding modules that depend on vcl (so I ended up
having to do a full clean build).
This looks like either a missed dependancy in the build system or a
compiler
bug. Has anyone else encountered this problem, and found a better
solution
than a full rebuild?
I'm using gcc 4.1.1 under Linux.
Martin
Martin,
did you do the original build of vcl with the same compiler? If not, it
might be that different compiler versions have different rules for who
("user" or "producer" object) should make available the thunks. Just a
guess.
Yes, exactly the same compiler. And the behaviour is repeatable with my
clean build - add a dummy field to the class and the build fails as
described, delete the dummy field and the next build succeeds.
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]