Module Name: src
Committed By: joerg
Date: Thu Jan 23 14:14:23 UTC 2014
Modified Files:
src/external/bsd/tmux/dist: log.c
Log Message:
Unbreak clang build. Hi xtos.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 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.5 src/external/bsd/tmux/dist/log.c:1.6
--- src/external/bsd/tmux/dist/log.c:1.5 Mon Jan 20 02:08:27 2014
+++ src/external/bsd/tmux/dist/log.c Thu Jan 23 14:14:23 2014
@@ -1,4 +1,4 @@
-/* $Id: log.c,v 1.5 2014/01/20 02:08:27 christos Exp $ */
+/* $Id: log.c,v 1.6 2014/01/23 14:14:23 joerg Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <[email protected]>
@@ -108,7 +108,7 @@ 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)
+#if __GNUC_PREREQ__(4, 5) || defined(__clang__)
#pragma GCC diagnostic ignored "-Wformat-nonliteral"
#endif
void printflike1