X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id D6466D1B4F2 for ; Fri, 26 Sep 2003 14:54:58 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 29664-05 for ; Fri, 26 Sep 2003 11:54:51 -0300 (ADT) Received: from megazone.bigpanda.com (megazone.bigpanda.com [64.147.171.210]) by svr1.postgresql.org (Postfix) with ESMTP id A7962D1B4E1 for ; Fri, 26 Sep 2003 11:54:47 -0300 (ADT) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 1EA003541A; Fri, 26 Sep 2003 07:54:47 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 1D0DD34DBC; Fri, 26 Sep 2003 07:54:47 -0700 (PDT) Date: Fri, 26 Sep 2003 07:54:47 -0700 (PDT) From: Stephan Szabo To: Tom Lane Cc: "Chad R. Larson" , Larry Rosenman , Donald Fraser , "[ADMIN]" Subject: Re: Fw: Case Insensitive Test In-Reply-To: <9396.1064556152@sss.pgh.pa.us> Message-ID: <20030926074907.C4723@megazone.bigpanda.com> References: <4.2.2.20030925220310.01955f08@localhost> <8975.1064553449@sss.pgh.pa.us> <20030925222934.F96784@megazone.bigpanda.com> <9396.1064556152@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/437 X-Sequence-Number: 10525 On Fri, 26 Sep 2003, Tom Lane wrote: > Stephan Szabo writes: > >> I've been through them. None of 'em turn off // comments. Or #-sign > > > On at least some versions of gcc it looks like --std=c89 turns them off > > Hmm, I haven't tried that in particular. I wonder what else it does? It looks from the headers, that by default that'll not define a bunch of extensions stuff. It's apparently enough stuff that even if I get around the immediate problem I had I get a complaint about SIG_SETMASK being undeclared (it looks like it's only defined when __USE_POSIX). However, the immediate problem I have seems to come from the fact that on Linux at least we're basically lying to configure about what's in the system headers when we go to compile. port/linux.h on my system defined _GNU_SOURCE which forces most/all of the extension things to be defined even if they wouldn't by the command line options. So, the compilation sees different contents of the headers than configure did which means that configure may say that something isn't defined, but it might be when we go and compile.