Module Name:    src
Committed By:   christos
Date:           Mon Jan 20 02:08:27 UTC 2014

Modified Files:
        src/external/bsd/tmux/dist: log.c

Log Message:
gcc-4.1 does not have the pragma diagnostic ignored


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/tmux/dist/log.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/tmux/dist/log.c
diff -u src/external/bsd/tmux/dist/log.c:1.4 src/external/bsd/tmux/dist/log.c:1.5
--- src/external/bsd/tmux/dist/log.c:1.4	Tue Jan  7 04:28:57 2014
+++ src/external/bsd/tmux/dist/log.c	Sun Jan 19 21:08:27 2014
@@ -1,4 +1,4 @@
-/* $Id: log.c,v 1.4 2014/01/07 09:28:57 joerg Exp $ */
+/* $Id: log.c,v 1.5 2014/01/20 02:08:27 christos Exp $ */
 
 /*
  * Copyright (c) 2007 Nicholas Marriott <n...@users.sourceforge.net>
@@ -108,7 +108,9 @@ log_vwrite(int pri, const char *msg, va_
 #if __GNUC_PREREQ__(4, 6) || defined(__clang__)
 #pragma GCC diagnostic push
 #endif
+#if __GNUC_PREREQ__(4, 5) 
 #pragma GCC diagnostic ignored "-Wformat-nonliteral"
+#endif
 void printflike1
 log_warn(const char *msg, ...)
 {

Reply via email to