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
|
endif # COMSPEC
|
||||||
|
|
||||||
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 -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
|
endif
|
||||||
|
|
||||||
ifeq ($(HAVE_RULES),yes)
|
ifeq ($(HAVE_RULES),yes)
|
||||||
|
|
|
@ -332,7 +332,7 @@ int main(int argc, char **argv)
|
||||||
"-Wmissing-declarations "
|
"-Wmissing-declarations "
|
||||||
"-Wmissing-format-attribute "
|
"-Wmissing-format-attribute "
|
||||||
"-Wno-long-long "
|
"-Wno-long-long "
|
||||||
"-Woverloaded-virtual "
|
// "-Woverloaded-virtual " // danmar: we get fp when overloading analyseWholeProgram()
|
||||||
"-Wpacked "
|
"-Wpacked "
|
||||||
"-Wredundant-decls "
|
"-Wredundant-decls "
|
||||||
"-Wshadow "
|
"-Wshadow "
|
||||||
|
|
Loading…
Reference in New Issue