After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 756504 - C++11 requirement not in pkg-config file
C++11 requirement not in pkg-config file
Status: RESOLVED DUPLICATE of bug 755750
Product: glibmm
Classification: Bindings
Component: general
2.46.x
Other Linux
: Normal critical
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2015-10-13 13:41 UTC by Tim Niemueller
Modified: 2015-10-14 06:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim Niemueller 2015-10-13 13:41:04 UTC
The recent version introduces C++11 elements. Since this is not yet the default for GCC, the appropriate flag must be added explicitly. The omissions breaks any code not setting the flag explicitly on its own. This also affects using glibmm indirectly, e.g. through libxml++.

The simple solution is to add "-std=c++11" to the pkg-config file for compilations on Linux systems. This is compatible at least with GCC and clang.
Comment 1 Murray Cumming 2015-10-14 06:58:41 UTC

*** This bug has been marked as a duplicate of bug 755750 ***