comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: I am leaving Ada :-( because of GNAT bugs
Date: Thu, 07 Dec 2017 09:54:21 +0000
Date: 2017-12-07T09:54:21+00:00	[thread overview]
Message-ID: <lyh8t2q2wi.fsf@pushface.org> (raw)
In-Reply-To: p0ari4$djp$1@gioia.aioe.org

Victor Porton <porton@narod.ru> writes:

> Yet one mysterious bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83310
>
> I am leaving Ada and try to learn Rust or D, or maybe even code in C# 
> instead.
>
> I cannot tolerate GNAT bugs anymore.
>
> For the last bug I simply don't know what is a workaround.

And no one else is going to try to find out, because your attachments to
that bug report aren't complete (you've left out the libraries
"components" and "librdf" that are required by your GPR).

You'd be more likely to get a response if you read and took to heart the
advice in StackOverflow's "How to create a Minimal, Complete, and
Verifiable example" at <https://stackoverflow.com/help/mcve>.

Here, compiling your problem source with GCC 7.1.0 gives

$ /opt/gcc-7.1.0/bin/gnatmake boiler-rdf_format-resource-parser.adb
gcc -c boiler-rdf_format-resource-parser.adb
boiler-rdf_format-resource-parser.adb:3:04: missing "return" statement in function body
boiler-rdf_format-resource-parser.adb:3:20: not type conformant with declaration at boiler-rdf_format-resource-parser.ads:29
boiler-rdf_format-resource-parser.adb:3:20: type of "S" does not match
boiler-rdf_format-resource-parser.adb:9:32: no selector "" for type "Command_Script_Info" defined at boiler-rdf_format-resource.ads:21
gnatmake: "boiler-rdf_format-resource-parser.adb" compilation error

and with GCC 8.0.0 gives

$ /opt/gcc-8.0.0/bin/gnatmake boiler-rdf_format-resource-parser.adb
gcc -c boiler-rdf_format-resource-parser.adb
boiler-rdf_format-resource-parser.adb:3:04: missing "return" statement in function body
boiler-rdf_format-resource-parser.adb:3:20: not type conformant with declaration at boiler-rdf_format-resource-parser.ads:29
boiler-rdf_format-resource-parser.adb:3:20: type of "S" does not match
rdf-redland-query_results.ads:35:19: subprogram "Finished" overrides inherited operation at rdf-auxiliary-limited_handled_record.ads:40, instance at line 90
rdf-redland-query_results.ads:35:19: subprogram "Finished" overrides inherited operation
gnatmake: "boiler-rdf_format-resource-parser.adb" compilation error

  reply	other threads:[~2017-12-07  9:54 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-07  7:45 I am leaving Ada :-( because of GNAT bugs Victor Porton
2017-12-07  9:54 ` Simon Wright [this message]
2017-12-09  8:53 ` bj.mooremr
2017-12-09  9:35   ` Simon Wright
2017-12-11 22:47     ` Randy Brukardt
2017-12-12 19:43   ` jm.tarrasa
2017-12-12 20:50     ` Dmitry A. Kazakov
2017-12-12 21:15     ` Paul Rubin
2017-12-13  7:01       ` Luke A. Guest
2017-12-13 17:46         ` Jeffrey R. Carter
2017-12-13 19:37           ` Jacob Sparre Andersen
2017-12-13 21:52             ` Jeffrey R. Carter
2017-12-14 12:54               ` Lucretia
2017-12-14 12:52           ` Lucretia
2017-12-14 13:44             ` Dmitry A. Kazakov
2017-12-14 14:53               ` MM
2017-12-14 16:43                 ` Luke A. Guest
2017-12-14 19:37                   ` MM
2017-12-14 17:01             ` Jeffrey R. Carter
2017-12-15 21:52         ` Paul Rubin
2017-12-12 22:57 ` Mehdi Saada
2017-12-13  6:43   ` Per Sandberg
2017-12-13  7:01   ` Luke A. Guest
2017-12-13  8:03   ` G. B.
2017-12-13  9:06     ` Dmitry A. Kazakov
2017-12-13 17:41   ` Jeffrey R. Carter
replies disabled

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