------- 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

Reply via email to