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?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to