https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80200
Bug ID: 80200
Summary: decNumber.c : error : #include_next is a GCC extension
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: roman.morokutti at googlemail dot com
Target Milestone: ---
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.
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.
Configure:
/home/roman/gcc-source/configure --disable-libstdcxx-pch
Please resolve this bug.
Thank you in advance.
Best regards,
Roman