On Mon, Jul 20, 2015 at 5:55 AM, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote: > On 20 July 2015 at 07:29, Jeffrey Walton wrote: >> 6.61.10 Diagnostic Pragmas, >> https://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html, does not >> tell us when it became available. >> >> I've been through the change logs from 44 through 4.8, and I can't >> tell when it became available >> (https://gcc.gnu.org/gcc-4.4/changes.html, >> https://gcc.gnu.org/gcc-4-5/changes.html, >> https://gcc.gnu.org/gcc-4.6/changes.html, >> https://gcc.gnu.org/gcc-4.7/changes.html, >> https://gcc.gnu.org/gcc-4.8/changes.html). >> >> When did 'pragma diagnostic' become available? > > The oldest manual it's documented in is 4.2.0 > > https://gcc.gnu.org/onlinedocs/gcc-4.2.0/gcc/Diagnostic-Pragmas.html > > It's not mentioned in the 4.2 release notes and I didn't test if it works in 4.1 It does not work on RHEL5 4.1.2.