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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4v/rootnex/Makefile
          +++ new/usr/src/uts/sun4v/rootnex/Makefile
↓ open down ↓ 62 lines elided ↑ open up ↑
  63   63  LINT_TARGET     = $(MODULE).lint
  64   64  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  65   65  
  66   66  #
  67   67  # lint pass one enforcement
  68   68  #
  69   69  CFLAGS          += $(CCVERBOSE)
  70   70  CERRWARN        += -_gcc=-Wno-switch
  71   71  CERRWARN        += -_gcc=-Wno-unused-variable
  72   72  CERRWARN        += -_gcc=-Wno-parentheses
  73      -CERRWARN        += -_gcc=-Wno-uninitialized
       73 +CERRWARN        += $(CNOWARN_UNINIT)
  74   74  
  75   75  #
  76   76  # For now, disable these lint checks; maintainers should endeavor
  77   77  # to investigate and remove these for maximum lint coverage.
  78   78  # Please do not carry these forward to new Makefiles.
  79   79  #
  80   80  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  81   81  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  82   82  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  83   83  LINTTAGS        += -erroff=E_STATIC_UNUSED
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX