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=
|
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++)
|
||||||
|
|
|
@ -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 "
|
||||||
|
|
Loading…
Reference in New Issue