From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20939 invoked by alias); 15 Jul 2006 16:27:35 -0000 Received: (qmail 20930 invoked by uid 22791); 15 Jul 2006 16:27:35 -0000 X-Spam-Check-By: sourceware.org Received: from mailout.uk2.net (HELO webmailsmtp2.uk2net.com) (83.170.69.138) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 15 Jul 2006 16:27:33 +0000 Received: from adsl-164-107.freeuk.com ([80.168.164.107]) by webmailsmtp2.uk2net.com with esmtpa (Exim 4.43) id 1G1mzN-0001hX-EO for gcc-help@gcc.gnu.org; Sat, 15 Jul 2006 17:27:33 +0100 From: Andrew Talbot To: gcc-help@gcc.gnu.org Subject: Suppressing Cast-qual Warnings Date: Sat, 15 Jul 2006 16:27:00 -0000 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607151727.22061.Andrew.Talbot@talbotville.com> Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-07/txt/msg00202.txt.bz2 Hi, I want to write a function similar to strchr(). Is there a way to mark it up so that it doesn't generate a cast-qual warning whenever it is invoked? Thanks, Andrew.