[ADA PATCH]: Fix -Wc++-compat warnings in the ada directory

Arnaud Charlet charlet@adacore.com
Fri Jun 27 07:49:00 GMT 2008


> This patch cleans up the -Wc++-compat warnings in the ada directory. Note
> adaint.c cannot use the libiberty allocator macros because it seems that
> it's used on the host as well as the target.  In the target case it does
> not include libiberty.h to get the macros, so I used casts in that file.
> 
> Tested by bootstrapping on x86_64-unknown-linux-gnu with languages=c,ada
> and there were no unexpected failures in the gnat or acats testsuites.
> 
> Okay for mainline?

Patch is OK.

Arno



More information about the Gcc-patches mailing list