Print this page
8478 mac: suggest parentheses around '&&' within '||'
Reviewed by: Ryan Zezeski <rpz@joyent.com>
Reviewed by: Alexander Stetsenko <astetsenko@racktopsystems.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sparc/mac/Makefile
          +++ new/usr/src/uts/sparc/mac/Makefile
↓ open down ↓ 59 lines elided ↑ open up ↑
  60   60  $(RELEASE_BUILD)CFLAGS          += -xinline=auto -xcrossfile
  61   61  $(RELEASE_BUILD)COPTIMIZE       = -xO5
  62   62  LDFLAGS                         += -dy
  63   63  INC_PATH                        += -I$(UTSBASE)/common/io/bpf
  64   64  
  65   65  LINTTAGS                        += -erroff=E_PTRDIFF_OVERFLOW
  66   66  LINTTAGS                        += -erroff=E_BAD_PTR_CAST_ALIGN
  67   67  
  68   68  CERRWARN                        += -_gcc=-Wno-unused-label
  69   69  CERRWARN                        += -_gcc=-Wno-uninitialized
  70      -CERRWARN                        += -_gcc=-Wno-parentheses
  71   70  CERRWARN                        += -_gcc=-Wno-type-limits
  72   71  CERRWARN                        += -_gcc=-Wno-switch
  73   72  CERRWARN                        += -_gcc=-Wno-unused-variable
  74   73  
  75   74  #
  76   75  #       Default build targets.
  77   76  #
  78   77  .KEEP_STATE:
  79   78  
  80   79  def:            $(DEF_DEPS)
↓ open down ↓ 19 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX