Weak symbols under AIX 5.1?

David Edelsohn dje@watson.ibm.com
Sun Apr 28 14:30:00 GMT 2002


	There was a long argument about this about a yaer ago and we
decided to leave it as is.  There are other language requirements and
consistent behavior arguments which, if anything, would force even less
desirable behavior on platforms without COMDAT support.

	The only way to fix this without COMDAT support is to implement
more complicated template instantiations and repositories, like VAC++
does.  There are no plans to add this functionality to G++ at the moment. 

	I would recommend that you do what you need to do to manually,
explicitly instantiate the templates on AIX.  Your implicit assumption of
a simple answer that the compiler can implement is wrong and you are going
to re-open an old, painful argument.

David



More information about the Gcc-bugs mailing list