dmake: Added -Wno-multichar flag.
This commit is contained in:
parent
459f5948f6
commit
7cb27d91c4
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 $(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 -Wsign-promo -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar $(CPPCHK_GLIBCXX_DEBUG) -g
|
||||
endif
|
||||
|
||||
ifeq ($(CXX), g++)
|
||||
|
|
|
@ -351,6 +351,7 @@ int main(int argc, char **argv)
|
|||
"-Wno-missing-braces "
|
||||
// "-Wunreachable-code "
|
||||
"-Wno-sign-compare " // danmar: I don't like this warning, it's very rarelly a bug
|
||||
"-Wno-multichar "
|
||||
"$(CPPCHK_GLIBCXX_DEBUG) "
|
||||
"-g");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue