Makefile: added -Wno-sign-compare. I don't like this warning
This commit is contained in:
parent
cda9b409ef
commit
a7146916b1
2
Makefile
2
Makefile
|
@ -60,7 +60,7 @@ else # !COMSPEC
|
||||||
endif # COMSPEC
|
endif # COMSPEC
|
||||||
|
|
||||||
ifndef CXXFLAGS
|
ifndef CXXFLAGS
|
||||||
CXXFLAGS=-pedantic -Wall -Wextra -Wabi -Wcast-qual -Wconversion -Wfloat-equal -Winline -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Woverloaded-virtual -Wpacked -Wredundant-decls -Wshadow -Wsign-promo $(CPPCHK_GLIBCXX_DEBUG) -g
|
CXXFLAGS=-pedantic -Wall -Wextra -Wabi -Wcast-qual -Wconversion -Wfloat-equal -Winline -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Woverloaded-virtual -Wpacked -Wredundant-decls -Wshadow -Wsign-promo -Wno-sign-compare $(CPPCHK_GLIBCXX_DEBUG) -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(HAVE_RULES),yes)
|
ifeq ($(HAVE_RULES),yes)
|
||||||
|
|
|
@ -316,6 +316,7 @@ int main(int argc, char **argv)
|
||||||
// "-Wsign-conversion "
|
// "-Wsign-conversion "
|
||||||
"-Wsign-promo "
|
"-Wsign-promo "
|
||||||
// "-Wunreachable-code "
|
// "-Wunreachable-code "
|
||||||
|
"-Wno-sign-compare " // danmar: I don't like this warning, it's very rarelly a bug
|
||||||
"$(CPPCHK_GLIBCXX_DEBUG) "
|
"$(CPPCHK_GLIBCXX_DEBUG) "
|
||||||
"-g");
|
"-g");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue