|
|
Thorsten Froehlich <tho### [at] trfde> wrote:
> As such, unless something is very wrong, a linker can easily auto-detect
> what it is dealing with. The C++ files will have mangled names according to
> the ABI specification, assuming they do actually declare any C++ 'stuff'.
If nothing else, the linker (well, gcc) could have a logic like
"hey, this is an undefined reference to something, but I know what it is,
it's a C++ function (or whatever); I'll try it again with C++ linking
options to see if it links".
--
- Warp
Post a reply to this message
|
|