From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f76234be56454346,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed-east.nntpserver.com!nntpserver.com!statler.nntpserver.com!newsfeed.media.kyoto-u.ac.jp!newsfeed2.dti.ad.jp!mfeed-news!newsgate1.web.ad.jp!news501.nifty.com!not-for-mail From: "Y.Tomino" Newsgroups: comp.lang.ada Subject: -gnatW8 and Ada.Numerics Date: Fri, 14 Jul 2006 02:42:55 +0900 Organization: @nifty netnews service Message-ID: NNTP-Posting-Host: nttcgi010194.tcgi.nt.adsl.ppp.infoweb.ne.jp Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Trace: news521.nifty.com 1152812568 5324 219.97.138.194 (13 Jul 2006 17:42:48 GMT) X-Complaints-To: - NNTP-Posting-Date: Thu, 13 Jul 2006 17:42:48 +0000 (UTC) User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) Xref: g2news2.google.com comp.lang.ada:5668 Date: 2006-07-14T02:42:55+09:00 List-Id: 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