This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] sim: update device_error() prototype


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]