This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/53924] unhelpful diagnostic in invalid declaration list
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 13 Jul 2012 10:29:26 +0000
- Subject: [Bug c/53924] unhelpful diagnostic in invalid declaration list
- Auto-submitted: auto-generated
- References: <bug-53924-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53924
Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
--- Comment #2 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2012-07-13 10:29:26 UTC ---
Clang:
/tmp/webcompile/_2902_0.c:2:13: error: redefinition of 'tree' as different kind
of symbol
tree klass, tree cdecl, class_array_type;
^
/tmp/webcompile/_2902_0.c:1:15: note: previous definition is here
typedef void *tree;
^
/tmp/webcompile/_2902_0.c:2:17: error: expected ';' after top level declarator
tree klass, tree cdecl, class_array_type;
^
;
2 errors generated.