From owner-freebsd-standards Thu Aug 8 4:17:20 2002 Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B00737B400 for ; Thu, 8 Aug 2002 04:17:19 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CE1C43E42 for ; Thu, 8 Aug 2002 04:17:18 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id VAA11333; Thu, 8 Aug 2002 21:17:11 +1000 Date: Thu, 8 Aug 2002 21:22:01 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: "M. Warner Losh" Cc: freebsd-standards@FreeBSD.ORG Subject: Re: MFCing stdlib.h and stddef.h In-Reply-To: <20020808.013023.90000025.imp@bsdimp.com> Message-ID: <20020808211419.C9153-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 8 Aug 2002, M. Warner Losh wrote: > In message: <20020808165908.N8452-100000@gamplex.bde.org> > Bruce Evans writes: > : -current has a temporary fix for this in rev.1.46 of and > : associated changes. > > That fix is for the C89 variant of this problem. However, since > __STRICT_ANSI__ doesn't appear to be defined when we're compiling C++ > -pedantic, and I don't see anyhthing in the output that g++ -v to > indicate a symbol that we can hang something on as welll, I'm not sure > how we can fix this. It isn't set for cc -pedantic either. It is set for cc -ansi and c++ -ansi. Long long is warned about by cc -pedantic and c++ -pedantic but not for cc -ansi or c++ -ansi. So the temporary fix only works when -pedantic is combined with -ansi. This shouldn't be a problem, since -pedantic makes no sense without a standard to be pedantic about. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message