Article View: gnu.gcc.help
Article #50091what format to use for a double?
From: Kevin Smolkowski
Date: Mon, 22 Nov 1993 17:38
Date: Mon, 22 Nov 1993 17:38
12 lines
1061 bytes
1061 bytes
(I am posting this here as gcc is the only compiler that gives me this warning). Since "way back when" I have been using "%lf" as the format to print doubles. Gcc always gives me the Warning "use of 'l' lenth character with 'f' type character." I like to compile without any warnings, tell me how to disable this warning or what I should use instead of "%lf". -Kevins
Technical Details
Message-ID:
<KEVINS.93Nov22093828@aragorn.ori.org>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!usenet.coe.montana.edu!netnews.nwnet.net!news.uoregon.edu!pith.uoregon.edu!kevinsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,9c3f95dacf08ca9c,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-11-22 10:39:32 PST Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!usenet.coe.montana.edu!netnews.nwnet.net!news.uoregon.edu!pith.uoregon.edu!kevins From: kevins@aragorn.ori.org (Kevin Smolkowski) Newsgroups: gnu.gcc.help Subject: what format to use for a double? Date: 22 Nov 1993 17:38:28 GMT Organization: Oregon Research Institute Lines: 12 Distribution: world Message-ID: <KEVINS.93Nov22093828@aragorn.ori.org> NNTP-Posting-Host: aragorn.ori.org