Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2014 04:37:47 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r268974 - in head/sys/boot: efi/libefi i386/libi386
Message-ID:  <201407220437.s6M4blHu047648@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno
Date: Tue Jul 22 04:37:47 2014
New Revision: 268974
URL: http://svnweb.freebsd.org/changeset/base/268974

Log:
  Supress clang warning for FreeBSD printf %b and %D formats
  
  MFC after:	2 weeks

Modified:
  head/sys/boot/efi/libefi/Makefile
  head/sys/boot/i386/libi386/Makefile

Modified: head/sys/boot/efi/libefi/Makefile
==============================================================================
--- head/sys/boot/efi/libefi/Makefile	Tue Jul 22 03:59:14 2014	(r268973)
+++ head/sys/boot/efi/libefi/Makefile	Tue Jul 22 04:37:47 2014	(r268974)
@@ -16,4 +16,8 @@ CFLAGS+= -I${.CURDIR}/../../../../lib/li
 # Pick up the bootstrap header for some interface items
 CFLAGS+= -I${.CURDIR}/../../common
 
+ 
+# Suppress warning from clang for FreeBSD %b and %D formats
+CFLAGS+= -fformat-extensions
+
 .include <bsd.lib.mk>

Modified: head/sys/boot/i386/libi386/Makefile
==============================================================================
--- head/sys/boot/i386/libi386/Makefile	Tue Jul 22 03:59:14 2014	(r268973)
+++ head/sys/boot/i386/libi386/Makefile	Tue Jul 22 04:37:47 2014	(r268974)
@@ -55,6 +55,9 @@ CFLAGS+=	-I${.CURDIR}/../../common -I${.
 # the location of libstand
 CFLAGS+=	-I${.CURDIR}/../../../../lib/libstand/
 
+# Suppress warning from clang for FreeBSD %b and %D formats
+CFLAGS+= -fformat-extensions
+
 .if ${MACHINE_CPUARCH} == "amd64"
 CLEANFILES+=	machine
 machine:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407220437.s6M4blHu047648>