dmake: disabled -Wunreachable-code because there was too many warnings

This commit is contained in:
Daniel Marjamäki 2011-10-24 07:09:14 +02:00
parent df5d26901c
commit 17aea0a997
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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 "