[Bug c/36024] Incorrect function name in linking error

ashutosh dot nema at nechclst dot in gcc-bugzilla@gcc.gnu.org
Thu Apr 24 06:56:00 GMT 2008



------- Comment #3 from ashutosh dot nema at nechclst dot in  2008-04-24 06:55 -------
Hi Richard,
I agree because its a linking issue
but the suggestion preposed by you is not working 
"" -Wl,--no-demangle to avoid demangling symbols.""
when i use -Wl,--no-demangle with gcc it again raise the same message

I think its related with reserved identifiers used by gcc.
thats why gcc mangle its name.

Dont you think there should be some name backtracking feature should be added
in gcc to give correct name to the user after name mangling.


i am unaware this feature. If some feature is available in gcc then can you
please help me regarding this



(In reply to comment #1)
> Because the linker demangles symbols and __ct__3abcFv is the mangled form of
> abc::__ct(void).
> 
> Note this is a linker issue and if at all should be filed with the binutils
> bugzilla.  You can use -Wl,--no-demangle to avoid demangling symbols.
> 


-- 

ashutosh dot nema at nechclst dot in changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36024



More information about the Gcc-bugs mailing list