This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/11357] no conversion of build-in binary operator argument attempted


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From gdr at integrable-solutions dot net  2003-09-10 01:17 -------
Subject: Re:  no conversion of build-in binary operator argument attempted

"bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| No, on the contrary: where the error message was 
|   x.cc: In function `int main()': 
|   x.cc:12: error: no match for `float * A&' operator 
| it is now 
|   x.cc: In function `int main()': 
|   x.cc:12: error: no match for 'operator*' in '1.0e+0 * a' 
| That's more confusing, since we drop the information that 1.0e+0 is
| actually a float, now a double as one could think from just seeing
| the message.  

What is confusing in the display of the literal.  Can you assign this
to me?  Thanks.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]