This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] sim: update device_error() prototype
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 30 Mar 2010 00:32:33 +0300
- Subject: Re: [PATCH] sim: update device_error() prototype
- References: <1269895146-3394-1-git-send-email-vapier@gentoo.org>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Mike Frysinger <vapier@gentoo.org>
> 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.