https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117676
Bug ID: 117676
Summary: Missing package Wide_Command_Line and
Wide_Wide_Command_Line
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: dramwang at 163 dot com
CC: dkm at gcc dot gnu.org
Target Milestone: ---
Wide_Command_Line and Wide_Wide_Command_Line is specified in Ada 2022, but it
seems that currently GNAT does not support them. e.g.:
```
with Ada.Wide_Wide_Command_Line ;
with Ada.Wide_Wide_Text_Io ;
procedure A is
begin
if Ada.Wide_Wide_Command_Line.Argument_Count = 0 then
Ada.Wide_Wide_Text_Io.Put ("Usage") ;
else
Ada.Wide_Wide_Text_Io.Put (Ada.Wide_Wide_Command_Line.Argument (1)) ;
end if ;
end A ;
```
Failed to compile with following message:
```
% gnat make a.adb
gcc -c a.adb
a.adb:1:06: error: "Ada.Wide_Wide_Command_Line" is not a predefined library
unit
gnatmake: "a.adb" compilation error
```
Tested with git master branch (rev 234da38).
```
% gnat --version
GNAT 15.0.0 20241119 (experimental)
```
[1] https://www.adaforge.org/adaic/RM-22-Html/RM-A-15-1.html