dmake: disable -Wsign-promo

This commit is contained in:
Matthias Krüger 2016-05-07 19:38:40 +02:00
parent 08d8b2da38
commit 9bcb36e0bb
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ ifeq ($(CXX), clang++)
CPPCHK_GLIBCXX_DEBUG= CPPCHK_GLIBCXX_DEBUG=
endif endif
ifndef CXXFLAGS ifndef CXXFLAGS
CXXFLAGS=-include lib/cxx11emu.h -pedantic -Wall -Wextra -Wabi -Wcast-qual -Wfloat-equal -Winline -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wshadow -Wsign-promo -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar $(CPPCHK_GLIBCXX_DEBUG) -g CXXFLAGS=-include lib/cxx11emu.h -pedantic -Wall -Wextra -Wabi -Wcast-qual -Wfloat-equal -Winline -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wshadow -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar $(CPPCHK_GLIBCXX_DEBUG) -g
endif endif
ifeq ($(CXX), g++) ifeq ($(CXX), g++)

View File

@ -344,7 +344,7 @@ int main(int argc, char **argv)
"-Wredundant-decls " "-Wredundant-decls "
"-Wshadow " "-Wshadow "
// "-Wsign-conversion " // "-Wsign-conversion "
"-Wsign-promo " // "-Wsign-promo "
"-Wno-missing-field-initializers " "-Wno-missing-field-initializers "
"-Wno-missing-braces " "-Wno-missing-braces "
// "-Wunreachable-code " // "-Wunreachable-code "