[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] gm2 on Fedora failure
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] gm2 on Fedora failure |
Date: |
Mon, 30 Oct 2017 09:33:37 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Christoph Schlegel <address@hidden> writes:
> Hello Gaius,
>
> using the script you provided to graft gm2 on gcc trunk I get:
>
> ../gcc-8.0.0/gcc -I../../gcc-8.0.0/gcc/gm2/gm2-compiler-boot
> -I../../gcc-8.0.0/gcc/../include -I../../gcc-8.0.0/gcc/../libcpp/include
> -I../../gcc-8.0.0/gcc/../libdecnumber
> -I../../gcc-8.0.0/gcc/../libdecnumber/bid -I../libdecnumber
> -I../../gcc-8.0.0/gcc/../libbacktrace -I../../gcc-8.0.0/gcc/gm2 \
> -Igm2 -Igm2/gm2-compiler-boot -Igm2/gm2-libs-boot
> gm2/gm2-compiler/m2flex.c -o gm2/gm2-compiler-boot/m2flex.o
> In file included from
> ../../gcc-8.0.0/gcc/gm2/gm2-gcc/gcc-consolidation.h:45:0,
> from ../../gcc-8.0.0/gcc/gm2/m2.flex:22:
> ../../gcc-8.0.0/gcc/attribs.h: In function 'tree_node*
> canonicalize_attr_name(tree)':
> ../../gcc-8.0.0/gcc/attribs.h:118:12: error: 'get_identifier_with_length' was
> not declared in this scope
> return get_identifier_with_length (s + 2, l - 4);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../gcc-8.0.0/gcc/attribs.h:118:12: note: suggested alternative:
> 'ht_identifier_ptr'
> return get_identifier_with_length (s + 2, l - 4);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~
> ht_identifier_ptr
> <stdout>: In function 'yy_buffer_state* yy_scan_bytes(const char*, int)':
> <stdout>:2611:17: warning: comparison between signed and unsigned integer
> expressions [-Wsign-compare]
> ../../gcc-8.0.0/gcc/gm2/m2.flex: In function 'void consumeLine()':
> ../../gcc-8.0.0/gcc/gm2/m2.flex:489:27: warning: comparison between signed
> and unsigned integer expressions [-Wsign-compare]
> currentLine->linebuf = (char *)xrealloc (currentLine->linebuf, yyleng);
> ~~~~~~~~~~~~~~~~~~~~^~~~~~~
> ../../gcc-8.0.0/gcc/gm2/m2.flex: In function 'void
> assert_location(location_t)':
Hi Christoph,
ah many thanks for the feedback - I think this is now fixed on the
trunc,
regards,
Gaius