comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adam@irvine.com>
Subject: Re: Wide Character Problem in Ada.Numerics
Date: 24 Apr 2007 09:35:11 -0700
Date: 2007-04-24T09:35:11-07:00	[thread overview]
Message-ID: <1177432510.964311.114370@r3g2000prh.googlegroups.com> (raw)
In-Reply-To: <qkdk0f.a3t.ln@hunter.axlog.fr>

On Apr 24, 1:03 am, Jean-Pierre Rosen <r...@adalog.fr> wrote:
> 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.

Wait a minute... are you saying that in GNAT, you cannot WITH a
package unless the source of the WITH'ed package uses the same
encoding as the source of the package doing the WITH'ing?  Ouch.  This
somehow seems to run counter to the whole philosophy of abstraction
that packages are supposed to provide.

                                                   -- Adam






  reply	other threads:[~2007-04-24 16:35 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-23 21:29 Wide Character Problem in Ada.Numerics david.smith
     [not found] ` <462daae8$1@news.post.ch>
2007-04-24  8:03   ` Jean-Pierre Rosen
2007-04-24 16:35     ` Adam Beneschan [this message]
2007-04-25  8:28       ` Maciej Sobczak
2007-04-25  9:02       ` Jean-Pierre Rosen
2007-04-26  0:27         ` Brian May
2007-04-26 17:43           ` Adam Beneschan
2007-04-27  0:35             ` Brian May
2007-04-27 12:08             ` Jean-Pierre Rosen
2007-04-27 15:41               ` Adam Beneschan
2007-04-27 16:43                 ` Ray Blaak
2007-04-27 19:04                   ` Randy Brukardt
2007-04-25 10:01       ` Markus E Leypold
2007-04-24  9:16   ` Georg Bauhaus
2007-04-24 17:54 ` Pascal Obry
2007-04-26  2:31   ` David Smith
2007-04-26 19:03     ` Pascal Obry
2007-04-26 19:41       ` Georg Bauhaus
2007-04-26 20:30         ` Pascal Obry
2007-04-27  1:47       ` Adam Beneschan
2007-04-27  2:51         ` David Smith
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox