Gcc

From miki
Revision as of 09:52, 28 August 2019 by Mip (talk | contribs) (Mip moved page GCC to Gcc)
Jump to navigation Jump to search

Tips

Enable more warnings

From [1]:

  • -Wduplicated-cond
  • -Wduplicated-branches
  • -Wlogical-op
  • -Wrestrict
  • -Wnull-dereference
  • -Wold-style-cast
  • -Wuseless-cast
  • -Wjump-misses-init
  • -Wdouble-promotion
  • -Wshadow
  • -Wformat=2