Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized


  48 # Common install modes and owners
  49 #
  50 FILEMODE        = 644
  51 DIRMODE         = 755
  52 
  53 #
  54 # While things are pretty much 32-bit lint-clean, there are a ton of
  55 # suspect pointer casts.  Since these may be serious problems (especially
  56 # on SPARC), this really needs to be investigated thoroughly one day.
  57 # However, we shouldn't feel too bad: the whole kernel is linted with this
  58 # turned off as well (along with a dozen other disabled warnings).
  59 #
  60 # The other two -erroff's are needed only because lint's -u flag is lame
  61 # and also turns off "name used but not defined" checks (so we instead
  62 # just enumerate the errors that -u turns off that we want turned off).
  63 #
  64 LINTFLAGS = -nmsF -erroff=E_BAD_PTR_CAST_ALIGN \
  65             -erroff=E_NAME_DECL_NOT_USED_DEF2 -erroff=E_NAME_DEF_NOT_USED2
  66 
  67 CERRWARN += -_gcc=-Wno-parentheses
  68 CERRWARN += -_gcc=-Wno-uninitialized
  69 CERRWARN += -_gcc=-Wno-char-subscripts


  48 # Common install modes and owners
  49 #
  50 FILEMODE        = 644
  51 DIRMODE         = 755
  52 
  53 #
  54 # While things are pretty much 32-bit lint-clean, there are a ton of
  55 # suspect pointer casts.  Since these may be serious problems (especially
  56 # on SPARC), this really needs to be investigated thoroughly one day.
  57 # However, we shouldn't feel too bad: the whole kernel is linted with this
  58 # turned off as well (along with a dozen other disabled warnings).
  59 #
  60 # The other two -erroff's are needed only because lint's -u flag is lame
  61 # and also turns off "name used but not defined" checks (so we instead
  62 # just enumerate the errors that -u turns off that we want turned off).
  63 #
  64 LINTFLAGS = -nmsF -erroff=E_BAD_PTR_CAST_ALIGN \
  65             -erroff=E_NAME_DECL_NOT_USED_DEF2 -erroff=E_NAME_DEF_NOT_USED2
  66 
  67 CERRWARN += -_gcc=-Wno-parentheses
  68 CERRWARN += $(CNOWARN_UNINIT)
  69 CERRWARN += -_gcc=-Wno-char-subscripts