This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: When did 'pragma diagnostic' become available?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]