public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/3560: Problem with template enum
@ 2001-10-30 6:08 lerdsuwa
0 siblings, 0 replies; 4+ messages in thread
From: lerdsuwa @ 2001-10-30 6:08 UTC (permalink / raw)
To: Xavier.Decoret, gcc-bugs, gcc-prs, nobody
Synopsis: Problem with template enum
State-Changed-From-To: analyzed->closed
State-Changed-By: lerdsuwa
State-Changed-When: Tue Oct 30 06:08:18 2001
State-Changed-Why:
Fixed in the main trunk.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=3560&database=gcc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/3560: Problem with template enum
@ 2002-04-19 8:06 Richard Hunt
0 siblings, 0 replies; 4+ messages in thread
From: Richard Hunt @ 2002-04-19 8:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/3560; it has been noted by GNATS.
From: "Richard Hunt" <rdhunt@sandia.gov>
To: gcc-gnats@gcc.gnu.org,
gcc-prs@gcc.gnu.org,
gcc-bugs@gcc.gnu.org,
nobody@gcc.gnu.org,
Xavier.Decoret@imag.fr
Cc: rdhunt@sandia.gov
Subject: Re: c++/3560: Problem with template enum
Date: Fri, 19 Apr 2002 08:58:02 -0600
--------------AB97B929543D9BAD0B9E0BB3
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: 7bit
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3560
I am using GCC 3.0.3 on a Sparc/Solaris 8 box and I get the exact error
described in this problem report (3560). It looks like it was fixed
back in October but can you tell me if it was fixed for the
Sparc/Solaris platform as well and in which version. The report says it
was fixed in 3.0 so I would have expected to be fixed in 3.0.3. It
works fine under 2.96 on RH Linux.
Thanks,
Rich
--
________________________________________
| |
| Richard D. Hunt |
| Sandia National Laboratories |
_| P.O. Box 5800 M/S 0965 |_
/ | Albuquerque, NM 87185-0965 | \
/ /| Voice: (505)844-3193 |\ \
_( (_| Fax: (505)844-5993 |_) )_
(((\ \| /-) mailto:rdhunt@sandia.gov (-\ |/ /)))
(\\\\ \_/ /________________________________\ \_/ ////)
\ / \ /
\ _/ \_ /
/ / \ \
/ / \ \
--------------AB97B929543D9BAD0B9E0BB3
Content-Type: text/html;
charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<tt></tt>
<br><tt><A HREF="http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3560">http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3560</A></tt><tt></tt>
<p><tt>I am using GCC 3.0.3 on a Sparc/Solaris 8 box and I get the exact
error described in this problem report (3560). It looks like it was
fixed back in October but can you tell me if it was fixed for the Sparc/Solaris
platform as well and in which version. The report says it was fixed
in 3.0 so I would have expected to be fixed in 3.0.3. It works fine
under 2.96 on RH Linux.</tt><tt></tt>
<p><tt>Thanks,</tt><tt></tt>
<p><tt>Rich</tt>
<br><tt></tt>
<br><tt></tt> <tt></tt>
<p><tt>--</tt>
<br><tt>
________________________________________</tt>
<br><tt>
|
|</tt>
<br><tt>
| Richard D. Hunt
|</tt>
<br><tt>
| Sandia National Laboratories
|</tt>
<br><tt>
_| P.O. Box 5800 M/S 0965
|_</tt>
<br><tt> /
| Albuquerque, NM 87185-0965
| \</tt>
<br><tt> / /|
Voice: (505)844-3193
|\ \</tt>
<br><tt> _( (_|
Fax: (505)844-5993
|_) )_</tt>
<br><tt> (((\ \| /-)
<A HREF="mailto:rdhunt@sandia.gov">mailto:rdhunt@sandia.gov</A> (-\ |/ /)))</tt>
<br><tt> (\\\\ \_/ /________________________________\
\_/ ////)</tt>
<br><tt> \
/
\ /</tt>
<br><tt> \
_/
\_ /</tt>
<br><tt> /
/
\ \</tt>
<br><tt> / /
\ \</tt>
<br><tt></tt> </html>
--------------AB97B929543D9BAD0B9E0BB3--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/3560: Problem with template enum
@ 2001-07-07 6:01 lerdsuwa
0 siblings, 0 replies; 4+ messages in thread
From: lerdsuwa @ 2001-07-07 6:01 UTC (permalink / raw)
To: Xavier.Decoret, gcc-bugs, gcc-prs, nobody
Synopsis: Problem with template enum
State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Sat Jul 7 06:01:49 2001
State-Changed-Why:
Confirm as a bug.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3560&database=gcc
^ permalink raw reply [flat|nested] 4+ messages in thread
* c++/3560: Problem with template enum
@ 2001-07-04 8:46 Xavier.Decoret
0 siblings, 0 replies; 4+ messages in thread
From: Xavier.Decoret @ 2001-07-04 8:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 3560
>Category: c++
>Synopsis: Problem with template enum
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Wed Jul 04 08:46:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Xavier Decoret
>Release: gcc version 3.0
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
when compiled, the attached file gives:
main.C:7: invalid use of undefined type `enum Foo<T>::Exceptions'
main.C:6: forward declaration of `enum Foo<T>::Exceptions'
If you remove the template argument (which is actually unused)
then it compiles.
>How-To-Repeat:
template <class T>
class Foo
{
public:
enum Exceptions { A,B,C };
void foo() throw(Exceptions)
{
}
};
int main()
{
return 0;
}
>Fix:
dunnot know :-)
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="main.C"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="main.C"
CnRlbXBsYXRlIDxjbGFzcyBUPgpjbGFzcyBGb28KewpwdWJsaWM6CiAgZW51bSBFeGNlcHRpb25z
IHsgQSxCLEMgfTsKICB2b2lkIGZvbygpIHRocm93KEV4Y2VwdGlvbnMpCiAgICB7CiAgICB9Cn07
CgppbnQgbWFpbigpCnsKICByZXR1cm4gMDsKfQo=
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-04-19 15:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-30 6:08 c++/3560: Problem with template enum lerdsuwa
-- strict thread matches above, loose matches on Subject: below --
2002-04-19 8:06 Richard Hunt
2001-07-07 6:01 lerdsuwa
2001-07-04 8:46 Xavier.Decoret
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).