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] Use -Wno-error=trampolines


On Sat, Jan 03, 2015 at 02:18:06PM -0800, Richard Henderson wrote:
> On gentoo, at least with gcc 4.9, -Wtrampolines are enabled by default:
> 
> tst-execstack-mod.c: In function âtrymeâ:
> tst-execstack-mod.c:16:8: error: trampoline generated for nested function âcallbackâ [-Werror=trampolines]
>    void callback (void) { ok = true; }
>            ^
> 	   cc1: all warnings being treated as errors
> 
> But of course these testcases require the use of trampolines.
> 
> Ok?
> 
ok


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