From owner-freebsd-hackers Sat Jan 27 23:50:54 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from server.bitmcnit.bryansk.su (bitmcnit.bryansk.ru [195.239.213.9]) by hub.freebsd.org (Postfix) with ESMTP id B909D37B400 for ; Sat, 27 Jan 2001 23:50:34 -0800 (PST) Received: (from uucp@localhost) by server.bitmcnit.bryansk.su (8.9.3/8.9.3) with UUCP id KAA18693 for hackers@freebsd.org; Sun, 28 Jan 2001 10:42:13 +0300 Received: (from alex@localhost) by kapran.bitmcnit.bryansk.su (8.11.1/8.11.1) id f0S7PjK02209 for hackers@freebsd.org; Sun, 28 Jan 2001 10:25:45 +0300 (MSK) (envelope-from alex@kapran.bitmcnit.bryansk.su) Date: Sun, 28 Jan 2001 10:25:44 +0300 From: Alex Kapranoff To: hackers@freebsd.org Subject: FreeBSD specific strftime(3) format specifiers Message-ID: <20010128102544.A2192@kapran.bitmcnit.bryansk.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 5.0-CURRENT i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? -- Alex Kapranoff, Voice: +7(0832)791845 We've lived 3 weeks in the brand new millenium... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message