Date: Thu, 1 Feb 2001 12:32:37 -0800 (PST) From: Doug White <dwhite@resnet.uoregon.edu> To: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su> Cc: hackers@FreeBSD.ORG Subject: Re: FreeBSD specific strftime(3) format specifiers Message-ID: <Pine.BSF.4.21.0102011232100.853-100000@resnet.uoregon.edu> In-Reply-To: <20010128102544.A2192@kapran.bitmcnit.bryansk.su>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 28 Jan 2001, Alex Kapranoff wrote: > Hi to all. > gcc supports strftime format string checking and issues a warning when > it encounters some unknown format specifier. FreeBSD strftime has > several additional format chars which gcc knows nothing about. > > This can easily be seen when compiling /usr/src/usr.sbin/pw: > pw_user.c:1175: warning: unknown conversion type character `f' in format > pw_user.c:1177: warning: unknown conversion type character `f' in format > > Are there chances that this could be fixed? I suppose, the patches > should be submitted to gcc developers and the changes will get into > our tree on next gcc source import? I believe there is a -fformat-extensions flag that gets around this problem. Check out the kernel build for the actual flag as it's used there. Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0102011232100.853-100000>