From 9ebb039a81f5ea06e97d84ef7ee447da9dfca204 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 29 Oct 2024 23:14:31 -0400 Subject: Fix up some GCC compiler flag options for LTO and inlining --- repl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'repl.c') diff --git a/repl.c b/repl.c index c9d518d3..fca220c7 100644 --- a/repl.c +++ b/repl.c @@ -330,6 +330,7 @@ void run(env_t *env, ast_t *ast) } } +#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstack-protector" void eval(env_t *env, ast_t *ast, void *dest) { @@ -550,5 +551,6 @@ void eval(env_t *env, ast_t *ast, void *dest) errx(1, "Eval not implemented for %W", ast); } } +#pragma GCC diagnostic pop // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 -- cgit v1.2.3