From 306b7359e800d06103e602464afc7e9ac8842572 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Wed, 19 Nov 2014 18:08:17 -0800 Subject: [PATCH] Suppress harmless warnings specifically, unused variables in auto-generated code. --- configure | 4 ++-- configure.ac | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 258ad60..abddde5 100755 --- a/configure +++ b/configure @@ -4006,9 +4006,9 @@ fi # Default compiler flags #------------------------------------------------------------------------- -CFLAGS="-Wall -O2 -Wno-unused" +CFLAGS="-Wall -Wno-unused -O2" -CXXFLAGS="-Wall -O2 -std=c++11" +CXXFLAGS="-Wall -Wno-unused -O2 -std=c++11" #------------------------------------------------------------------------- diff --git a/configure.ac b/configure.ac index ce84dc5..d6fb7e5 100644 --- a/configure.ac +++ b/configure.ac @@ -72,8 +72,8 @@ AC_HEADER_STDC # Default compiler flags #------------------------------------------------------------------------- -AC_SUBST([CFLAGS], ["-Wall -O2 -Wno-unused"]) -AC_SUBST([CXXFLAGS],["-Wall -O2 -std=c++11"]) +AC_SUBST([CFLAGS], ["-Wall -Wno-unused -O2"]) +AC_SUBST([CXXFLAGS],["-Wall -Wno-unused -O2 -std=c++11"]) #------------------------------------------------------------------------- # MCPPBS subproject list -- 2.30.2