Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/openpam/dist/lib gcc 4.1 does not support pragm...
details: https://anonhg.NetBSD.org/src/rev/02dd682f0424
branches: trunk
changeset: 792873:02dd682f0424
user: christos <christos%NetBSD.org@localhost>
date: Mon Jan 20 01:15:03 2014 +0000
description:
gcc 4.1 does not support pragma diagnostic ignored
diffstat:
external/bsd/openpam/dist/lib/openpam_log.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 68283933e80c -r 02dd682f0424 external/bsd/openpam/dist/lib/openpam_log.c
--- a/external/bsd/openpam/dist/lib/openpam_log.c Mon Jan 20 01:10:38 2014 +0000
+++ b/external/bsd/openpam/dist/lib/openpam_log.c Mon Jan 20 01:15:03 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: openpam_log.c,v 1.6 2014/01/07 02:15:02 joerg Exp $ */
+/* $NetBSD: openpam_log.c,v 1.7 2014/01/20 01:15:03 christos Exp $ */
/*-
* Copyright (c) 2002-2003 Networks Associates Technology, Inc.
@@ -96,7 +96,9 @@
#else
+#if __GNUC_PREREQ__(4, 5)
#pragma GCC diagnostic ignored "-Wformat-nonliteral"
+#endif
void
_openpam_log(int level, const char *func, const char *fmt, ...)
{
Home |
Main Index |
Thread Index |
Old Index