> 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, where it doesn't have to care about non-gcc compilers and > older versions of gcc. > > alpha-dec-osf5.1b bootstrap has completed, make check currently > running. Of for mainline if that passes?
The Ada part is OK. I can't formally approve the tsystem.h bit though. Arno