This content has been marked as final. Show 2 replies
Whilst you can reasonably freely mix compiled C code, you can't mix compiled C++ code that's compiled by different compilers.
So really you need to compile everything with the same compiler, or restrict yourself to only C for the 'other' compiler.
I didn't realise that I guess because most libraries I use are C. It would be nice for people writing libraries in C++ if there was a standard.
Thanks for your help,Colin