[Ada] AI12-0411 Add "bool" to Interfaces.C

2021-06-17 Thread Pierre-Marie de Rodat
This AI got updated to remove some detected incompatibilities and Interfaces.C.bool is now named Interfaces.C.C_bool. Tested on x86_64-pc-linux-gnu, committed on trunk gcc/ada/ * libgnat/i-c.ads, libgnat/i-cexten.ads, libgnat/i-cexten__128.ads: bool renamed C_bool.diff --git a/gc

[Ada] AI12-0411: Add "bool" to Interfaces.C

2021-05-06 Thread Pierre-Marie de Rodat
This AI adds in Interfaces.C a binding to the C type _Bool/bool. Note that this AI makes ambiguous the construct pragma Assert (False) when using Interfaces.C. To hopefully provide slightly better backward compatibility, we make Interfaces.C.Extensions.bool a renaming of Interfaces.C.bool so that