From owner-cvs-all Thu Jun 14 4:51: 9 2001 Delivered-To: cvs-all@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 69E5E37B405; Thu, 14 Jun 2001 04:51:00 -0700 (PDT) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id NAA27374; Thu, 14 Jun 2001 13:50:53 +0200 (CEST) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Bruce Evans Cc: Sheldon Hearn , Jens Schweikhardt , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/stdio printf.3 References: From: Dag-Erling Smorgrav Date: 14 Jun 2001 13:50:53 +0200 In-Reply-To: Message-ID: Lines: 18 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Bruce Evans writes: > -pedantic causes warnings about "long long", not about %ll. Yes it does. > 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. Gcc has a command-line option (-std) for selecting the standard to apply, and claims to support ISO C99, but incorrectly prints these warnings even when ISO C99 is selected. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message