[Bug c++/30378] cryptic expression in error message for ill-formed template code
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Wed Jun 5 23:07:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30378
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC|gcc-bugs at gcc dot gnu.org |
Resolution|--- |FIXED
Target Milestone|--- |4.8.0
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
This is fixed in 4.8.0:
30378.C: In instantiation of ‘void B<T>::operator=(const A<T>&) [with T =
int]’:
30378.C:15:7: required from here
30378.C:5:15: error: no match for ‘operator+=’ (operand types are ‘A<int>’ and
‘const A<int>’)
a [0] += x;
^
More information about the Gcc-bugs
mailing list