This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Warnings - Does this mean they can't be switched off in the code?
- To: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Subject: Warnings - Does this mean they can't be switched off in the code?
- From: WOOLSTON Grant <grantwoolston at energex dot com dot au>
- Date: Tue, 28 Aug 2001 16:35:09 +1000
Can warnings be switched off for specific parts of the code similar to the
visual C++ #pragma warning directive?
In looking for the answer on this site, I found 3 people who asked a similar
question (see below). However noone appears to have responded. Does this
mean that it can't be done easily?
To: <gcc-help at gcc dot gnu dot org>
Subject: Suppressing gcc warnings
From: "Rimmer, Todd" <trimmer at infiniconsys dot com>
Date: Wed, 22 Aug 2001 19:12:47 -0400
To: Gcc Help <gcc-help at gcc dot gnu dot org>
Subject: [Q] enabling / disabling warnings dynamically
From: Didier Verna <didier at lrde dot epita dot fr>
Date: 15 May 2001 09:21:15 +0
To: gcc-help at gcc dot gnu dot org
Subject: howto punctually disable warnings "control reaches end of
non-void function"
From: Markus Werle <markus at lufmech dot rwth-aachen dot de>
Date: Fri, 20 Jul 2001 16:06:00 +0200 200
*************************************************************************
This email message (including any file attachments transmitted with it)
is for the sole use of the intended recipient(s) and may contain
confidential and legally privileged information. Any unauthorised
review, use, alteration, disclosure or distribution of this email
(including any attachments) by an unintended recipient is prohibited.
If you have received this email in error, please notify the sender by
return email and destroy all copies of the original message.
Any confidentialy or legal professional privilege is not waived
or lost by any mistaken delivery of the email.
ENERGEX accepts no responsibility for the content of any email
which is sent by an employee which is of a personal nature.
*************************************************************************