I'm not sure this is a good idea, won't it hide printf(foo) instead of
printf("%s", foo)? Those are a big problem with user-supplied strings and are
worth a few warnings.
-------- Original message --------
From: Thomas Adam <thomasa...@users.sourceforge.net>
Date:15/02/2015 20:08 (GMT+00:00)
To: tmux-cvs@lists.sourceforge.net
Subject: [SCM] tmux branch master updated. 1.9a-271-gc2bbaab
The branch, master has been updated
via c2bbaab2ac06420fa56c872294a9f8d7b326571e (commit)
from ffb83d23e17e99589f46edc3e08f78dd32936e4e (commit)
- Log -----------------------------------------------------------------
commit c2bbaab2ac06420fa56c872294a9f8d7b326571e
Author: Thomas Adam <tho...@xteddy.org>
Commit: Thomas Adam <tho...@xteddy.org>
Add -Wno-format-nonliteral to Makefile.am
Shut GCC up about non-literal arguments to functions which make use of
placeholder expansions (printf, strftime, etc.)
---
Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 63e20b1..ccb3c2a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -32,7 +32,7 @@ CFLAGS += -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
CFLAGS += -Wundef -Wbad-function-cast -Winline -Wcast-align
-CFLAGS += -Wdeclaration-after-statement
+CFLAGS += -Wdeclaration-after-statement -Wno-format-nonliteral
CPPFLAGS += -DDEBUG
endif
if IS_GCC4
-----------------------------------------------------------------------
Summary of changes:
Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
tmux
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
tmux-cvs mailing list
tmux-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-cvs
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
tmux-cvs mailing list
tmux-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-cvs