disable -Woverloaded-virtual warnings to avoid a few FPs
This commit is contained in:
parent
1604e751e5
commit
678d755ce5
2
Makefile
2
Makefile
|
@ -73,7 +73,7 @@ ifdef COMSPEC
|
|||
endif # COMSPEC
|
||||
|
||||
ifndef CXXFLAGS
|
||||
CXXFLAGS=-include lib/cxx11emu.h -pedantic -Wall -Wextra -Wabi -Wcast-qual -Wfloat-equal -Winline -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Woverloaded-virtual -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 $(CPPCHK_GLIBCXX_DEBUG) -g
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_RULES),yes)
|
||||
|
|
|
@ -332,7 +332,7 @@ int main(int argc, char **argv)
|
|||
"-Wmissing-declarations "
|
||||
"-Wmissing-format-attribute "
|
||||
"-Wno-long-long "
|
||||
"-Woverloaded-virtual "
|
||||
// "-Woverloaded-virtual " // danmar: we get fp when overloading analyseWholeProgram()
|
||||
"-Wpacked "
|
||||
"-Wredundant-decls "
|
||||
"-Wshadow "
|
||||
|
|
Loading…
Reference in New Issue