dmake: disable -Wconversion to avoid false positives when compiling
This commit is contained in:
parent
ac867b4220
commit
066b24dc9c
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 -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
|
||||
|
||||
ifeq ($(HAVE_RULES),yes)
|
||||
|
|
|
@ -325,7 +325,7 @@ int main(int argc, char **argv)
|
|||
"-Wextra "
|
||||
"-Wabi "
|
||||
"-Wcast-qual "
|
||||
"-Wconversion "
|
||||
// "-Wconversion " // danmar: gives fp. for instance: unsigned int sizeof_pointer = sizeof(void *);
|
||||
"-Wfloat-equal "
|
||||
"-Winline "
|
||||
// "-Wlogical-op "
|
||||
|
|
Loading…
Reference in New Issue