comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <pascal@obry.org>
Subject: Re: Anybody using Adabroker with GNAT 3.3?
Date: 05 Jun 2004 19:36:58 +0200
Date: 2004-06-05T17:36:58+00:00	[thread overview]
Message-ID: <u4qppkith.fsf@obry.org> (raw)
In-Reply-To: mailman.45.1086435875.391.comp.lang.ada@ada-france.org


Stephen Leake <stephen_leake@acm.org> writes:

> >                        declare
> >                            Ok : constant Boolean
> >                              := Add_Identifier (Result, Get_Token_String);
> >                            pragma Warnings (Off);
> >                            pragma Unreferenced (Ok);
> >                            pragma Warnings (On);
> 
> This is bizarre code. I would delete the two Warnings pragmas

That's not bizarre. These pragmas are their to kill warnings for old GNAT
version which does not have pragma Unreferenced implemented.

PascaL.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



      reply	other threads:[~2004-06-05 17:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-04  1:18 Anybody using Adabroker with GNAT 3.3? Bruce Conroy
2004-06-04  5:18 ` Oliver Kellogg
2004-06-05  2:19   ` Bruce Conroy
2004-06-05  9:54     ` Jerome Hugues
2004-06-05 17:11       ` Bruce Conroy
2004-06-05 11:44     ` Stephen Leake
2004-06-05 17:36       ` Pascal Obry [this message]
replies disabled

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