Bug#802786: libsigc++-2.0-dev: c++ only option in cflags
Michael Biebl
biebl at debian.org
Fri Oct 23 15:01:23 UTC 2015
Am 23.10.2015 um 16:47 schrieb Bernd Zeimetz:
> Package: libsigc++-2.0-dev
> Version: 2.6.1-3
> Seveirity: grave
>
> hi,
>
> sigc++-2.0.pc has -std=c++11 in the Cflags option - but -std= is a
> c++ compiler only option. So packages which depend on your library
> (for example packages using gtkmm) ftbfs trying to compile their C
> code with
>
> cc1: error: command line option '-std=c++11' is valid for C++/ObjC++ but
> not for C [-Werror]
>
> Removing -std=c++11 from your .pc files makes these packages build
> again.
> I can see that there is a problem to require -std=c++11 while
> pkg-config only provides Cflags as an option. But putting flags
> gcc whines about into Cflags is not an option unfortunately.
> Thats what cxxflags are for - which are not supported by pkg-config
> unfortunately as far as I can see.
Which packages fail to build because of that?
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20151023/398dbcce/attachment.sig>
More information about the pkg-gnome-maintainers
mailing list