dmake: disable -Wconversion to avoid false positives when compiling

This commit is contained in:
Daniel Marjamäki 2015-04-15 11:32:52 +02:00
parent ac867b4220
commit 066b24dc9c
2 changed files with 2 additions and 2 deletions

View File

@ -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 -Wconversion -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 -Woverloaded-virtual -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)

View File

@ -325,7 +325,7 @@ int main(int argc, char **argv)
"-Wextra " "-Wextra "
"-Wabi " "-Wabi "
"-Wcast-qual " "-Wcast-qual "
"-Wconversion " // "-Wconversion " // danmar: gives fp. for instance: unsigned int sizeof_pointer = sizeof(void *);
"-Wfloat-equal " "-Wfloat-equal "
"-Winline " "-Winline "
// "-Wlogical-op " // "-Wlogical-op "