[Bug target/37121] g++ create global symbol for inline function, which make link failed with multiple definitions
drangon dot mail at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Apr 21 05:35:00 GMT 2009
------- Comment #14 from drangon dot mail at gmail dot com 2009-04-21 05:35 -------
how to fix this multiple definition issue ?
adjust the linker to allow this ?
or remove the ordinary C library function in
lib64_libmingwex_a-wininterlocked.o and just keep the inline function ?
or remove the inline function, replace by a function declaration which use the
implementation from lib64_libmingwex_a-wininterlocked.o ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37121
More information about the Gcc-bugs
mailing list