From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9817 invoked by alias); 4 Mar 2010 03:01:18 -0000 Received: (qmail 9570 invoked by uid 22791); 4 Mar 2010 03:01:18 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 04 Mar 2010 03:01:14 +0000 Received: (qmail 28721 invoked from network); 4 Mar 2010 03:01:12 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 4 Mar 2010 03:01:12 -0000 From: Pedro Alves To: Doug Evans Subject: Re: FYI: fix PR 11345 Date: Thu, 04 Mar 2010 03:01:00 -0000 User-Agent: KMail/1.12.2 (Linux/2.6.31-19-generic; KDE/4.3.2; x86_64; ; ) Cc: gdb-patches@sourceware.org, tromey@redhat.com References: <201003040243.36094.pedro@codesourcery.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201003040301.10227.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-03/txt/msg00152.txt.bz2 On Thursday 04 March 2010 02:56:39, Doug Evans wrote: > printf (string, 0) is what I had in mind. > obviously printf ("%s", "%%") won't fix anything. Ah. That wouldn't work because you'd still get a warning because `string' isn't a string literal. > > ... but having tried it I'm seeing "... argument types not checked". Right, something like that. :-) -- Pedro Alves