Re: vpath builds and verbose error messages - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: vpath builds and verbose error messages
Date
Msg-id 1321990544-sup-4018@alvh.no-ip.org
Whole thread Raw
In response to Re: vpath builds and verbose error messages  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Excerpts from Peter Eisentraut's message of mar nov 22 16:22:15 -0300 2011:

> One thing that isn't so nice about all this is that it embeds the
> personal directory structure of the builder of the binary into the
> shipped product.  But gcc's cpp doesn't like redefining __FILE__, so the
> only way to get around that altogether would be to use something other
> than __FILE__ and define that for all builds.  Might not be worth it.

This is similar to what's suggested here:
http://stackoverflow.com/questions/1591873/how-do-i-write-a-cpp-dir-macro-similar-to-file

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: WIP: index support for regexp search
Next
From: Peter Eisentraut
Date:
Subject: pg_upgrade relation OID mismatches