File tree 3 files changed +4
-2
lines changed
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ ifdef COMSPEC
73
73
endif # COMSPEC
74
74
75
75
ifndef CXXFLAGS
76
- 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-sign-compare $(CPPCHK_GLIBCXX_DEBUG ) -g
76
+ 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
77
77
endif
78
78
79
79
ifeq ($(HAVE_RULES ) ,yes)
Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ Library::Error Library::load(const tinyxml2::XMLDocument &doc)
319
319
const char * const name = node->Attribute (" name" );
320
320
if (!name)
321
321
return Error (MISSING_ATTRIBUTE, " name" );
322
- PodType podType = {0 , 0 };
322
+ PodType podType = {0 };
323
323
const char * const size = node->Attribute (" sizeof" );
324
324
if (size)
325
325
podType.size = atoi (size);
Original file line number Diff line number Diff line change @@ -342,6 +342,8 @@ int main(int argc, char **argv)
342
342
" -Wshadow "
343
343
// "-Wsign-conversion "
344
344
" -Wsign-promo "
345
+ " -Wno-missing-field-initializers "
346
+ " -Wno-missing-braces "
345
347
// "-Wunreachable-code "
346
348
" -Wno-sign-compare " // danmar: I don't like this warning, it's very rarelly a bug
347
349
" $(CPPCHK_GLIBCXX_DEBUG) "
You can’t perform that action at this time.
0 commit comments