This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/69881] with gcc-6 of today building gcc-4.9 fails
- From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 22 Feb 2016 16:30:55 +0000
- Subject: [Bug libstdc++/69881] with gcc-6 of today building gcc-4.9 fails
- Auto-submitted: auto-generated
- References: <bug-69881-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69881
--- Comment #22 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
yes, I would really have liked the warning, but...
/../gcc-trunk/gcc/../libdecnumber/bid -I../libdecnumber
-I../../gcc-trunk/gcc/../libbacktrace -I/home/ed/gnu/gcc-build/./isl/include
-I/home/ed/gnu/gcc-trunk/isl/include -o c/c-lang.o -MT c/c-lang.o -MMD -MP -MF
c/.deps/c-lang.TPo ../../gcc-trunk/gcc/c/c-lang.c
In file included from /home/ed/gnu/gcc-build/./gmp/gmp.h:51:0,
from ../../gcc-trunk/gcc/system.h:669,
from ../../gcc-trunk/gcc/c/c-lang.c:22:
/home/ed/gnu/gcc-build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/cstddef:53:2:
error: #warning __need_size_t is not supported in cstddef [-Werror=cpp]
#warning __need_size_t is not supported in cstddef
^~~~~~~
cc1plus: all warnings being treated as errors
...but it would force us to update all of gmp/mpfr/mpc immediately.
anyway that move is probably overdue now, but that should definitely
be on our gcc-7 to-do list. Jakub?
BTW: From the gmp-6.1.0/ChangeLog I see:
2013-10-08 Marc Glisse <marc.glisse@inria.fr>
* doc/mdate-sh, doc/texinfo.tex, install-sh, missing, ylwrap: Remove.
* .bootstrap: Use autoreconf (and in particular automake -a).
* gmp-h.in: Remove __need_size_t. Include <stddef.h>, not <cstddef>.
* tests/mpf/reuse.c (main): Use small numbers as exponents.