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 2DD3DD1B54A for ; Fri, 26 Sep 2003 05:53:38 +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 36997-02 for ; Fri, 26 Sep 2003 02:53:08 -0300 (ADT) Received: from megazone.bigpanda.com (megazone.bigpanda.com [64.147.171.210]) by svr1.postgresql.org (Postfix) with ESMTP id 38643D1B56C for ; Fri, 26 Sep 2003 02:53:07 -0300 (ADT) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 5219B35463; Thu, 25 Sep 2003 22:53:07 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 5053D35458; Thu, 25 Sep 2003 22:53:07 -0700 (PDT) Date: Thu, 25 Sep 2003 22:53:07 -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: <8975.1064553449@sss.pgh.pa.us> Message-ID: <20030925222934.F96784@megazone.bigpanda.com> References: <4.2.2.20030925220310.01955f08@localhost> <8975.1064553449@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/430 X-Sequence-Number: 10518 On Fri, 26 Sep 2003, Tom Lane wrote: > "Chad R. Larson" writes: > > I suspect that among the conformance switches, you can find a combination > > you like: > > 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 (my system's 3.2 does and so does another's 2.95.4) I used the little program: #include int main() { int a1 = 5 //*2*/ +3; printf("%d\n", a1); } Without the option, 8 is printed, with it 1 is printed. We don't appear to compile with the option on my system however. It looks like differences between the includes in test programs in configure and when actually building cause errors. In my case struct addrinfo isn't found in configure, but it is found when actually building (due indirectly to an include of stdio.h) causing redefinition errors.