error undefined reference to function that declared in header and dynamically linked
-
So in the end
my hopeless formulated question
about use extern "c" , turned out to be the case ?
My very old compiler does like that. hence I asked :)wrote on 4 Jan 2017, 20:09 last edited by@mrjj said in error undefined reference to function that declared in header and dynamically linked:
So in the end
my hopeless formulated question
about use extern "c" , turned out to be the case ?
My very old compiler does like that. hence I asked :)Indeed it was. :) I was quick to shrug it off too thinking no that can't be it... But then you and @kshegunov proved me quite wrong there. ;)
-
@mrjj said in error undefined reference to function that declared in header and dynamically linked:
So in the end
my hopeless formulated question
about use extern "c" , turned out to be the case ?
My very old compiler does like that. hence I asked :)Indeed it was. :) I was quick to shrug it off too thinking no that can't be it... But then you and @kshegunov proved me quite wrong there. ;)
well, i would (also) have bet my money
on mixed libs/compiler or incorrect LIBS +=
and not extern "c" so that is very understandable.Also, very informative as i did not knew mingw would do that :)
Cheers
21/22