RAD Studio
ContentsIndex
PreviousUpNext
E2337: Only one of a set of overloaded functions can be "C"

C++ functions are by default overloaded, and the compiler assigns a new name to each function. 

If you wish to override the compiler's assigning a new name by declaring the function extern "C", you can do this for only one of a set of functions with the same name. 

(Otherwise the linker would find more than one global function with the same name.)

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!