Darwin compile flags

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)svr1(dot)postgresql(dot)org>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Darwin compile flags
Date: 2003-09-24 17:44:49
Message-ID: 200309241744.h8OHing24299@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Tom Lane wrote:
> CVSROOT: /cvsroot
> Module name: pgsql-server
> Changes by: tgl(at)svr1(dot)postgresql(dot)org 03/09/19 17:47:59
>
> Modified files:
> src/template : darwin
>
> Log message:
> Latest version of gcc from Apple does not work well with -traditional-cpp
> (it rejects some system header files...). Use -no-cpp-precomp instead.
> I think it is okay to change this unconditionally, but if we hear
> complaints from people still using very old compilers on Darwin,
> we could put in a test to see which switch the compiler likes.

Yes, I saw this failure in Atlanta on their Mac's. The compiler is
clearly broken with that flag. Why is that flag used anyway? I see it
in template/darwin, or it used to be there before the commit.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Marc G. Fournier 2003-09-24 18:03:42 CVSROOT/. log_accum.pl
Previous Message Tom Lane 2003-09-24 05:38:38 pgsql-server/contrib/vacuumlo vacuumlo.c

Browse pgsql-hackers by date

  From Date Subject
Next Message Nigel J. Andrews 2003-09-24 17:56:16 Re: [GENERAL] pgindented tsearch2 for 7.3.4
Previous Message Richard Huxton 2003-09-24 17:28:06 Re: sequence's plpgsql