[Bug c++/41970] Unjustified anonymous type warning

2010-01-11 Thread manu at gcc dot gnu dot org


--- Comment #10 from manu at gcc dot gnu dot org  2010-01-11 18:46 ---
(From update of attachment 19531)
This file has nothing to do with this bug.


-- 

manu at gcc dot gnu dot org changed:

   What|Removed |Added

  Attachment #19531|0   |1
is obsolete||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41970



[Bug c++/41970] Unjustified anonymous type warning

2010-01-11 Thread manu at gcc dot gnu dot org


--- Comment #11 from manu at gcc dot gnu dot org  2010-01-11 18:52 ---
(In reply to comment #9)
 Please recategorize this report as diagnostic quality, confirm, and assign
 it.

Bugs are not assigned, they are taken. But confirmed it is. Patches welcome.


-- 

manu at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||manu at gcc dot gnu dot org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Keywords||diagnostic
   Last reconfirmed|-00-00 00:00:00 |2010-01-11 18:52:09
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41970



[Bug c++/41970] Unjustified anonymous type warning

2010-01-10 Thread matt at use dot net


--- Comment #8 from matt at use dot net  2010-01-10 22:04 ---
Created an attachment (id=19531)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19531action=view)
pre-processed output of the file that emitted the false positive using the
commandline mentioned in my comment


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41970



[Bug c++/41970] Unjustified anonymous type warning

2010-01-10 Thread igodard at pacbell dot net


--- Comment #9 from igodard at pacbell dot net  2010-01-10 22:23 ---
Comeau gives this diagnostic:
ComeauTest.c, line 1: error: use of a type with no linkage to declare a
variable
  with linkage
  enum {a, b, c} A = a;
 ^
This message give the true nature of the problem, whereas the gcc message:
  foo.cc:1: warning: non-local variable ‘anonymous enum A’ uses anonymous
type
requires six posts from experts to explain.

Please recategorize this report as diagnostic quality, confirm, and assign
it.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41970