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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.43.117.72 with SMTP id fl8mr1757847icc.23.1424291644443; Wed, 18 Feb 2015 12:34:04 -0800 (PST) X-Received: by 10.140.18.213 with SMTP id 79mr44598qgf.38.1424291644307; Wed, 18 Feb 2015 12:34:04 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!au2pb.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!hl2no18651383igb.0!news-out.google.com!n6ni9qar.0!nntp.google.com!j7no1431462qaq.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 18 Feb 2015 12:34:04 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=84.106.97.11; posting-account=-iT6ZQoAAAAlqBCInAc-vB6x1soT8Jhq NNTP-Posting-Host: 84.106.97.11 References: <234cdad3-5c41-4b0d-b611-01c53273cb7f@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2819f4a4-3394-455d-99fe-f2bd077cc74d@googlegroups.com> Subject: Re: Get_Immediate has raised CONSTRAINT_ERROR : s-wchcnv.adb:207 explicit raise From: darek Injection-Date: Wed, 18 Feb 2015 20:34:04 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Received-Bytes: 1990 X-Received-Body-CRC: 1215379132 Xref: news.eternal-september.org comp.lang.ada:24982 Date: 2015-02-18T12:34:04-08:00 List-Id: Hi Simon, the -gnatW8 compiler option does the trick - the problem is solved. Thanks for your suggestions. It would take same time for me to figure this out on my own. On the other hand, in such a versatile system (GNAT Ada) it should work "out of the box" via a specialised (and OS independent) package. Thanks again. Cheers, Darek On Wednesday, 18 February 2015 21:16:17 UTC+1, Simon Wright wrote: > Someone was asking a very closely related question (i.e. the very same > constraint error) on Stack Overflow recently [1]. > > The answer there was to open the input file with a non-default wide > character encoding method: Form => "WCEM=8" was suggested. > > Not sure how to get this effect on standard input.You could try > compiling with -gnatW8. > > [1] http://stackoverflow.com/q/28486505