[Bug c++/14318] sizeof() does too much

s_gccbugzilla at nedprod dot com gcc-bugzilla@gcc.gnu.org
Fri Feb 27 23:07:00 GMT 2004


------- Additional Comments From s_gccbugzilla at nedprod dot com  2004-02-27 23:07 -------
(In reply to comment #3)

> I don't follow you. When you're trying to assign a Foo to a "long int" there 
> are three different valid conversion sequences. You can either go through 
"long 
> long int", through "double" or through "char". What's your expectation? There 
> is no perfect match, and all the three types are then implicitally convertable 
> to "long int" which is the final type.

Ok, I can't afford to spend any more time on this so it'll be quicker to 
reimplement the functionality. Thanks for all the quick bug fixes!

Cheers,
Niall


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


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



More information about the Gcc-bugs mailing list