From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30018 invoked by alias); 22 Jan 2006 01:22:20 -0000 Received: (qmail 30007 invoked by uid 22791); 22 Jan 2006 01:22:19 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 22 Jan 2006 01:22:15 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 06C7B1C845 for ; Sun, 22 Jan 2006 02:22:10 +0100 (CET) From: Andreas Schwab To: gdb-patches@sourceware.org Subject: Re: RFC: Fix various problems with "printf" and warnings References: <20060122003117.GC8088@nevyn.them.org> X-Yow: Yow! I'm having a quadrophonic sensation of two winos alone in a steel mill! Date: Sun, 22 Jan 2006 01:22:00 -0000 In-Reply-To: <20060122003117.GC8088@nevyn.them.org> (Daniel Jacobowitz's message of "Sat, 21 Jan 2006 19:31:17 -0500") Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00286.txt.bz2 Daniel Jacobowitz writes: > + case 'o': > + case 'x': > + case 'X': > + if (seen_space || seen_plus) > + bad = 1; I don't think this should be rejected. I've got only the C99 spec, but I don't think that C89 is different here in that space and plus are ignored for unsigned and non-numeric conversions. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."