Subject: standards/9610: bogus egcs warning
To: None <gnats-bugs@gnats.netbsd.org>
From: Seebs <seebs@ged.plethora.net>
List: netbsd-bugs
Date: 03/12/2000 20:54:39
>Number:         9610
>Category:       standards
>Synopsis:       egcs warns about "%Lf" because %Ld isn't standard
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    standards-manager (NetBSD Standards Conformance bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 12 20:54:01 2000
>Last-Modified:
>Originator:     
>Organization:
>Release:        3/9/00
>Environment:
System: NetBSD ged.plethora.net 1.4T NetBSD 1.4T (LOBE) #0: Fri Feb 25 12:07:10 CST 2000 seebs@ged.plethora.net:/usr/src/sys/arch/i386/compile/LOBE i386


>Description:
	Possibly as a result of the changes for %ll, etc., gcc now warns
	that the "L" flag is "not in ANSI C".  It's wrong; "%Lf" is long
	double.

>How-To-Repeat:
	printf("%Lf\n", ...)

>Fix:
	Only warn about that flag if it's set on something other than a
	floating point type.
>Audit-Trail:
>Unformatted: