K
kj
Pardon the dumb question, but how does one link against two libraries
that both define functions foo (for example), having different
meanings and different prototypes?
My linker is complaining of having detected a redefinition of a
function. And, sure enough, looking at the appropriate header
files I see that both libraries define the same function, though
with different meanings and signatures. Since I've never seen this
sort of problem before, I suspect that I'm doing something wrong.
Any help would be much appreciated!
kj
that both define functions foo (for example), having different
meanings and different prototypes?
My linker is complaining of having detected a redefinition of a
function. And, sure enough, looking at the appropriate header
files I see that both libraries define the same function, though
with different meanings and signatures. Since I've never seen this
sort of problem before, I suspect that I'm doing something wrong.
Any help would be much appreciated!
kj