From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11334 invoked by alias); 29 Mar 2010 21:32:36 -0000 Received: (qmail 11326 invoked by uid 22791); 29 Mar 2010 21:32:36 -0000 X-SWARE-Spam-Status: No, hits=1.4 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout23.012.net.il (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 29 Mar 2010 21:32:30 +0000 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L0200900BQIYO00@a-mtaout23.012.net.il> for gdb-patches@sourceware.org; Tue, 30 Mar 2010 00:32:27 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.176.135]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L02009W9BU2RS00@a-mtaout23.012.net.il>; Tue, 30 Mar 2010 00:32:27 +0300 (IDT) Date: Mon, 29 Mar 2010 21:32:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH] sim: update device_error() prototype In-reply-to: <1269895146-3394-1-git-send-email-vapier@gentoo.org> To: Mike Frysinger Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <8339zi24r2.fsf@gnu.org> References: <1269895146-3394-1-git-send-email-vapier@gentoo.org> 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/msg01023.txt.bz2 > From: Mike Frysinger > Date: Mon, 29 Mar 2010 16:39:06 -0400 > > -void device_error (device *me, char* message, ...); > +void device_error (device *me, const char *message, ...) __attribute__((format (printf, 2, 3))); Is this always compiled only with GCC? __attribute__ is a GCC specific feature, AFAIK.