[Bug c++/13549] [3.4 Regression] Regression compiling Boost.Python test
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jan 3 01:49:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-03 01:49 -------
I let someone else really decide but with my reading of 3.4.1 which 14.6.4.2 says apply,
the code is invalid.
Most likely:
In all the cases listed in 3.4.1, the scopes are searched for a declaration in the order
listed in each of the respective categories; name lookup ends as soon as a declaration is
found for the name. If no declaration is found, the program is ill-formed.
The scopes are before the template but then again ICC 6.0 accpets this.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13549
More information about the Gcc-bugs
mailing list