This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] add benchmark for strcoll


On Tue, Mar 10, 2015 at 12:43:26PM +0100, Leonhard Holz wrote:
> Ok, I changed the code following to your proposals. But one doesnt work:
> 
> >
> >>+  timing_t res __attribute__ ((unused));
> >
> >use __attribute_used__ instead
> 
> bench-strcoll.c: In function âdo_benchâ:
> bench-strcoll.c:334:3: error: â__used__â attribute ignored [-Werror=attributes]
>    timing_t res __attribute_used__;
>    ^

used != unused

	Marek


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