From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wx7Ub-0001Is-7r for qemu-devel@nongnu.org; Wed, 18 Jun 2014 00:29:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wx7US-00011i-0V for qemu-devel@nongnu.org; Wed, 18 Jun 2014 00:29:01 -0400 Received: from mail-qg0-x231.google.com ([2607:f8b0:400d:c04::231]:61538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wx7UR-00011e-S3 for qemu-devel@nongnu.org; Wed, 18 Jun 2014 00:28:51 -0400 Received: by mail-qg0-f49.google.com with SMTP id f51so260408qge.36 for ; Tue, 17 Jun 2014 21:28:50 -0700 (PDT) Sender: Richard Henderson Message-ID: <53A1157E.9020409@twiddle.net> Date: Tue, 17 Jun 2014 21:28:46 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1403039230-3427-1-git-send-email-sw@weilnetz.de> In-Reply-To: <1403039230-3427-1-git-send-email-sw@weilnetz.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] libvixl: Add gcc format attribute List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil , qemu-devel@nongnu.org Cc: Peter Maydell > I don't know the reason, because all locations seem to have arguments > which are function calls, and the called function returns Instr which > is uint32_t, not int64_t. ... > + void GCC_FMT_ATTR(2, 3) AppendToOutput(const char* string, ...); It "helps" because 2,3 is wrong. Correct would be 1,2 for this function. r~