Darwin compile flags - Mailing list pgsql-hackers

From Bruce Momjian
Subject Darwin compile flags
Date
Msg-id 200309241744.h8OHing24299@candle.pha.pa.us
Whole thread Raw
Responses Re: Darwin compile flags
List pgsql-hackers
Tom Lane wrote:
> CVSROOT:    /cvsroot
> Module name:    pgsql-server
> Changes by:    tgl@svr1.postgresql.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@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [GENERAL] pgindented tsearch2 for 7.3.4
Next
From: "Nigel J. Andrews"
Date:
Subject: Re: [GENERAL] pgindented tsearch2 for 7.3.4