[LLVMdev] Why are functions renamed for .cpp files with llvm-gcc?
A. Vuori
avuori at cs.Helsinki.FI
Wed Jun 17 02:55:09 PDT 2009
On Wed, 17 Jun 2009, Owen Anderson wrote:
> To elaborate a little bit, it's how C++ encodes namespaces, function
> overloading, etc. It's a standard thing, and necessary for cross-compiler
> compatibility. If you want your C++ functions to appear like C functions, you
> need to use extern "C" { }
Thanks to all for elaborating. So this was just a hole in my C++
knowledge.
--
Arto Vuori
More information about the llvm-dev
mailing list