Re: Bug in make (informix?) - Mailing list pgsql-bugs

From Michael Meskes
Subject Re: Bug in make (informix?)
Date
Msg-id 20031219203124.GC24328@1
Whole thread Raw
In response to Bug in make (informix?)  (Oli Sennhauser <oli.sennhauser@bluewin.ch>)
List pgsql-bugs
On Wed, Dec 17, 2003 at 04:42:25PM +0100, Oli Sennhauser wrote:
> The make with the follwing flag causes an error. Without flag runs without problems.
> This seems to be a bug of 7.4 because 7.3.5 was running fine with this flag.
>
> make CPPFLAGS=-DALLOW_ABSOLUTE_DBPATHS allo
> ...

This actually is NOT a PostgreSQL bug. When you call make like this you
do not ADD your define, but REPLACE the CPPFLAGS entry in Makefile.
Usually CPPFLAGS contains -D_GNU_SOURCE which is needed to get
LONG_LONG_MIN defined.

If you need this define, please use

make CPPFLAGS="-D_GNU_SOURCE -DALLOW_ABSOLUTE_DBPATHS" allo

or some other way that ensures the entry in Makefile.global is not
discarded.

Michael

--
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

pgsql-bugs by date:

Previous
From: Michael Meskes
Date:
Subject: Re: 7.1.3 ecpg answered BUT...
Next
From: Michael Meskes
Date:
Subject: Re: ecpg c++ scope operator lost