[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#948338: [libapt-pkg-dev] apt-pkg headers pollute preprocessor namespace



Control: clone -1 -2
Control: reassign -2 aptitude
Control: tag -1 wontfix

On Tue, Jan 07, 2020 at 03:16:18PM +0100, Giovanni Mascellani wrote:
> Package: libapt-pkg-dev
> Version: 1.8.4
> Severity: normal
> 
> Hi,
> 
> apt-pkg headers pollute the preprocessor namespace, causing breakage in
> unrelated libraries; for example, /usr/include/apt-pkg/error.h contains
> the following line:
> 
> #define _error _GetErrorObj()

There's nothing we can do about that, sorry. _error is a vital part of
the API.

> This will cause aptitude to FTBFS as soon as boost1.71 is made the
> default Boost version, so please fix this as soon as possible.

This is going to need a change in aptitude then.

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en

Attachment: signature.asc
Description: PGP signature


Reply to: