How to switch off those damm warnings about unknows pragma
From: Lionel Draghi (Lionel.nospam.Draghi_at_Ada-France.org)
Date: 12/12/04
- Next message: Lionel Draghi: "Re: Conditional compilation in Ada?"
- Previous message: Jeff C r e e.m: "Re: Evaluation of Ada-compilers and IDE:s"
- Next in thread: Georg Bauhaus: "Re: How to switch off those damm warnings about unknows pragma"
- Reply: Georg Bauhaus: "Re: How to switch off those damm warnings about unknows pragma"
- Reply: Peter Amey: "Re: How to switch off those damm warnings about unknows pragma"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 12 Dec 2004 01:17:13 +0100
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
- Next message: Lionel Draghi: "Re: Conditional compilation in Ada?"
- Previous message: Jeff C r e e.m: "Re: Evaluation of Ada-compilers and IDE:s"
- Next in thread: Georg Bauhaus: "Re: How to switch off those damm warnings about unknows pragma"
- Reply: Georg Bauhaus: "Re: How to switch off those damm warnings about unknows pragma"
- Reply: Peter Amey: "Re: How to switch off those damm warnings about unknows pragma"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|