From: Simon Wright <simon@pushface.org>
Subject: Re: Newbie questions re Unicode (1)
Date: Sun, 12 Jul 2020 09:25:44 +0100 [thread overview]
Message-ID: <lyd051cf7b.fsf@pushface.org> (raw)
In-Reply-To: 4666523c-0a72-4a00-ac71-9a6d24195752o@googlegroups.com
Ian Douglas <ian@vionia.com> writes:
> If I try to declare a variable using non-Latin, the compiler objects.
>
> φ : Long_Float := 1.6180339887;
>
> Why is that?
>
> I'm using UTF-8 in GPS.
>
> Apparently you need to pass -gnatW8 to the compiler, but I can't
> figure out where in GPS to do that ... the "switches" page shows me
> stuff for Pretty Printer.
Edit. Project Properties, Build, Switches, Ada
At the bottom of the page, there's a summary box, showing all the
switches curently selected: you can type -gnatW8 directly in this box,
even though there's no GUI for selecting it.
By the way, if you're on Windows or macOS, don't use non-Latin
characters in unit names!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81114
next prev parent reply other threads:[~2020-07-12 8:25 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-12 8:14 Newbie questions re Unicode (1) Ian Douglas
2020-07-12 8:25 ` Simon Wright [this message]
2020-07-12 8:42 ` Ian Douglas
2020-07-12 18:43 ` Simon Wright
2020-07-12 20:08 ` Ian Douglas
2020-07-18 12:20 ` Bob Goddard
2020-07-21 19:57 ` Ian Douglas
2020-07-25 11:44 ` 196...@googlemail.com
2020-07-27 13:46 ` Ian Douglas
2020-07-27 20:26 ` Simon Wright
2020-07-29 7:28 ` Ian Douglas
2020-07-29 7:34 ` Ian Douglas
2020-07-29 15:26 ` J-P. Rosen
2020-07-13 15:28 ` Shark8
2020-07-13 16:59 ` Simon Wright
2020-07-21 15:36 ` Shark8
2020-07-21 19:54 ` Ian Douglas
2020-07-21 20:11 ` J-P. Rosen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox