Your message dated Thu, 26 Aug 2021 15:33:11 +0200
with message-id <[email protected]>
and subject line Re: Bug#991267: pg_config.h leaks internal macros
has caused the Debian Bug report #991267,
regarding pg_config.h leaks internal macros
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
991267: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991267
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpq-dev
Version: 14~beta2-1

pg_config.h is a public header and needed if an application wants to
check the version number at compile time.  However, in version 14, it
leaks a lot of internal PostgreSQL macros, e.g. OPENSSL_API_COMPAT
which breaks applications using OpenSSL directly:

 /usr/include/postgresql/pg_config.h:791:9: error: 'OPENSSL_API_COMPAT' macro 
redefined [-Werror,-Wmacro-redefined]
 #define OPENSSL_API_COMPAT 0x10001000L
         ^
 <command line>:10:9: note: previous definition is here
 #define OPENSSL_API_COMPAT 0x10100000L
         ^

--- End Message ---
--- Begin Message ---
Re: Peter Eisentraut
> For more recently added features, libpq has feature macros such as
> 
> /* Indicates presence of PQenterPipelineMode and friends */
> #define LIBPQ_HAS_PIPELINING 1
> /* Indicates presence of PQsetTraceFlags; also new PQtrace output format */
> #define LIBPQ_HAS_TRACE_FLAGS 1
> 
> The feature you are testing arrived in PostgreSQL 9.2, so it's too old to do
> anything about at this point.

Closing the Debian bug now.

Christoph

--- End Message ---

Reply via email to