pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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: Fri, 26 Sep 2003 07:54:47 -0700 (PDT)
Message-ID: <20030926074907.C4723@megazone.bigpanda.com> (raw)
In-Reply-To: <9396.1064556152@sss.pgh.pa.us>
References: <4.2.2.20030925220310.01955f08@localhost>
	<8975.1064553449@sss.pgh.pa.us>
	<20030925222934.F96784@megazone.bigpanda.com>
	<9396.1064556152@sss.pgh.pa.us>


On Fri, 26 Sep 2003, Tom Lane wrote:

> Stephan Szabo <sszabo@megazone.bigpanda.com> 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.



view thread (28+ messages)  latest in thread

Message-ID: <20030926074907.C4723@megazone.bigpanda.com>
Permalink:  ../20030926074907.C4723@megazone.bigpanda.com/
Also on:    postgresql.org/message-id/20030926074907.C4723@megazone.bigpanda.com

 · 

reply

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: <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> <20030926074907.C4723@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