Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Name Mangling

mattsdad
Beginner
433 Views

How do I descipher the function names in the following message:

error LNK2019: unresolved external symbol "void __stdcall SEG_debris_initialization(char const *,int,int const *,double const *)" (?SEG_debris_initialization@@YGXPBDHPBHPBN@Z) referenced in function "void __cdecl SEG_debris_initialization(char const *,int,double const *)" (?SEG_debris_initialization@@YAXPBDHPBN@Z)

When this prints out, the names are aligned. So, I want to know what the

@@YGXPBDHPBHPBN@Zand

@@YAXPBDHPBH@Z

parts mean EXACTLY.

0 Kudos
1 Reply
Steven_L_Intel1
Employee
433 Views
This is C++ name mangling. There is a standard way of decoding this, but you'll have to look for it elsewhere, such as here.
0 Kudos
Reply