I have kept ebuilds for the last stable version of Mumble (and its dependencies not required by any other packages) in a local overlay. So dev-libs/protobuf-3.61 was recently marked stable (from 3.5.2 as the previously newest stable ebuild), and since 3.6.1 contains newer versions of libprotobuf, libprotobuf-lite, and libprotoc, that upgrade required a rebuild of Mumble, which failed (with the relevant part of the build log shown below).
Code: Select all
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/mutex:35:0,
from /usr/include/google/protobuf/stubs/mutex.h:33,
from /usr/include/google/protobuf/stubs/common.h:52,
from Mumble.pb.h:9,
from Mumble.pb.cc:4:
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support \
^~~~~
compilation terminated due to -Wfatal-errors.
make[1]: *** [Makefile:2532: Mumble.pb.o] Error 1
make[1]: *** Waiting for unfinished jobs....
GlobalShortcut_unix.cpp: In member function 'virtual QString GlobalShortcutX::buttonName(const QVariant&)':
GlobalShortcut_unix.cpp:340:79: warning: 'KeySym XKeycodeToKeysym(Display*, KeyCode, int)' is deprecated [-Wdeprecated-declarations]
KeySym ks=XKeycodeToKeysym(QX11Info::display(), static_cast<KeyCode>(key), 0);
I have never seen an error message like this before, and wonder if someone can explain to me what is going on.

