sem_warn.ads, [...] (Publicly_Referenceable): Generic formals of a generic subprogram...
authorEd Schonberg <schonberg@adacore.com>
Tue, 15 Nov 2005 14:04:22 +0000 (15:04 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 Nov 2005 14:04:22 +0000 (15:04 +0100)
commitb47efa9317b548f04e66fc67ecc6965c7dc62718
treee8e70b5e8261c96dee5b03868e6dd377cf4c8a98
parent21024a3946b25d19107c51011b2c6897b45bb8b8
sem_warn.ads, [...] (Publicly_Referenceable): Generic formals of a generic subprogram are not visible outside the body.

2005-11-14  Ed Schonberg  <schonberg@adacore.com>
    Robert Dewar  <dewar@adacore.com>

* sem_warn.ads, sem_warn.adb (Publicly_Referenceable): Generic formals
of a generic subprogram are not visible outside the body.
(Set_Warning_Switch): New procedure (code to set warning mode moved
here from Switch.C so that it can be shared by pragma processing.
(Check_References): Special case warning for non-modified non-imported
volatile objects.
* par-prag.adb: Modify processing of pragma Warnings to accomodate new
form with a string literal argument

From-SVN: r107008
gcc/ada/par-prag.adb
gcc/ada/sem_warn.adb
gcc/ada/sem_warn.ads