Date: Sun, 10 Feb 2013 12:29:52 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: sbruno@freebsd.org, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Re: Eliminating a warning in sys/boot Message-ID: <511784B0.4060806@FreeBSD.org> In-Reply-To: <1360455011.4618.8.camel@powernoodle> References: <1360455011.4618.8.camel@powernoodle>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2013-02-10 01:10, Sean Bruno wrote:> So, this is not a valid warning in our universe and I'd like to silence > it when compiling sys/boot as printf(9) and sprintf(9) supports this > format. How can we silence this warning for the FreeBSD universe? > > ===> efi/libefi (all) > In file included from efinet.c:39: > /home/sbruno/fbsd_head/sys/boot/efi/libefi/../../common/dev_net.c:328:19: warning: invalid conversion specifier 'D' > [-Wformat-invalid-specifier] > sprintf(temp, "%6D", d->myea, ":"); Either eliminate the non-standard printf format specifier, or use the -fformat-extensions flag while compiling.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?511784B0.4060806>