[Bug c++/68842] Better error output when template needed before dependent name

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68842 Andrew Pinski changed: What|Removed |Added CC||soko.slav at yandex dot ru --- Comment #

[Bug c++/68842] Better error output when template needed before dependent name

2015-12-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68842 --- Comment #3 from Jonathan Wakely --- --- a/gcc/cp/typeck.c +++ b/gcc/cp/typeck.c @@ -4907,8 +4907,13 @@ cp_build_binary_op (location_t location, if (!result_type) { if (complain & tf_error) - error ("invalid operands of ty

[Bug c++/68842] Better error output when template needed before dependent name

2015-12-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68842 --- Comment #2 from Jonathan Wakely --- And interestingly EDG compiles it without error!

[Bug c++/68842] Better error output when template needed before dependent name

2015-12-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68842 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIR