[Bug c++/23194] Unhelpful diagnostic for incorrect pointer-to-member function syntax

redi at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 2 08:45:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list