Skip to content

Commit 124681c

Browse files
Move -Wno-class-memaccess to CXXFLAGS
1 parent ea514cd commit 124681c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ CDINCLUDE=$(ECOLAB_HOME)/include
124124
ifdef AEGIS
125125
# unused-variable warnings fail certain RAII usages in C++
126126
# -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
127+
FLAGS+=-Werror -Wall -Wno-unused-variable -Wno-unused-function -Wno-stringop-overflow -Wno-restrict
128128
# for now, we maintain the code for C++98 standard
129129
# noexcept-type is a warning about ABI changes coming in C++17
130130
# Travis complains about unused-local-typedefs, so shut it up.
131-
CXXFLAGS+=-Wno-noexcept-type -Wno-unused-local-typedefs
131+
CXXFLAGS+=-Wno-noexcept-type -Wno-unused-local-typedefs -Wno-class-memaccess
132132
endif
133133
CXXFLAGS+=-std=c++20
134134

0 commit comments

Comments
 (0)