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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sparc/sol_ofs/Makefile
          +++ new/usr/src/uts/sparc/sol_ofs/Makefile
↓ open down ↓ 51 lines elided ↑ open up ↑
  52   52  #
  53   53  # For now, disable these lint checks; maintainers should endeavor
  54   54  # to investigate and remove these for maximum lint coverage.
  55   55  # Please do not carry these forward to new Makefiles.
  56   56  #
  57   57  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  58   58  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  59   59  LINTTAGS        += -erroff=E_STATIC_UNUSED
  60   60  LINTTAGS        += -erroff=E_CONST_TRUNCATED_BY_ASSIGN
  61   61  
  62      -CERRWARN        += -_gcc=-Wno-uninitialized
       62 +CERRWARN        += $(CNOWARN_UNINIT)
  63   63  CERRWARN        += -_gcc=-Wno-parentheses
  64   64  CERRWARN        += -_gcc=-Wno-type-limits
  65   65  CERRWARN        += -_gcc=-Wno-unused-variable
  66   66  
  67   67  #
  68   68  #       Default build targets.
  69   69  #
  70   70  .KEEP_STATE:
  71   71  
  72   72  def:            $(DEF_DEPS)
↓ open down ↓ 19 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX