On 07/19/11 07:56, Albrecht Schlosser wrote:
> On 19.07.2011 15:29, Greg Ercolano wrote:
> 
>>      I just tried a test on linux + osx where I removed the file
>>      and ran a 'make clean; make'. The build stopped at that file
>>      on both platforms, so it *is* getting linked on normal builds.
> 
> That's not a valid test[1].

        Right, well sort of.

        Actually, my test was to see if it was referenced at all
        on build.

        The #ifdef's didn't matter to me, I just wanted to know
        if the code was completely unused (ie. not referenced
        by the builds).

        It is referenced, which means under 'some' circumstance
        it might be linked, and that concerned me.

        In the end, my real concern is whether the code
        is getting linked into any of my release binaries.
        Due to the #ifdef's it seems it's not (whew!),
        but I've only checked unix, haven't checked windows.

        The fact it's there at all means we should either
        remove or rewrite.

        Functionally the code simple and easily rewritten.
        I'd be happy to take a stab at it myself if no one
        else wants to.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to