From owner-cvs-all Wed Jun 13 14: 0:44 2001 Delivered-To: cvs-all@freebsd.org Received: from alpo.whistle.com (s206m1.whistle.com [207.76.206.1]) by hub.freebsd.org (Postfix) with ESMTP id 8ADD637B403; Wed, 13 Jun 2001 14:00:34 -0700 (PDT) (envelope-from mark@whistle.com) Received: from [207.76.207.129] (PBG4.whistle.com [207.76.207.129]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id NAA61902; Wed, 13 Jun 2001 13:59:59 -0700 (PDT) Mime-Version: 1.0 X-Sender: mark@207.76.206.1 Message-Id: In-Reply-To: <200106131941.PAA04410@khavrinen.lcs.mit.edu> References: <200106131905.f5DJ5D949883@freefall.freebsd.org> <76631.992460492@axl.seasidesoftware.co.za> <200106131941.PAA04410@khavrinen.lcs.mit.edu> Date: Wed, 13 Jun 2001 14:00:05 -0700 To: Garrett Wollman , Sheldon Hearn From: Mark Peek Subject: Re: cvs commit: src/lib/libc/stdio printf.3 Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" 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 At 3:41 PM -0400 6/13/01, Garrett Wollman wrote: >< said: > >> Now just to get gcc to accept it without bitching on -Wformat. :-) > >It's in C99, so once gcc learns about C99 it will stop complaining. I >am under the impression from obrien that gcc 3.x will be a full C99 >stand-alone implementation. Or have obrien approve or commit this patch for now... Index: c-common.c =================================================================== RCS file: /home/ncvs/src/contrib/gcc/c-common.c,v retrieving revision 1.8.2.2 diff -u -r1.8.2.2 c-common.c --- c-common.c 2000/04/18 21:09:03 1.8.2.2 +++ c-common.c 2001/06/13 20:54:48 @@ -1720,9 +1720,6 @@ if (length_char == 'l' && *format_chars == 'l') { length_char = 'q', format_chars++; - /* FIXME: Is allowed in ISO C 9x. */ - if (pedantic) - warning ("ANSI C does not support the `ll' length modifier"); } else if (length_char == 'h' && *format_chars == 'h') { Index: c-decl.c =================================================================== RCS file: /home/ncvs/src/contrib/gcc/c-decl.c,v retrieving revision 1.1.1.4.2.1 diff -u -r1.1.1.4.2.1 c-decl.c --- c-decl.c 2001/04/10 19:22:57 1.1.1.4.2.1 +++ c-decl.c 2001/06/13 20:54:49 @@ -4491,8 +4491,6 @@ error ("`long long long' is too long for GCC"); else { - if (pedantic && ! in_system_header && warn_long_long) - pedwarn ("ANSI C does not support `long long'"); longlong = 1; } } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message