[Ada] Adding support for Ada.Locales package

Programming / Compilers / GCC - pmderodat [138bc75d-0d04-0410-961f-82ee72b054a4] - 22 May 2018 13:19 EDT

This patch adds generic support for the Ada.Locales package that relies on the setlocale() C service.

2018-05-22 Javier Miranda

gcc/ada/

- locales.c: New implementation for the Ada.Locales package.
- libgnat/a-locale.ads: Remove comment indicating that this is not implemented.
- doc/gnat_rm/standard_library_routines.rst: Remove comment indicating that this is not implemented.
- gnat_rm.texi: Regenerate.

46901a511bd [Ada] Adding support for Ada.Locales package
gcc/ada/ChangeLog | 9 +
gcc/ada/doc/gnat_rm/standard_library_routines.rst | 4 +-
gcc/ada/gnat_rm.texi | 4 +-
gcc/ada/libgnat/a-locale.ads | 4 -
gcc/ada/locales.c | 843 +++++++++++++++++++++-
5 files changed, 846 insertions(+), 18 deletions(-)

Upstream: gcc.gnu.org


  • Share