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,UTF8 Path: g2news1.google.com!news3.google.com!proxad.net!news.in2p3.fr!in2p3.fr!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: Wide Character Problem in Ada.Numerics Date: Tue, 24 Apr 2007 10:03:31 +0200 Organization: Adalog Message-ID: References: <1177363740.965003.247270@l77g2000hsb.googlegroups.com> <462daae8$1@news.post.ch> NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1177405264 13901 195.25.228.57 (24 Apr 2007 09:01:04 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Tue, 24 Apr 2007 09:01:04 +0000 (UTC) User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: <462daae8$1@news.post.ch> Xref: g2news1.google.com comp.lang.ada:15250 Date: 2007-04-24T10:03:31+02:00 List-Id: Martin Krischik a écrit : >> This is the line that has the bracket notation definition of pi in >> it. >> >> Does anyone know what is going on? Why is there an error in a system >> file? > > Yes - I saw that to - GNAT produces this error if utf-8 (-gnatW8) is > used for source code. Best is to file a bug report. > Since, with the source model, specifications are recompiled every time you need them, so is Ada.Numerics. With -gnatW8, you are telling the compiler you are using utf-8, but the source of Ada.Numerics uses bracket notation - hence the error. Not pretty elegant, I admit. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr