Re: [PATCH] Fix bootstrap on arm target

2017-05-10 Thread Arnaud Charlet
> >> It is due to a -Werror warning when passing GNAT_EXCEPTION_CLASS > >> which is a string constant to exception_class_eq, but C++ forbids to > >> cast > >> that to "char*". > >> > >> Not sure what is the smartest solution, I tried the following and it > >> seems to work for x86_64-pc-linux-gnu a

Re: [PATCH] Fix bootstrap on arm target

2017-05-10 Thread Bernd Edlinger
On 05/09/17 15:10, Arnaud Charlet wrote: >> >> since a few days the bootstrap of ada fails on a native arm target. >> >> It is due to a -Werror warning when passing GNAT_EXCEPTION_CLASS >> which is a string constant to exception_class_eq, but C++ forbids to cast >> that to "char*". >> >> Not sure w

Re: [PATCH] Fix bootstrap on arm target

2017-05-09 Thread Arnaud Charlet
> > since a few days the bootstrap of ada fails on a native arm target. > > It is due to a -Werror warning when passing GNAT_EXCEPTION_CLASS > which is a string constant to exception_class_eq, but C++ forbids to cast > that to "char*". > > Not sure what is the smartest solution, I tried the foll

[PATCH] Fix bootstrap on arm target

2017-05-09 Thread Bernd Edlinger
Hi, since a few days the bootstrap of ada fails on a native arm target. It is due to a -Werror warning when passing GNAT_EXCEPTION_CLASS which is a string constant to exception_class_eq, but C++ forbids to cast that to "char*". Not sure what is the smartest solution, I tried the following and it