comp.lang.ada
 help / color / mirror / Atom feed
From: Lionel Draghi <Lionel.nospam.Draghi@Ada-France.org>
Subject: How to switch off those damm warnings about unknows pragma
Date: Sun, 12 Dec 2004 01:17:13 +0100
Date: 2004-12-12T01:17:23+01:00	[thread overview]
Message-ID: <41bb8e13$0$19258$626a14ce@news.free.fr> (raw)
In-Reply-To: <1639937.gfTbZPTudf@linux1.krischik.com>

Martin Krischik a �crit :
...
> The thing I which for is a pragma to switch off the damm warning about not
> knowing pragma X.

I strongly agree. We do use handy GNAT specific pragma, and they cause 
lots of spurious warning when compiling with ObjectAda. Filtering those 
useless warning is a pain.

But even before adding a new pragma to the language, I asked to myself 
why compiler vendors don't provide a compile option to ignore a 
(precise) list of pragmas. I suppose it's a simple change in compilers code.

My hypothesis is that:
- vendors don't wan't to ease the life of customers using competitor's 
product :-)
- most Ada programs are compiled for a single platform
- most of those compiled for more platform are with the same compiler
- most of those compiled with several compiler or for several platform 
are when migrating from one to another, and don't actually target them 
simultaneously
Let's now remove from the few remaining those using no specific pragma, 
and those who don't read warnings :-), and there is almost no customer 
in the world for seach a feature!

Anyway, we are at least two :-)

-- 
Lionel Draghi



  parent reply	other threads:[~2004-12-12  0:17 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-16 18:30 Conditional compilation in Ada? jtg
2004-11-16 18:45 ` Marius Amado Alves
2004-11-16 20:41   ` Nick Roberts
2004-11-17  8:36     ` Alex R. Mosteo
2004-11-16 19:03 ` Jeffrey Carter
2004-11-16 19:13   ` Hyman Rosen
2004-11-16 19:41     ` Björn Lundin
2004-11-16 20:08     ` tmoran
2004-11-16 20:27       ` Hyman Rosen
2004-11-16 23:49         ` Jim Rogers
2004-11-16 20:43     ` Martin Dowie
2004-11-16 19:06 ` tmoran
2004-11-17  9:39   ` Adrien Plisson
2004-11-17 16:39     ` Jacob Sparre Andersen
2004-11-17  2:44 ` Steve
2004-11-17 20:30   ` Jeffrey Carter
2004-11-18  4:09     ` Steve
2004-11-18  6:49       ` Martin Dowie
2004-11-18 15:17         ` Georg Bauhaus
2004-11-18 19:12           ` Martin Dowie
2004-11-18 17:34         ` Jeffrey Carter
2004-11-18 17:44       ` Jeffrey Carter
2004-11-18 18:03         ` Alex R. Mosteo
2004-11-19  3:00           ` Steve
2004-11-19 21:35             ` Simon Wright
2004-11-20  2:56               ` Steve
2004-11-20 16:57                 ` Simon Wright
2004-11-17  9:28 ` Martin Krischik
2004-11-17 13:39   ` Stephen Leake
2004-11-17 10:02 ` Frank Piron
2004-11-17 12:32   ` Georg Bauhaus
2004-11-17 14:44     ` Dmitry A. Kazakov
2004-11-18 15:23       ` Georg Bauhaus
2004-11-18 22:10         ` Brian May
2004-11-19  9:03           ` Martin Krischik
2004-11-20 17:31             ` Georg Bauhaus
2004-11-21  9:14               ` Martin Krischik
2004-12-12  0:36               ` Lionel Draghi
2004-12-12  0:17             ` Lionel Draghi [this message]
2004-12-13 11:10               ` How to switch off those damm warnings about unknows pragma Georg Bauhaus
2004-12-13 15:07               ` Peter Amey
2004-11-20  1:05         ` Conditional compilation in Ada? Dr. Adrian Wrigley
2004-11-20 17:25           ` Georg Bauhaus
2004-11-23  1:15           ` Arthur Schwarz
2004-11-23 15:42             ` skidmarks
2004-11-17 12:27 ` Marin David Condic
replies disabled

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