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,182c0df39337eeca X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!t38g2000prd.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: Wide Character Problem in Ada.Numerics Date: 26 Apr 2007 18:47:24 -0700 Organization: http://groups.google.com Message-ID: <1177638444.803713.97340@t38g2000prd.googlegroups.com> References: <1177363740.965003.247270@l77g2000hsb.googlegroups.com> <462E4461.2060707@obry.net> <1177554717.782721.184790@r35g2000prh.googlegroups.com> <4630F784.6060208@obry.net> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1177638466 14897 127.0.0.1 (27 Apr 2007 01:47:46 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 27 Apr 2007 01:47:46 +0000 (UTC) In-Reply-To: <4630F784.6060208@obry.net> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.7.12-1.3.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: t38g2000prd.googlegroups.com; posting-host=66.126.103.122; posting-account=cw1zeQwAAABOY2vF_g6V_9cdsyY_wV9w Xref: g2news1.google.com comp.lang.ada:15336 Date: 2007-04-26T18:47:24-07:00 List-Id: On Apr 26, 12:03 pm, Pascal Obry wrote: > David Smith a =E9crit : > > >> Did you try -gnatif option ? > > > That worked, but I don't understand why. > > GNAT User's Guide section 3.2.10 Character Set Control : > > -gnati > > f > Full upper-half codes allowed in identifiers I still don't understand why this would work... upper half of what? I'd assume "upper-half" refers to characters in the 16#A0#..16#FF# range, but the original poster had problems when it processed a Greek "pi" in a runtime source, which isn't in the upper half of anything (unless you count ISO-8859-7, the Greek alphabet!). It's certainly not anywhere in Latin-1 (ISO-8859-1). And I doubt that "upper-half" means the upper half of Unicode (16#8000#..16#FFFD#?), which I believe would start somewhere in the middle of the Chinese character set. So why would -gnatif magically make pi work? Mighty strange......... -- Adam