[Bug c++/13857] New: nested namespaces error msg
debian-gcc at lists dot debian dot org
gcc-bugzilla@gcc.gnu.org
Sun Jan 25 15:43:00 GMT 2004
[forwarded from http://bugs.debian.org/229088]
seen in 3.3.3 and 3.4 CVS
In this example the error message mentions the wrong namespace:
namespace outer { namespace inner { void foo(); } }
void outer::foo()
{
// error: `void outer::foo()' should have been declared inside `outer'
}
--
Summary: nested namespaces error msg
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: debian-gcc at lists dot debian dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13857
More information about the Gcc-bugs
mailing list