From: "G.B." <rm-dash-bau-haus@dash.futureapps.de>
Subject: Re: Strange bug in GNAT
Date: Thu, 03 Jul 2014 15:33:28 +0200
Date: 2014-07-03T15:33:28+02:00 [thread overview]
Message-ID: <53b55ba8$0$6656$9b4e6d93@newsspool3.arcor-online.net> (raw)
In-Reply-To: <lyr423bjvt.fsf@pushface.org>
[-- Attachment #1: Type: text/plain, Size: 387 bytes --]
On 02.07.14 22:12, Simon Wright wrote:
> Is there any chance that you can reproduce the problem using GNAT GPL?
It works with or without the anonymous block with GNAT GPL 2014
and AWS GPS 2014 on a Mac. I have had to tweak the make .gpr
a bit, to make it independent of the testing setup. The unit
"tests/minimal.adb" is like "tests/upload_server.adb" without
the non-debug branches.
[-- Attachment #2: simple-webapps.diff --]
[-- Type: text/plain, Size: 1169 bytes --]
diff --git a/src/simple_webapps-upload_servers.adb b/src/simple_webapps-upload_servers.adb
index 71c2892..c16fab3 100644
--- a/src/simple_webapps-upload_servers.adb
+++ b/src/simple_webapps-upload_servers.adb
@@ -155,11 +155,11 @@ package body Simple_Webapps.Upload_Servers is
null; -- processed below
when others =>
- begin -- explicit block needed to work around a GNAT parsing bug
+-- begin -- explicit block needed to work around a GNAT parsing bug
return Error_Page
(AWS.Messages.S405,
Dispatcher.DB.Query.Data.Error_Template);
- end;
+-- end;
end case;
declare
diff --git a/webapps.gpr b/webapps.gpr
index 53b2130..4ad6a93 100644
--- a/webapps.gpr
+++ b/webapps.gpr
@@ -15,10 +15,10 @@ project Webapps is
Prefix := "coverage/";
end case;
- for Source_Dirs use ("src");
+ for Source_Dirs use ("src", "tests");
for Object_Dir use Prefix & "obj";
for Exec_Dir use Prefix & "bin";
- for Main use ("upload_server.adb");
+ for Main use ("minimal.adb");
case Mode is
when "Release" =>
next prev parent reply other threads:[~2014-07-03 13:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-02 18:33 Strange bug in GNAT Natasha Kerensikova
2014-07-02 20:12 ` Simon Wright
2014-07-03 13:33 ` G.B. [this message]
2014-07-05 15:26 ` Natasha Kerensikova
2014-07-05 15:28 ` Natasha Kerensikova
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox