Re: Bug in make (informix?)

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Oli Sennhauser <oli(dot)sennhauser(at)bluewin(dot)ch>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug in make (informix?)
Date: 2003-12-19 20:31:24
Message-ID: 20031219203124.GC24328@1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Meskes 2003-12-19 20:32:46 Re: ecpg c++ scope operator lost
Previous Message Michael Meskes 2003-12-19 20:18:29 Re: 7.1.3 ecpg answered BUT...