Skip to content

Commit

Permalink
dmake: disable -Wconversion to avoid false positives when compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
danmar committed Apr 15, 2015
1 parent ac867b4 commit 066b24d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion tools/dmake.cpp
Expand Up @@ -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 "
Expand Down

0 comments on commit 066b24d

Please sign in to comment.