Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/tmux/dist gcc-4.1 does not have the pragma diag...
details: https://anonhg.NetBSD.org/src/rev/7ca354083f48
branches: trunk
changeset: 326138:7ca354083f48
user: christos <christos%NetBSD.org@localhost>
date: Mon Jan 20 02:08:27 2014 +0000
description:
gcc-4.1 does not have the pragma diagnostic ignored
diffstat:
external/bsd/tmux/dist/log.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 7a541eca2f06 -r 7ca354083f48 external/bsd/tmux/dist/log.c
--- a/external/bsd/tmux/dist/log.c Mon Jan 20 01:52:54 2014 +0000
+++ b/external/bsd/tmux/dist/log.c Mon Jan 20 02:08:27 2014 +0000
@@ -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 <nicm%users.sourceforge.net@localhost>
@@ -108,7 +108,9 @@
#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, ...)
{
Home |
Main Index |
Thread Index |
Old Index