From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Chad R. Larson <chad@eldocomp.com>
Cc: Larry Rosenman <ler@lerctr.org>
Cc: Donald Fraser <demolish@cwgsy.net>
Cc: [ADMIN] <pgsql-admin@postgresql.org>
Subject: Re: Fw: Case Insensitive Test
Date: Thu, 25 Sep 2003 22:53:07 -0700 (PDT)
Message-ID: <20030925222934.F96784@megazone.bigpanda.com> (raw)
In-Reply-To: <8975.1064553449@sss.pgh.pa.us>
References: <4.2.2.20030925220310.01955f08@localhost>
<8975.1064553449@sss.pgh.pa.us>
On Fri, 26 Sep 2003, Tom Lane wrote:
> "Chad R. Larson" <chad@eldocomp.com> 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 <stdio.h>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: sszabo@megazone.bigpanda.com, tgl@sss.pgh.pa.us, chad@eldocomp.com, ler@lerctr.org, demolish@cwgsy.net
Subject: Re: Fw: Case Insensitive Test
In-Reply-To: <20030925222934.F96784@megazone.bigpanda.com>
References: <4.2.2.20030925220310.01955f08@localhost> <8975.1064553449@sss.pgh.pa.us> <20030925222934.F96784@megazone.bigpanda.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox