diff options
author | Mike Stump <mikestump@comcast.net> | 2011-10-25 20:07:19 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2011-10-25 20:07:19 +0000 |
commit | 0c094ab3014900a80fb79f37d4518c85e85f0060 (patch) | |
tree | f9de17bc85e781198b4aa4032f87e4855c55d1c5 /fixincludes/inclhack.def | |
parent | 601b6520e3dde76fd0048a999ded8e434ff09e53 (diff) | |
download | gcc-0c094ab3014900a80fb79f37d4518c85e85f0060.tar.gz |
re PR lto/48851 (lto-plugin.c:224:7: error: missing sentinel in function call [-Werror=format])
PR target/48851
* inclhack.def (void_null): New bypass.
* fixincl.x: Regenerate.
From-SVN: r180445
Diffstat (limited to 'fixincludes/inclhack.def')
-rw-r--r-- | fixincludes/inclhack.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def index afaabc0422d..7445d99f00b 100644 --- a/fixincludes/inclhack.def +++ b/fixincludes/inclhack.def @@ -4585,6 +4585,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"; |