From: "Y.Tomino" <demoonlit@panathenaia.halfmoon.jp>
Subject: -gnatW8 and Ada.Numerics
Date: Fri, 14 Jul 2006 02:42:55 +0900
Date: 2006-07-14T02:42:55+09:00 [thread overview]
Message-ID: <e960mo$56c$1@news521.nifty.com> (raw)
Hello.
I take -gnatW8 switch to use UTF-8 string literal with gcc-4.1, also I
want to use Ada.Numerics package.
But compiler reports "illegal wide character" error.
Test:
with Ada.Numerics;
procedure Test is
begin
null;
end Test;
>gnatmake -gnat05 -gnatW8 test
gcc -c -gnat05 -gnatW8 test.adb
a-numeri.ads:24:04: illegal wide character
gnatmake: "test.adb" compilation error
How should I do to compile it ?
It seems allowed by the document:
> UTF-8 encoding (brackets encoding also recognized)
(http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gnat_ugn_unw/Character-Set-Control.html)
I tried with GNAT GPL 2006.
GNAT GPL 2006 can compile it.
--
YT
next reply other threads:[~2006-07-13 17:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-13 17:42 Y.Tomino [this message]
2006-07-14 5:49 ` -gnatW8 and Ada.Numerics Martin Krischik
2006-07-14 12:28 ` Björn Persson
2006-07-14 13:05 ` Ludovic Brenta
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox