Laurent GUERBY wrote:

Since GNU Ada already has a pragma Warnings On/Off, if more than
one front-end define it may be it's worth having a flag
going through  the backend to suppress backend warnings too.

Laurent

Note that the Warnings On/Off in GNAT works on syntactic positions
of flags, not on some concept of semantic construct. Warnings On
sets a starting source location, Warnings Off sets an ending
source location, and any warning posted at a source location in
this range is suppressed.

That's rather different from trying to apply warnings off/on to
a particular construct.

Reply via email to