dmake: disable -Wsign-promo
This commit is contained in:
parent
08d8b2da38
commit
9bcb36e0bb
2
Makefile
2
Makefile
|
@ -80,7 +80,7 @@ ifeq ($(CXX), clang++)
|
|||
CPPCHK_GLIBCXX_DEBUG=
|
||||
endif
|
||||
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
|
||||
|
||||
ifeq ($(CXX), g++)
|
||||
|
|
|
@ -344,7 +344,7 @@ int main(int argc, char **argv)
|
|||
"-Wredundant-decls "
|
||||
"-Wshadow "
|
||||
// "-Wsign-conversion "
|
||||
"-Wsign-promo "
|
||||
// "-Wsign-promo "
|
||||
"-Wno-missing-field-initializers "
|
||||
"-Wno-missing-braces "
|
||||
// "-Wunreachable-code "
|
||||
|
|
Loading…
Reference in New Issue