Bug#802786: libsigc++-2.0-dev: c++ only option in cflags

Michael Biebl biebl at debian.org
Fri Oct 23 15:43:55 UTC 2015


Am 23.10.2015 um 17:01 schrieb Michael Biebl:
> 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.

Afaics, this is a warning by default. So the mere existence of
-std=c++11 does not make said package ftbfs, only if you combine that
with -Werror.
It would also be good to have an actual list of packages which FTBFS
because of that.
I recompiled all rdeps of libsigc++2.0-dev/libglibmm2.4-dev before
applying that change and did not notice any build failures because of that.

The alternative to dropping the .pc file hack is to have ~90 RC bugs
[1]. As said, it would be good to have an actual list of packages
failing to build because of that change. This would make it easier to
evaluate the situation.
If there are only one or two, dropping -Werror for those package seems
like the better alternative then having to touch 90 packages.

CCing Emilio in his role as release manager. I talked to him about this
issue before making this change.

Let's hear his input.

Michael




[1] https://people.debian.org/~biebl/mm-stack/logs-sid/failed/
-- 
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/e9975e93/attachment.sig>


More information about the pkg-gnome-maintainers mailing list