This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23194] Unhelpful diagnostic for incorrect pointer-to-member function syntax
- From: "redi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Aug 2005 08:45:46 -0000
- Subject: [Bug c++/23194] Unhelpful diagnostic for incorrect pointer-to-member function syntax
- References: <20050802063814.23194.redi@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From redi at gcc dot gnu dot org 2005-08-02 08:45 -------
Ah, I didn't check further back than 3.3, thanks, Andrew.
For comparison, Comeau's online compiler doesn't give a very helpful message
either, it says that "a.*pmf" must be an expression - which is true but no more
likely to help inexpert users realise that they need parentheses.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23194