Skip to content

Commit 00d5af5

Browse files
Fix up for more picky g++
1 parent 892ff39 commit 00d5af5

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

include/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ CDINCLUDE=$(ECOLAB_HOME)/include
123123

124124
ifdef AEGIS
125125
# unused-variable warnings fail certain RAII usages in C++
126-
FLAGS+=-Werror -Wall -Wno-unused-variable -Wno-unused-function
126+
# -Wno-class-memaccess -Wno-stringop-overflow -Wno-restrict to silence bogus messages in g++
127+
FLAGS+=-Werror -Wall -Wno-unused-variable -Wno-unused-function -Wno-class-memaccess -Wno-stringop-overflow -Wno-restrict
127128
# for now, we maintain the code for C++98 standard
128129
# noexcept-type is a warning about ABI changes coming in C++17
129130
# Travis complains about unused-local-typedefs, so shut it up.

0 commit comments

Comments
 (0)