GCC compiling a dll with __stdcall

Posted by Chad on Stack Overflow See other posts from Stack Overflow or by Chad
Published on 2008-09-20T07:46:05Z Indexed on 2010/06/08 3:12 UTC
Read the original article Hit count: 230

Filed under:
|

When we compile a dll using __stdcall inside visual studio 2008 the compiled function names inside the dll are.

FunctionName

Though when we compile the same dll using GCC using wx-dev-cpp GCC appends the number of paramers the function has, so the name of the function using Dependency walker looks like.

FunctionName@numberOfParameters or == FunctionName@8

How do you tell GCC compiler to remove @nn from exported symbols in the dll?

© Stack Overflow or respective owner

Related posts about c++

Related posts about gcc