GNOME Bugzilla – Bug 756504
C++11 requirement not in pkg-config file
Last modified: 2015-10-14 06:58:41 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.
*** This bug has been marked as a duplicate of bug 755750 ***