From owner-freebsd-standards Tue Aug 6 12: 3:49 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 7F56737B400; Tue, 6 Aug 2002 12:03:47 -0700 (PDT) Received: from portege.clkao.org (61-230-240-166.HINET-IP.hinet.net [61.230.240.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CDC743E42; Tue, 6 Aug 2002 12:03:40 -0700 (PDT) (envelope-from clkao@portege.clkao.org) Received: by portege.clkao.org (Postfix, from userid 1000) id 16654BA0; Wed, 7 Aug 2002 03:02:58 +0800 (CST) Date: Wed, 7 Aug 2002 03:02:57 +0800 From: Chia-liang Kao To: YAMAMOTO Takashi Cc: phantom@FreeBSD.org, keichii@iteration.net, bsd-locale@hauN.org, standards@freebsd.org Subject: about localedef Message-ID: <20020806190257.GA12380@portege.clkao.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline User-Agent: Mutt/1.5.1i 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 --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable hi Yamamoto-san, I grabbed your localedef implementation as of oct 2001. I wonder if there is any update or documentation of it? and how did you plan to integrate/interface with the current bsd rune_t? since localedef produces seems to be quite different from the current mklocale one,=20 Correct me if i'm wrong since i only skimmed the code. I just want to get more info before actually looking into the code. Cheers, CLK --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE9UB1gk1XldlEkA5YRApZAAJ9gWyCYh1itXn9xCeLdE6OA6ZquRwCeIpFP k5hilRxK44buB/ZO23FXs0Y= =UBPi -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Tue Aug 6 18:10:46 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 8CA6437B400; Tue, 6 Aug 2002 18:10:40 -0700 (PDT) Received: from yamt.dyndns.org (FLA1Aar191.kng.mesh.ad.jp [218.227.228.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id B06A943E70; Tue, 6 Aug 2002 18:10:39 -0700 (PDT) (envelope-from yamt@mwd.biglobe.ne.jp) Received: from localhost (localhost [127.0.0.1]) by yamt.dyndns.org (Postfix) with ESMTP id E15DB1175C; Wed, 7 Aug 2002 10:10:37 +0900 (JST) Date: Wed, 07 Aug 2002 10:10:35 +0900 (JST) Message-Id: <20020807.101035.123651210.yamt@mwd.biglobe.ne.jp> To: clkao@clkao.org Cc: phantom@FreeBSD.org, keichii@iteration.net, bsd-locale@hauN.org, standards@freebsd.org Subject: Re: about localedef From: YAMAMOTO Takashi In-Reply-To: <20020806190257.GA12380@portege.clkao.org> References: <20020806190257.GA12380@portege.clkao.org> X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 From: Chia-liang Kao Date: Wed, 7 Aug 2002 03:02:57 +0800 > hi Yamamoto-san, > > I grabbed your localedef implementation as of oct 2001. I wonder if > there is any update or documentation of it? and how did you plan to > integrate/interface with the current bsd rune_t? since localedef > produces seems to be quite different from the current mklocale one, there're no (working) updates. i've added some rune-ctype glues locally some time ago, but it's far to work yet. there're some problems. 1. in order to output compatible databases, localedef should know internal wchar_t presentations used by ctype modules. 2. arbitrary numbers of character classes/translations can't be supported with current database format. 3. iso2022. 4. ugly code 5. something that i can't remember now. :-) maybe 1.(and 3?) can be solved simply by using non-standard source file. (it reduces merits of localedef, though) 2. is more difficult. i wonder we should support to output compatible databases or not if we should change database format anyway... --- YAMAMOTO Takashi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Wed Aug 7 6:14:25 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 2FE1137B400; Wed, 7 Aug 2002 06:14:24 -0700 (PDT) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.130.111.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA05243E5E; Wed, 7 Aug 2002 06:14:22 -0700 (PDT) (envelope-from pfeifer@dbai.tuwien.ac.at) Received: from naos (naos [128.130.111.28]) by vexpert.dbai.tuwien.ac.at (8.11.6/8.11.6) with ESMTP id g77DEDV13856; Wed, 7 Aug 2002 15:14:13 +0200 (MET DST) Date: Wed, 7 Aug 2002 15:14:10 +0200 (CEST) From: Gerald Pfeifer To: "M. Warner Losh" Cc: "David O'Brien" , Subject: MFCing stdlib.h and stddef.h (was: Who maintains GCC in FreeBSD?) In-Reply-To: <20020720.124158.82192188.imp@bsdimp.com> Message-ID: 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 Sat, 20 Jul 2002, M. Warner Losh wrote: >: Someone should revert the FreeBSD local hack to contrib/gcc/cccp.c >: on -STABLE, until our *own* headers are properly fixed. >: >: (See the forwarded message below for details.) > That's already been fixed in -current. All that remains is for it to > be MFC'd. It really isn't that big a deal because you don't get the > warning if you don't say -pedantic. We've been through this before in > the -stable mailing lists. Yeah, but this still hasn't been addressed on -STABLE. :-( > If no body has MFC'd these changes by later today, I'll deal Thanks. This would be stdlib.h revision 1.37 date: 2002/07/09 05:13:30; author: obrien; state: Exp; lines: +2 -0 Don't define wchar_t if we are a C++ compiler. stddef.h revision 1.7 date: 2002/07/09 05:13:30; author: obrien; state: Exp; lines: +2 -0 Don't define wchar_t if we are a C++ compiler. This would close http://www.freebsd.org/cgi/query-pr.cgi?pr=40084 and part of http://www.freebsd.org/cgi/query-pr.cgi?pr=standards/40402 Gerald -- Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Wed Aug 7 8:42:25 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 4537C37B400; Wed, 7 Aug 2002 08:42:23 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D1FC43E81; Wed, 7 Aug 2002 08:42:18 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.5/8.12.3) with ESMTP id g77Fg09R078674; Wed, 7 Aug 2002 09:42:00 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 07 Aug 2002 09:41:28 -0600 (MDT) Message-Id: <20020807.094128.60713184.imp@bsdimp.com> To: pfeifer@dbai.tuwien.ac.at Cc: obrien@freebsd.org, freebsd-standards@freebsd.org Subject: Re: MFCing stdlib.h and stddef.h From: "M. Warner Losh" In-Reply-To: References: <20020720.124158.82192188.imp@bsdimp.com> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 In message: Gerald Pfeifer writes: : On Sat, 20 Jul 2002, M. Warner Losh wrote: : >: Someone should revert the FreeBSD local hack to contrib/gcc/cccp.c : >: on -STABLE, until our *own* headers are properly fixed. : >: : >: (See the forwarded message below for details.) : > That's already been fixed in -current. All that remains is for it to : > be MFC'd. It really isn't that big a deal because you don't get the : > warning if you don't say -pedantic. We've been through this before in : > the -stable mailing lists. : : Yeah, but this still hasn't been addressed on -STABLE. :-( : : > If no body has MFC'd these changes by later today, I'll deal : : Thanks. This would be : : stdlib.h revision 1.37 : date: 2002/07/09 05:13:30; author: obrien; state: Exp; lines: +2 -0 : Don't define wchar_t if we are a C++ compiler. : : stddef.h revision 1.7 : date: 2002/07/09 05:13:30; author: obrien; state: Exp; lines: +2 -0 : Don't define wchar_t if we are a C++ compiler. : : : This would close : http://www.freebsd.org/cgi/query-pr.cgi?pr=40084 : and part of : http://www.freebsd.org/cgi/query-pr.cgi?pr=standards/40402 OK. I thought it had been. I'll deal today. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Wed Aug 7 9:32:15 2002 Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F28C437B401; Wed, 7 Aug 2002 09:32:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB9D643E65; Wed, 7 Aug 2002 09:32:10 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: from freefall.freebsd.org (imp@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g77GWAJU020516; Wed, 7 Aug 2002 09:32:10 -0700 (PDT) (envelope-from imp@freefall.freebsd.org) Received: (from imp@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g77GWAMb020512; Wed, 7 Aug 2002 10:32:10 -0600 (MDT) Date: Wed, 7 Aug 2002 10:32:10 -0600 (MDT) From: Warner Losh Message-Id: <200208071632.g77GWAMb020512@freefall.freebsd.org> To: e0026813@stud3.tuwien.ac.at, imp@FreeBSD.org, freebsd-standards@FreeBSD.org Subject: Re: standards/40084: g++ complaining about redeclaration of wchar_t with -pedantic 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 Synopsis: g++ complaining about redeclaration of wchar_t with -pedantic State-Changed-From-To: open->closed State-Changed-By: imp State-Changed-When: Wed Aug 7 10:31:54 MDT 2002 State-Changed-Why: Relevant fix MFC'd. http://www.freebsd.org/cgi/query-pr.cgi?pr=40084 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Wed Aug 7 9:53:17 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 016EB37B400; Wed, 7 Aug 2002 09:53:16 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id A24A343E72; Wed, 7 Aug 2002 09:53:14 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.5/8.12.3) with ESMTP id g77Gr39R079077; Wed, 7 Aug 2002 10:53:04 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 07 Aug 2002 10:24:49 -0600 (MDT) Message-Id: <20020807.102449.122462505.imp@bsdimp.com> To: pfeifer@dbai.tuwien.ac.at Cc: obrien@FreeBSD.ORG, freebsd-standards@FreeBSD.ORG Subject: Re: MFCing stdlib.h and stddef.h From: "M. Warner Losh" In-Reply-To: <20020807.094128.60713184.imp@bsdimp.com> References: <20020720.124158.82192188.imp@bsdimp.com> <20020807.094128.60713184.imp@bsdimp.com> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Done. I've committed the fixes. PR 40402 is interesting and brings to light a small problem. C++ does not define long long that I could find (granted, I only have Stroustrup's books, and not the actual standard). Therefore the warnings about long long not being in c++ are correct and valid. stdtoll is what is triggering them. It is required to be in stdlib.h by ISO-C99 (S 7.20.1.3 #1 and B.19). Ditto atoll. g++, and I think most other modern C++ compilers, supports long long as an extension to the language. -pedantic turns these extensions off (or at least warns about them). I'm not sure what we can do about that. Since the compiler is correctly flagging an extension, I closed the bug. I'm not sure what to do about this disconnect between C++ and C standards. Comments from the standards@ people? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Wed Aug 7 10:20: 6 2002 Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6794137B400 for ; Wed, 7 Aug 2002 10:20:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1712943E42 for ; Wed, 7 Aug 2002 10:20:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g77HK3JU030486 for ; Wed, 7 Aug 2002 10:20:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g77HK36i030485; Wed, 7 Aug 2002 10:20:03 -0700 (PDT) Date: Wed, 7 Aug 2002 10:20:03 -0700 (PDT) Message-Id: <200208071720.g77HK36i030485@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org Cc: From: "M. Warner Losh" Subject: standards/40402 Reply-To: "M. Warner Losh" 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 The following reply was made to PR standards/40402; it has been noted by GNATS. From: "M. Warner Losh" To: bug-followup@freebsd.org Cc: Subject: standards/40402 Date: Wed, 07 Aug 2002 11:19:17 -0600 (MDT) Also, the compiler suppresses the long long warnings when no other warnings are present in system headers. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Wed Aug 7 23:59:12 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 AFD0237B400; Wed, 7 Aug 2002 23:59:10 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 936AF43E5E; Wed, 7 Aug 2002 23:59:09 -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 QAA17757; Thu, 8 Aug 2002 16:58:40 +1000 Date: Thu, 8 Aug 2002 17:03:29 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: "M. Warner Losh" Cc: pfeifer@dbai.tuwien.ac.at, , Subject: Re: MFCing stdlib.h and stddef.h In-Reply-To: <20020807.102449.122462505.imp@bsdimp.com> Message-ID: <20020808165908.N8452-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 Wed, 7 Aug 2002, M. Warner Losh wrote: > ... > PR 40402 is interesting and brings to light a small problem. > > C++ does not define long long that I could find (granted, I only have > Stroustrup's books, and not the actual standard). Therefore the > warnings about long long not being in c++ are correct and valid. > stdtoll is what is triggering them. It is required to be in stdlib.h > by ISO-C99 (S 7.20.1.3 #1 and B.19). Ditto atoll. > > g++, and I think most other modern C++ compilers, supports long long > as an extension to the language. -pedantic turns these extensions off > (or at least warns about them). I'm not sure what we can do about > that. > > Since the compiler is correctly flagging an extension, I closed the > bug. I'm not sure what to do about this disconnect between C++ and C > standards. Comments from the standards@ people? -current has a temporary fix for this in rev.1.46 of and associated changes. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Thu Aug 8 0:30:29 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 66CC237B400 for ; Thu, 8 Aug 2002 00:30:28 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 812F843E70 for ; Thu, 8 Aug 2002 00:30:27 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.5/8.12.3) with ESMTP id g787UP9R082955; Thu, 8 Aug 2002 01:30:25 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 08 Aug 2002 01:30:23 -0600 (MDT) Message-Id: <20020808.013023.90000025.imp@bsdimp.com> To: bde@zeta.org.au Cc: freebsd-standards@FreeBSD.ORG Subject: Re: MFCing stdlib.h and stddef.h From: "M. Warner Losh" In-Reply-To: <20020808165908.N8452-100000@gamplex.bde.org> References: <20020807.102449.122462505.imp@bsdimp.com> <20020808165908.N8452-100000@gamplex.bde.org> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message 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