From owner-cvs-all Wed Jun 13 23:43:35 2001 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 05C3F37B405; Wed, 13 Jun 2001 23:43:19 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f5E6h4K75130; Thu, 14 Jun 2001 09:43:04 +0300 (EEST) (envelope-from ru) Date: Thu, 14 Jun 2001 09:43:04 +0300 From: Ruslan Ermilov To: Bruce Evans Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: -isoC (was: Re: cvs commit: src/lib/libc/stdio printf.3) Message-ID: <20010614094304.D50901@sunbay.com> Mail-Followup-To: Bruce Evans , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <86162.992465808@axl.seasidesoftware.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from bde@zeta.org.au on Thu, Jun 14, 2001 at 10:48:15AM +1000 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 14, 2001 at 10:48:15AM +1000, Bruce Evans wrote: > On Wed, 13 Jun 2001, Sheldon Hearn wrote: > > > On Wed, 13 Jun 2001 22:34:09 +0200, Jens Schweikhardt wrote: > > > > > # Now just to get gcc to accept it without bitching on -Wformat. :-) > > > > > > It doesn't bitch here: > > > > Sorry, I meant -pedantic. > > -pedantic causes warnings about "long long", not about %ll. These warnings > are correct. "long long doesn't exist in ISO C (C90). When gcc supports > C99, it should have separate -iso^Wansi and -pedantic flags for C90 and C99. > Of course, C99 features shouldn't be used until it becomes unnecessary to > support C90 compilers. The "long long" misfeature should never be used. > Last time I checked with David, he said the common abbreviations is C89 for ISO C. Here's the list of C standards in mdoc(7): : ANSI/ISO C : : -ansiC ANSI X3.159-1989 (``ANSI C'') : -ansiC-89 ANSI X3.159-1989 (``ANSI C'') : -isoC ISO/IEC 9899:1990 (``ISO C89'') : -isoC-99 ISO/IEC 9899:1999 (``ISO C99'') Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message