This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/4544: templates, friends, namespaces
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/4544: templates, friends, namespaces
- From: benko at sztaki dot hu
- Date: 11 Oct 2001 15:15:18 -0000
- Reply-To: benko at sztaki dot hu
>Number: 4544
>Category: c++
>Synopsis: templates, friends, namespaces
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Thu Oct 11 08:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Pal Benko
>Release: 3.0.1
>Organization:
>Environment:
SuSE 7.1, linux 2.4.6, i686
>Description:
arta:~/c/proba$ /gml/shared/gcc-3.0.1/bin/g++ -c -Wall bug2.cc
bug2.cc: In instantiation of `a::bar<char>':
bug2.cc:33: instantiated from here
bug2.cc:15: `foo' was not declared in this scope
zsh: exit 1 /gml/shared/gcc-3.0.1/bin/g++ -c -Wall bug2.cc
arta:~/c/proba$ /gml/shared/gcc-3.0.1/bin/g++ -c -Wall bug2.cc -DWORKAROUND
arta:~/c/proba$
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="bug2.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug2.cc"
bmFtZXNwYWNlIGEKewogIHRlbXBsYXRlIDx0eXBlbmFtZSB0PgogIHN0cnVjdCBiYXI7CiAgCiAg
dGVtcGxhdGUgPHR5cGVuYW1lIHQ+CiAgdm9pZAogIGZvbyhiYXI8dD4gY29uc3QgJik7CgogIHRl
bXBsYXRlIDx0eXBlbmFtZSB0PgogIHN0cnVjdCBiYXIKICB7CiAgICBmcmllbmQKICAgIHZvaWQK
ICAgIGZvbzw+KGJhcjx0PiBjb25zdCAmKTsKICB9Owp9CgpuYW1lc3BhY2UgYgp7CiAgc3RydWN0
IGJhegojaWZkZWYgV09SS0FST1VORAogIHsKICAgIGE6OmJhcjxjaGFyPiBjOwogIH0KI2VuZGlm
IC8qIFdPUktBUk9VTkQgKi8KOwp9CgojaWZuZGVmIFdPUktBUk9VTkQKc3RydWN0IGI6OmJhegp7
CiAgYTo6YmFyPGNoYXI+IGM7Cn07CiNlbmRpZiAvKiBXT1JLQVJPVU5EICovCg==