dmake: disabled -Wunreachable-code because there was too many warnings
This commit is contained in:
parent
df5d26901c
commit
17aea0a997
2
Makefile
2
Makefile
|
@ -6,7 +6,7 @@ ifndef HAVE_RULES
|
|||
endif
|
||||
|
||||
ifndef CXXFLAGS
|
||||
CXXFLAGS=-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 -Wunreachable-code -D_GLIBCXX_DEBUG -g
|
||||
CXXFLAGS=-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 -D_GLIBCXX_DEBUG -g
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_RULES),yes)
|
||||
|
|
|
@ -231,7 +231,7 @@ int main(int argc, char **argv)
|
|||
"-Wredundant-decls "
|
||||
"-Wshadow "
|
||||
"-Wsign-promo "
|
||||
"-Wunreachable-code "
|
||||
// "-Wunreachable-code "
|
||||
// "-Wsign-conversion "
|
||||
// "-Wconversion "
|
||||
"-D_GLIBCXX_DEBUG "
|
||||
|
|
Loading…
Reference in New Issue