Skip site navigation (1) Skip section navigation (2)

Xlib.h and pgconnection.h

From: Holger Veit <holger(dot)veit(at)ais(dot)fhg(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Xlib.h and pgconnection.h
Date: 2001-11-27 12:07:46
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Don't know whether this has been reported yet, as search of mailinglists
didn't find anything,
and it is also unclear whether this is a bug in PostgresQL headers or in
X11 headers (I suppose latter),

<libpq++/pgconnection.h> declares a method Status() for PgConnection
<Xlib.h> defines #define Status int for the return type of most X11 API

So if you first include <Xlib.h> and then <libpg++.h> in your
application program,
you get a compile error. The workaround is clear: first include
libpq++.h, then the
appropriate X11 headers, but this should be described at least in the

Holger Veit

Please update your tables to my new e-mail address:
holger.veit$  (replace the '$' with '@'  -- spam-protection)

pgsql-bugs by date

Next:From: Tom LaneDate: 2001-11-27 15:23:30
Subject: Re: Bug #523: ERROR: fmgr_info: function 19053: cache lookup failed
Previous:From: pgsql-bugsDate: 2001-11-27 08:22:15
Subject: Bug #523: ERROR: fmgr_info: function 19053: cache lookup failed

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group