From f341f0e7a1559ffe39ac3f38d445c89cf4bdb4f0 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Sun, 26 Jul 2020 12:44:46 -0700 Subject: [PATCH] Build: Enable Warnings Unconditionally enable compiler warnings for all builds. This will help us to increasing awareness on them to fix them, which will help us on the mid-term to catch bugs that diagnostics can catch early on. Only increases code stability and portability. --- GNUmakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GNUmakefile b/GNUmakefile index 7245aa03583..e8ec31fcbdd 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -5,6 +5,9 @@ OPENBC_HOME ?= ../openbc_poisson DEBUG = FALSE #DEBUG = TRUE +WARN_ALL = TRUE +#WARN_ERROR=TRUE + #DIM = 2 DIM = 3