This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/10291] error referencing a static local from a local struct in template code
- From: "sebor at roguewave dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Apr 2004 01:46:56 -0000
- Subject: [Bug c++/10291] error referencing a static local from a local struct in template code
- References: <20030402010601.10291.sebor@roguewave.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From sebor at roguewave dot com 2004-04-30 01:46 -------
(In reply to comment #5)
> I almost think this is related to DR 191
<http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/cwg_active.html#191>.
I don't see it. The original test case seems to be covered by bullet 4:
if X is a local class (9.8) or is a nested class of a local class,
before the definition of class X in a block enclosing the definition
of class X
What makes you think it's related?
Martin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10291