At 11:38 AM -0600 9/20/06, Eric Hughes wrote:
The offending defect in the compiler/run-time system manifests
itself in the definition of "operator==" for std::type_info, at
typeinfo:108 in my header (from Xcode 2.4). What's happening is
that the type names (defined as "char *", not "std::string") are
being compared by address, not by content. An explanatory comment
says the following:
// In new abi we can rely on type_info's NTBS being unique,
// and therefore address comparisons are sufficient.
At 3:13 PM -0700 9/7/06, on the Xcode-users list, I wrote:
Here we go again. :-(
Is anyone counting how many times this comes up?
Search the archives (and follow the links):
<http://lists.apple.com/archives/xcode-users/2005/Dec/msg00145.html>
<http://lists.apple.com/archives/xcode-users/2006/Jul/msg00279.html>
Followup: <http://lists.apple.com/archives/xcode-users/2006/Jul/msg00301.html>
and: <http://lists.apple.com/archives/xcode-users/2006/Jul/msg00386.html>
I agree with you; this is a bug.
Many other people have been bitten by it :-(
--
-- Marshall
Marshall Clow Idio Software <mailto:[EMAIL PROTECTED]>
It is by caffeine alone I set my mind in motion.
It is by the beans of Java that thoughts acquire speed,
the hands acquire shaking, the shaking becomes a warning.
It is by caffeine alone I set my mind in motion.