On 1/5/21 1:15 PM, GitLab Bridge on behalf of jmflinuxtx wrote:
Fedora Rawhide has started including gcc 11,and the g++ compiler
throws a wobbly when it hits scripts/gcc-plugins:
In file included from /usr/include/c++/11/type_traits:35,
/usr/include/c++/11/bits/c++0x_warning.h:32:2: error: #error This file
compiler and library support for the ISO
C++ 2011 standard. This support must be enabled with the -std=c++11
-std=gnu++11 compiler options.
32 | #error This file requires compiler and library support \
In fact, it works just fine with c++11, which has been in gcc since 4.8,
and we now require 4.9 as a minimum.
Signed-off-by: Valdis Kletnieks <valdis.kletnieks(a)vt.edu>
scripts/gcc-plugins/Makefile | 4 ++--
Acked-by: Prarit Bhargava <prarit(a)redhat.com>