This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/20293] [3.4/4.0/4.1 regression] Wrong diagnostic for ambiguous access


------- Additional Comments From lerdsuwa at gcc dot gnu dot org  2005-03-11 16:27 -------
The diagnostic is missing due to calling lookup_name_real inside
cp_parser_lookup_name without the LOOKUP_COMPLAIN flag.  Too bad
we cannot just add this flag because this will cause duplicate
error messages.  cp_parser_lookup_name are called multiple times
during tentative parse.

-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]