This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/48851] lto-plugin.c:224:7: error: missing sentinel in function call [-Werror=format]


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

mrs@gcc.gnu.org <mrs at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrs at gcc dot gnu.org

--- Comment #22 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> 2011-07-12 18:03:23 UTC ---
Try:

Doing diffs in fixincludes:
--- fixincludes/inclhack.def.~1~    2011-06-15 18:47:49.000000000 -0700
+++ fixincludes/inclhack.def    2011-07-12 11:01:35.000000000 -0700
@@ -4417,6 +4417,7 @@ fix = {
     files     = sys/types.h;
     /* avoid changing C++ friendly NULL */
     bypass    = __cplusplus;
+    bypass    = __null;
     select    = "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
     c_fix     = format;
     c_fix_arg = "#define NULL 0";
--------------

and let me know if it works.  If so, I'd propose this.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]