Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2001 09:43:04 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Bruce Evans <bde@zeta.org.au>
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>
In-Reply-To: <Pine.BSF.4.21.0106141040580.71865-100000@besplex.bde.org>; from bde@zeta.org.au on Thu, Jun 14, 2001 at 10:48:15AM %2B1000
References:  <86162.992465808@axl.seasidesoftware.co.za> <Pine.BSF.4.21.0106141040580.71865-100000@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010614094304.D50901>