てきとう

てきとう

Tagged recordのメンバにUnbounded_Wide_Wide_Stringを含めるとコンパイルできない

~/ada% cat test.adb
with Ada.Strings.Wide_Wide_Unbounded;
procedure Test is
   type Test_Type is tagged record
      A:Ada.Strings.Wide_Wide_Unbounded.Unbounded_Wide_Wide_String;
   end record;
begin
   null;
end Test;
~/ada% gnatmake test.adb
gcc -c test.adb
test.adb:3:09: run-time configuration error
gnatmake: "test.adb" compilation error
~/ada% 

Unbounded_Wide_String、Unbounded_Stringでは通る一方、Unbounded_Wide_Wide_Stringだけは通らない。
コンパイラにオプション渡さなきゃいけないのか、GNATが古いからか、Mac自体が古いからか…
恐らくメモリまわりだろうと想像*1はできるけど、全く理解していないのでよく分からない。
いずれにしても、対応しないと先に進めない…

*1:というか妄想