Eric Botcazou 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.There is already TREE_NO_WARNING and the Ada compiler sets it on entities subject to pragma Warnings (entity, Off). The problem of suppressing warnings for a whole given portion of code is of course more complex.
Right, the entity case is quite different indeed ...