[Bug c++/52597] [C++11] confusing diagnostics for invalid use of non-static member function in decltype
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52597 --- Comment #7 from Jonathan Wakely --- Fixed by r197131 re PR c++/52597 ([C++11] confusing diagnostics for invalid use of non-static member function in decltype) PR c++/52597 * typeck.c (invalid_nonstatic_memfn_p): Use get_first_fn. Take tree. * semantics.c (finish_decltype_type): Check it before type_unknown_p. * cp-tree.h: Adjust prototype.
[Bug c++/52597] [C++11] confusing diagnostics for invalid use of non-static member function in decltype
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52597 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #6 from Paolo Carlini 2013-03-27 10:06:30 UTC --- Fixed for 4.9.
[Bug c++/52597] [C++11] confusing diagnostics for invalid use of non-static member function in decltype
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52597 Jonathan Wakely changed: What|Removed |Added Keywords|accepts-invalid,|diagnostic |rejects-valid, wrong-code | Status|UNCONFIRMED |NEW Last reconfirmed||2012-08-24 Version|4.6.0 |4.7.1 Summary|[C++11] missing diagnostics |[C++11] confusing |for invalid use of |diagnostics for invalid use |non-static member function |of non-static member |in decltype |function in decltype Ever Confirmed|0 |1 Known to fail|4.3.2, 4.4.0, 4.5.0, 4.6.0 | --- Comment #5 from Jonathan Wakely 2012-08-24 14:06:45 UTC --- OK, let's change it from an accepts-invalid with 4.6 to a diagnostic issue with 4.7