Re: Fw: Case Insensitive Test

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "[ADMIN]" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Fw: Case Insensitive Test
Date: 2003-09-26 20:50:03
Message-ID: 20030926134708.A32770@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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?

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2003-09-26 20:59:12 Re: Fw: Case Insensitive Test
Previous Message Tom Lane 2003-09-26 20:37:42 Re: Fw: Case Insensitive Test