Bug#800371: glibmm2.4: C++11 features in headers but no -std=c++11 in pkg-config

Aurelien Jarno aurel32 at debian.org
Tue Sep 29 12:08:37 UTC 2015


On 2015-09-29 13:47, Michael Biebl wrote:
> Am 28.09.2015 um 16:59 schrieb Aurelien Jarno:
> > Source: glibmm2.4
> > Version: 2.46.1-1
> > Severity: serious
> > 
> > glibmm2.4 version 2.46.1-1 started to use C++11 features in the headers
> > it exports, but pkg-config --cflags doesn't return -std=c++11. Given the
> > default is still -std=gnu++98 in GCC 5, it causes packages which use
> > these headers to fails to build.
> > 
> > A build log showing the issue can be found here:
> > 
> > https://buildd.debian.org/status/fetch.php?pkg=inkscape&arch=mips64el&ver=0.91-5%2Bb1&stamp=1443446208
> 
> On IRC the question was raised, if random .pc files should really
> contain -std=... ?

Note that we already have a few .pc files in the archive which force
-std=.

> What happens if you end up with multiple ones on the
> same command line?

AFAIK, the last one is used. That could indeed by an issue.

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien at aurel32.net                 http://www.aurel32.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20150929/4d5ec1f3/attachment.sig>


More information about the pkg-gnome-maintainers mailing list