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


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__;
   ^


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