[buildbot] r201508: Build failures after pass C++ conversion
Andreas Schwab
schwab@suse.de
Wed Aug 7 07:02:00 GMT 2013
David Malcolm <dmalcolm@redhat.com> writes:
> diff --git a/gcc/coretypes.h b/gcc/coretypes.h
> index edb9c8c..54bfe7f 100644
> --- a/gcc/coretypes.h
> +++ b/gcc/coretypes.h
> @@ -169,6 +169,12 @@ typedef const struct basic_block_def *const_basic_block;
> in target.h. */
> typedef int reg_class_t;
>
> +class rtl_opt_pass;
> +
> +namespace gcc {
> + class context;
> +}
> +
This break Ada.
../../xgcc -B../../ -c -DIN_GCC -DUSE_LIBUNWIND_EXCEPTIONS -O2 -g -W -Wall \
-iquote /usr/local/gcc/gcc-20130807/gcc \
-iquote . -iquote .. -iquote ../.. -iquote /usr/local/gcc/gcc-20130807/gcc/ada -iquote /usr/local/gcc/gcc-20130807/gcc -I/usr/local/gcc/gcc-20130807/gcc/../include -I/usr/local/gcc/gcc-20130807/Build/./gmp -I/usr/local/gcc/gcc-20130807/gmp -I/usr/local/gcc/gcc-20130807/Build/./mpfr -I/usr/local/gcc/gcc-20130807/mpfr -I/usr/local/gcc/gcc-20130807/mpc/src \
../rts/targext.c -o targext.o
In file included from ../rts/targext.c:45:0:
/usr/local/gcc/gcc-20130807/gcc/coretypes.h:172:1: error: unknown type name 'class'
class rtl_opt_pass;
^
/usr/local/gcc/gcc-20130807/gcc/coretypes.h:174:1: error: unknown type name 'namespace'
namespace gcc {
^
/usr/local/gcc/gcc-20130807/gcc/coretypes.h:174:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
namespace gcc {
^
make[3]: *** [targext.o] Error 1
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Gcc-patches
mailing list