This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Broken Tree
- From: Sebastian Redl <sebastian dot redl at getdesigned dot at>
- To: gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Wed, 13 Aug 2008 14:05:47 +0200
- Subject: Broken Tree
Hi,
Checkin r139050 broke the build. In the file gcc/toplev.h, the new
declaration pedwarn_at is incomplete, leading to syntax errors.
Sebastian
Index: gcc/toplev.h
===================================================================
--- gcc/toplev.h (revision 139053)
+++ gcc/toplev.h (working copy)
@@ -65,7 +65,8 @@
ATTRIBUTE_NORETURN;
/* Pass one of the OPT_W* from options.h as the first parameter. */
extern bool pedwarn (int, const char *, ...) ATTRIBUTE_GCC_DIAG(2,3);
-extern bool pedwarn_at (location_t, int, const char *, ...)
+extern bool pedwarn_at (location_t, int, const char *, ...)
+ ATTRIBUTE_GCC_DIAG(3,4);
extern bool permerror (const char *, ...) ATTRIBUTE_GCC_DIAG(1,2);
extern bool permerror_at (location_t, const char *, ...)
ATTRIBUTE_GCC_DIAG(2,3);