Simon Stelling wrote: > I didn't look at the code yet, but I guess it has some #ifndef > __OPTIMIZED__. __OPTIMIZED__ is set by gcc with -O2 and above. I guess > if you switch back to your -O3 CFLAGS it will compile. Worked with -O3.
You know, they say optimization can cause problems ... ;-) Anyway, just so I understand: the function is inline/static (don't know which of these causes the problem) which causes compareRanges to be exported, but not compiled position-independently. The linker, seeing that, fails. But with -O>1, it somehow doesn't actually export the function or something like that, and thus it works? Sebsatian Redl -- [email protected] mailing list
