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/pcfs/Makefile
          +++ new/usr/src/uts/sparc/pcfs/Makefile
↓ open down ↓ 56 lines elided ↑ open up ↑
  57   57  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  58   58  
  59   59  #
  60   60  #       Overrides.
  61   61  #
  62   62  CFLAGS          += $(CCVERBOSE)
  63   63  
  64   64  CERRWARN        += -_gcc=-Wno-parentheses
  65   65  CERRWARN        += -_gcc=-Wno-type-limits
  66   66  CERRWARN        += -_gcc=-Wno-unused-label
  67      -CERRWARN        += -_gcc=-Wno-uninitialized
       67 +CERRWARN        += $(CNOWARN_UNINIT)
  68   68  CERRWARN        += -_gcc=-Wno-unused-function
  69   69  
  70   70  #
  71   71  # For now, disable these lint checks; maintainers should endeavor
  72   72  # to investigate and remove these for maximum lint coverage.
  73   73  # Please do not carry these forward to new Makefiles.
  74   74  #
  75   75  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  76   76  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  77   77  LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
↓ open down ↓ 29 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX