#include oddity in v7.0b3

From: Didier Verna <didier(at)xemacs(dot)org>
To: bugs(at)postgresql(dot)org
Cc: XEmacs beta testers <xemacs-beta(at)xemacs(dot)org>, Oliver Elphick <Oliver(dot)Elphick(at)lfix(dot)co(dot)uk>
Subject: #include oddity in v7.0b3
Date: 2000-04-10 16:40:43
Message-ID: muxaej1oqno.fsf@uzeb.lrde.epita.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


[ Cc'ed to the XEmacs development list and the postgres debian package
maintainer ]

Hi!

After upgrading my debian system (woody), the postgres package went
from 6.5 to 7.0b3. On debian linux boxes, the postgres headers are located
under /usr/include/postgresql/.

The file `libpq-fe.h' #include's the file `postgres_ext.h' using <>
instead of "" (line 27). As a consequence, applications that just do:

| #include <full/path/to/libpq-fe.h>

can't build anymore because the file `postgres_ext.h' is not in the path. This
happens to be the case for XEmacs. I believe this is a bug because:

1/ this didn't happen with my former version 6.5
2/ the usage of <> or "" doesn't seem to be coherent among the headers
3/ it's better to use "" when headers installed in the same place have to
include each others

What do you think ? Was this change intentional ?

Thanks.

--
/ / _ _ Didier Verna http://www.inf.enst.fr/~verna/
- / / - / / /_/ / EPITA / LRDE mailto:didier(at)lrde(dot)epita(dot)fr
/_/ / /_/ / /__ / 14-16 rue Voltaire Tel. +33 (1) 44 08 01 77
94276 Kremlin-Bicêtre cedex Fax. +33 (1) 44 08 01 99

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2000-04-10 17:45:39 Re: #include oddity in v7.0b3
Previous Message shilpa 2000-04-10 06:35:14 Problem with Postgres SQL