[fpc-devel] Linking to C++

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Jan 22 21:53:17 CET 2007

On 22 Jan 2007, at 21:45, Felipe Monteiro de Carvalho wrote:

> function User.Sum(Self: Pointer; a, b: cint): cint; cdecl; external
> 'cpplib.dll'; cpp_method_name_mandling;

No, just with "cppdecl" instead of "cdecl". Afaik we even already  
have that keyword in the compiler. It just doesn't do any C++ name  
mangling currently.


More information about the fpc-devel mailing list