Hi Aaron,

Am 13.01.2014 16:09, schrieb Aaron M. Ucko:
> You mentioned working with local builds of newer FLTK versions; did you
> by chance have a newer version's headers under /usr/local/include when
> you encountered these errors?  If so, that would lead to version skew
> with precisely those symptoms, since 1.3.1 moved constructors out of
> line for the sake of Windows DLL builds.  If you do in fact have a
> /usr/local/include/FL tree, please move it aside (or clear it out
> entirely) and try again.

You are absolutely right. Thank you for this marvelous diagnosis. I had
fltk1.3.2 compiled from upstream (with --enable-shared) and thought I've
removed all components before installing libfltk1.3-dev from the debian
repos but I had forgotten the headers in /usr/local/include...
My fault, shame on me.

> (For some reason, GCC defaults to searching /usr/local/include before
> /usr/include when looking for headers, but considers libraries in
> /usr/local/lib only by explicit request.

I wasn't aware of the fact, that GCC behaves different for headers and
libs. Thank you for pointing this out.

Again: Thank you for your help and sorry if I caused trouble. I owe you
some beers :-D

-- Andy


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to