Re: Fw: Case Insensitive Test - Mailing list pgsql-admin

From Stephan Szabo
Subject Re: Fw: Case Insensitive Test
Date
Msg-id 20030926134708.A32770@megazone.bigpanda.com
Whole thread Raw
In response to Re: Fw: Case Insensitive Test  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Fw: Case Insensitive Test  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
On Fri, 26 Sep 2003, Peter Eisentraut wrote:

> Stephan Szabo writes:
>
> > It's not a problem for me unless I'm compiling with CFLAGS="-std=c89".
>
> Don't do that then. :-)

Well, the discussion started with Tom trying to find an option that
disallowed // comments for gcc. :)

> I don't agree with cluttering the compile line with -D_GNU_SOURCE just for
> the case when someone adds additional unsupported compiler flags.  We
> might as well add -fhosted just in case someone tries to compile with
> -ffreestanding.

Fundamentally however, having configure run with a fundamentally different
compilation environment from an actual build (which _GNU_SOURCE basically
does) is dangerous.  Even without -std=c89, can we say for sure that the
environment without it is exactly the same as with it?


pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Fw: Case Insensitive Test
Next
From: Tom Lane
Date:
Subject: Re: Fw: Case Insensitive Test