delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/11/20:15:38

From: buers AT gmx DOT de (Dieter Buerssner)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: long long in printf()
Date: 12 Apr 2000 00:48:38 GMT
Lines: 14
Message-ID: <8d0nnf.3vvr92n.0@buerssner-17104.user.cis.dfn.de>
References: <20000410 DOT 154104 DOT -410679 DOT 5 DOT roberts DOT j DOT whitlock AT juno DOT com> <8cttev DOT 3vs6k6b DOT 0 AT buerssner-17104 DOT user DOT cis DOT dfn DOT de> <38F365A3 DOT 98BBD45B AT cyberoptics DOT com>
NNTP-Posting-Host: pec-104-110.tnt5.s2.uunet.de (149.225.104.110)
Mime-Version: 1.0
X-Trace: fu-berlin.de 955500518 7473048 149.225.104.110 (16 [17104])
X-Posting-Agent: Hamster/1.3.13.0
User-Agent: Xnews/03.02.04
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eric Rudd wrote:

>Dieter Buerssner wrote:
>>
>> So, use the "L" modifier for long long type.
>
>I think using the "ll" modifier would be preferable, since it is not only
>acceptable to gcc, but is also the "long long" modifier specified by C99.  

You are correct. Sorry for giving wrong advice. 
(IIRC, in old versions of the DJGPP libc only "L" worked for long long.)

-- 
Regards, Dieter

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019