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 Apply diagnostic overwrite for...



details:   https://anonhg.NetBSD.org/src/rev/bd667025cfe6
branches:  trunk
changeset: 326249:bd667025cfe6
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Jan 23 13:41:58 2014 +0000

description:
Apply diagnostic overwrite for clang too.

diffstat:

 external/bsd/openpam/dist/lib/openpam_log.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 90948fa51f24 -r bd667025cfe6 external/bsd/openpam/dist/lib/openpam_log.c
--- a/external/bsd/openpam/dist/lib/openpam_log.c       Thu Jan 23 13:30:38 2014 +0000
+++ b/external/bsd/openpam/dist/lib/openpam_log.c       Thu Jan 23 13:41:58 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: openpam_log.c,v 1.7 2014/01/20 01:15:03 christos Exp $ */
+/*     $NetBSD: openpam_log.c,v 1.8 2014/01/23 13:41:58 joerg Exp $    */
 
 /*-
  * Copyright (c) 2002-2003 Networks Associates Technology, Inc.
@@ -96,7 +96,7 @@
 
 #else
 
-#if __GNUC_PREREQ__(4, 5)
+#if defined(__clang__) || __GNUC_PREREQ__(4, 5)
 #pragma GCC diagnostic ignored "-Wformat-nonliteral"
 #endif
 void



Home | Main Index | Thread Index | Old Index