From 5a47dd5e620b257be172e05dd72ae85d4a9ffa23 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 18 Sep 2013 16:20:07 +0200 Subject: [PATCH] since we don't bail on some of the warnings right away, (that is, with -Werror), also check the compile_errors count in main rather than just the return values --- main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.c b/main.c index fa245a9..9a76706 100644 --- a/main.c +++ b/main.c @@ -790,5 +790,7 @@ cleanup: lex_cleanup(); stat_info(); + if (!retval && compile_errors) + retval = 1; return retval; } -- 2.39.2