[Bug c++/41970] use of a type with no linkage to declare a variable with linkage

2010-05-03 Thread jason at gcc dot gnu dot org
--- Comment #21 from jason at gcc dot gnu dot org 2010-05-04 04:56 --- Fixed for 4.6. -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/41970] use of a type with no linkage to declare a variable with linkage

2010-04-07 Thread jason at gcc dot gnu dot org
--- Comment #20 from jason at gcc dot gnu dot org 2010-04-07 15:54 --- Subject: Bug 41970 Author: jason Date: Wed Apr 7 15:54:17 2010 New Revision: 158071 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158071 Log: PR c++/41970 * decl.c (grokvardecl): Tweak

[Bug c++/41970] use of a type with no linkage to declare a variable with linkage

2010-02-19 Thread jason at gcc dot gnu dot org
--- Comment #19 from jason at gcc dot gnu dot org 2010-02-19 21:39 --- Created an attachment (id=19925) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19925action=view) patch for 4.6 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41970

[Bug c++/41970] use of a type with no linkage to declare a variable with linkage

2010-01-20 Thread jason at gcc dot gnu dot org
--- Comment #17 from jason at gcc dot gnu dot org 2010-01-20 23:32 --- We accept this testcase with a warning because it is both common and harmless. In 4.5, this testcase will be accepted with no warning in -std=c++0x mode, as we now implement DR 757. -- jason at gcc dot gnu dot

[Bug c++/41970] use of a type with no linkage to declare a variable with linkage

2010-01-20 Thread jason at gcc dot gnu dot org
--- Comment #18 from jason at gcc dot gnu dot org 2010-01-20 23:36 --- So, removing the accepts-invalid keyword. I'll fix the diagnostic in 4.6. -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/41970] use of a type with no linkage to declare a variable with linkage

2010-01-12 Thread manu at gcc dot gnu dot org
--- Comment #16 from manu at gcc dot gnu dot org 2010-01-12 10:16 --- (In reply to comment #15) Should I submit a second report so there is one for accepts invalid and a different one for diagnostic quality? No need, thanks. Both can be solved at the same time. -- manu at gcc

[Bug c++/41970] use of a type with no linkage to declare a variable with linkage

2010-01-11 Thread manu at gcc dot gnu dot org
--- Comment #12 from manu at gcc dot gnu dot org 2010-01-11 18:54 --- Comeau rejects it. Is this accepts-invalid, then? -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/41970] use of a type with no linkage to declare a variable with linkage

2010-01-11 Thread redi at gcc dot gnu dot org
--- Comment #13 from redi at gcc dot gnu dot org 2010-01-12 01:00 --- (In reply to comment #12) Comeau rejects it. Is this accepts-invalid, then? I think so, as I suggested in comment 3 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41970

[Bug c++/41970] use of a type with no linkage to declare a variable with linkage

2010-01-11 Thread redi at gcc dot gnu dot org
--- Comment #14 from redi at gcc dot gnu dot org 2010-01-12 01:08 --- (In reply to comment #9) requires six posts from experts to explain. I'm not sure where you got that number, after my second comment I was correcting my own typos or your misunderstanding of unnamed namespaces :)

[Bug c++/41970] use of a type with no linkage to declare a variable with linkage

2010-01-11 Thread igodard at pacbell dot net
--- Comment #15 from igodard at pacbell dot net 2010-01-12 01:12 --- Should I submit a second report so there is one for accepts invalid and a different one for diagnostic quality? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41970