Yes this known I forgot the bug number but try with -fabi-version=0.
Sent from my iPhone
On Feb 16, 2009, at 2:07 PM, "dgregor at gcc dot gnu dot org" > wrote:
Given the following code:
template struct X { };
int f(int, int) { }
void g(X) { }
GCC produces the mangled name:
_Z1g1XILZ1fi
Given the following code:
template struct X { };
int f(int, int) { }
void g(X) { }
GCC produces the mangled name:
_Z1g1XILZ1fiiEE
for the function 'g'. However, the correct mangled name is:
_Z1g1XIL_Z1fiiEE
GCC is missing the '_' prior to the 'Z' in the mangled name of the template