Example:
In file included from /usr/include/c++/7.1.0/type_traits:35:0,
from /usr/include/QtCore/qglobal.h:45,
from /usr/include/QtCore/QtGlobal:1,
from qt4.hpp:32,
from input_manager.cpp:33:
/usr/include/c++/7.1.0/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 \
^~~~~
In file included from /usr/include/QtCore/qglobal.h:98:0,
from /usr/include/QtCore/QtGlobal:1,
from qt4.hpp:32,
from input_manager.cpp:33:
/usr/include/QtCore/qcompilerdetection.h:567:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that.
# error Qt requires a C++11 compiler and yours does not seem to be that.
^~~~~
In file included from /usr/include/QtCore/qatomic.h:46:0,
from /usr/include/QtCore/qglobal.h:1153,
from /usr/include/QtCore/QtGlobal:1,
from qt4.hpp:32,
from input_manager.cpp:33:
/usr/include/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support"
# error "Qt requires C++11 support"
^~~~~