Is it possible for a C method not be able to be included in a C++ project? -


i know can include c methods inside c++ project using extern "c" thing. lets suppose i'm thinking in creating c++ project use quite lot of c methods coming both libraries made me libraries made other people/companies developing details , compilation specifications i'm not aware of.

is possible of methods of c libraries, unknown compilation , configuration details, not included in c++ project extern "c"? or c methods 100% compatible c++ code insofar extern "c" used?

it's possible of functions exported c use names collide c++ keywords. wouldn't able declare using extern "c".

functions exported assembler use names conflict c keywords.

those , functions declared static can still called via function pointer, long library gives way one.

headers might not parse-able in c++ mode same reasons -- things restrict keyword.

other naming issues, c++ has full support c calling convention. that's extern "c" about.


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -