diff --git a/CMakeLists.txt b/CMakeLists.txt
index eb9713449e6cc51e27ddbc176fac7308f9fe9a73..73ef78b0fcee73e23ed4d22382cbd00820796bcd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -141,9 +141,9 @@ find_library(M_LIBRARIES m)
 # Warning flags
 # ========================
 include(CheckCCompilerFlag)
-check_c_compiler_flag("-Werror -Wall -Wno-unused-result -Wno-sign-compare" HAVE_GCC_WARNING_FLAGS)
+check_c_compiler_flag("-Wall -Wno-unused-result -Wno-sign-compare" HAVE_GCC_WARNING_FLAGS)
 if(HAVE_GCC_WARNING_FLAGS)
-  SET(CMAKE_C_FLAGS "-Werror -Wall -Wno-unused-result -Wno-sign-compare  ${CMAKE_C_FLAGS}")
+  SET(CMAKE_C_FLAGS "-Wall -Wno-unused-result -Wno-sign-compare  ${CMAKE_C_FLAGS}")
 endif()
 
 # ========================
diff --git a/src/util.c b/src/util.c
index f0f31655c60816b6998773ce910ec0513a3769cb..22dbb78c5a8f9bc62aabf9440b1d47632dfc5e25 100644
--- a/src/util.c
+++ b/src/util.c
@@ -185,7 +185,8 @@ static double MpfAtof(const char *str) {
   /* Handle optional sign */
   negative = 0;
   switch (*p) {
-    case '-': negative = 1; /* Fall through to increment position */
+    case '-': negative = 1;
+      /* Fall through to increment position */
     case '+': p++;
   }
 
@@ -226,7 +227,8 @@ static double MpfAtof(const char *str) {
     /* Handle optional sign */
     negative = 0;
     switch(*++p) {
-      case '-': negative = 1;   /* Fall through to increment pos */
+      case '-': negative = 1;
+        /* Fall through to increment position */
       case '+': p++;
     }