[Bug c++/9851] [3.4 regression] confusing error message when using '.', not '->'

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 6 07:14:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-06 07:14 -------
It is better now (I say but still is a bit confussing):
pr9851.cc: In constructor `foo::foo()':
pr9851.cc:7: error: `do_nothing' has not been declared
pr9851.cc:7: error: expected `::' before '(' token
pr9851.cc:7: error: expected `~' before '(' token
pr9851.cc:7: error: expected identifier before '(' token

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9851



More information about the Gcc-bugs mailing list