https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80200
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Roman from comment #0) > Hello, > > while building the Subversion tree (Revision 246482) the following error > occurs: > > In file included from /home/roman/gcc-source/libdecnumber/decNumber.c:175:0: > /usr/local/include/c++/7.0.0/stdlib.h:30:3: error: #include_next is a GCC > extension [-Werror] > # include_next <stdlib.h> > ^~~~~~~~~~~~ > In file included from > /home/roman/gcc-source/libdecnumber/decNumberLocal.h:40:0, > from /home/roman/gcc-source/libdecnumber/decNumber.c:181: > /usr/local/include/c++/7.0.0/stdlib.h:30:3: error: #include_next is a GCC > extension [-Werror] > # include_next <stdlib.h> > ^~~~~~~~~~~~ > cc1: all warnings being treated as errors > Makefile:193: recipe for target 'decNumber.o' failed. --disable-werror will allow the build to proceed. > Operating System: Gentoo > > Build System: > /usr/local/bin/gcc --version > gcc (GCC) 7.0.1 20170304 (experimental) > Copyright (C) 2017 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This is not very useful information, we know what the copyright notice for GCC says! :-) As it says at https://gcc.gnu.org/bugs/ the output of 'gcc -v' is what we need.