Fix Tru64 UNIX Ada bootstrap

2011-08-03 Thread Rainer Orth
Tru64 UNIX Ada bootstrap was broken, too: /vol/gcc/src/hg/trunk/solaris/gcc/ada/init.c: In function 'void __gnat_error_handler(int, siginfo_t*, void*)': /vol/gcc/src/hg/trunk/solaris/gcc/ada/init.c:382:50: error: cast from type 'const char*' to type 'char*' casts away qualifiers [-Werror=cast-qu

Re: Fix Tru64 UNIX Ada bootstrap

2011-08-03 Thread Arnaud Charlet
> Fixed as follows, bootstrap is well beyond the failure now. > > Ok for mainline? OK, thanks.

Re: Fix Tru64 UNIX Ada bootstrap

2011-08-04 Thread Rainer Orth
Arnaud, >> Fixed as follows, bootstrap is well beyond the failure now. >> >> Ok for mainline? > > OK, thanks. unfortunately, it turned out that this fix only works when compiling ada/init.c inside gcc, not for gnatlib where CONST_CAST* isn't defined. I need the following patch instead, which is

Re: Fix Tru64 UNIX Ada bootstrap

2011-08-05 Thread Arnaud Charlet
> unfortunately, it turned out that this fix only works when compiling > ada/init.c inside gcc, not for gnatlib where CONST_CAST* isn't defined. > I need the following patch instead, which is also simpler for using > CONST_CAST, not CONST_CAST2, and provides a CONST_CAST definition in > tsystem.h,

Re: Fix Tru64 UNIX Ada bootstrap

2011-08-05 Thread Rainer Orth
Arnaud Charlet writes: >> unfortunately, it turned out that this fix only works when compiling >> ada/init.c inside gcc, not for gnatlib where CONST_CAST* isn't defined. >> I need the following patch instead, which is also simpler for using >> CONST_CAST, not CONST_CAST2, and provides a CONST_CAS