This is the mail archive of the gcc-prs@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]

c++/6374: Problem 3560 "Problem with template enum" doesn't seem to be fixed in 3.0.3



>Number:         6374
>Category:       c++
>Synopsis:       Problem 3560 "Problem with template enum" doesn't seem to be fixed in 3.0.3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 19 08:16:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Richard Hunt
>Release:        3.0.3
>Organization:
>Environment:
SunOS 5.8 sunru sparc SUNW,Sun-Blade-1000
>Description:

I am experiencing the exact problem stated in problem  
report 3560 which looks like it should have been fixed in
Oct. 2001.  It was reported in GCC 3.0 so I would think
it should have been fixed in 3.0.3.  Either way it is still
a problem.
>How-To-Repeat:

g++ main.C -o main

main.C:7: invalid use of undefined type `enum Foo<T>::Exceptions'
main.C:6: forward declaration of `enum Foo<T>::Exceptions'
>Fix:

None, but this problem doesn't exist in 2.91 or 2.96
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/x-unknown-content-type-cfile; name="main.C"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="main.C"

CnRlbXBsYXRlIDxjbGFzcyBUPgpjbGFzcyBGb28KewpwdWJsaWM6CiAgZW51bSBFeGNlcHRpb25z
IHsgQSxCLEMgfTsKICB2b2lkIGZvbygpIHRocm93KEV4Y2VwdGlvbnMpCiAgICB7CiAgICB9Cn07
CgppbnQgbWFpbigpCnsKICByZXR1cm4gMDsKfQo=


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