This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC Pragmas
Thank you very much.
On Sat, Oct 16, 2010 at 1:19 AM, Ian Lance Taylor <iant@google.com> wrote:
> Jeffrey Walton <noloader@gmail.com> writes:
>
>> I was trolling the list of pragmas at
>> http://gcc.gnu.org/onlinedocs/gcc/Pragmas.html.
>>
>> I believe some familiar pragmas are not listed (such as error and warn).
>
> Do you mean these?
>
> http://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html
>
> As far as I know gcc does not support "#pragma error", just "#pragma GCC
> diagnostic error".
>
> Ian
>