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/intel/mac/Makefile
          +++ new/usr/src/uts/intel/mac/Makefile
↓ open down ↓ 55 lines elided ↑ open up ↑
  56   56  #
  57   57  CFLAGS          += $(CCVERBOSE)
  58   58  LDFLAGS         += -dy
  59   59  INC_PATH        += -I$(UTSBASE)/common/io/bpf
  60   60  
  61   61  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  62   62  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  63   63  
  64   64  CERRWARN        += -_gcc=-Wno-unused-label
  65   65  CERRWARN        += -_gcc=-Wno-uninitialized
  66      -CERRWARN        += -_gcc=-Wno-parentheses
  67   66  CERRWARN        += -_gcc=-Wno-type-limits
  68   67  CERRWARN        += -_gcc=-Wno-switch
  69   68  CERRWARN        += -_gcc=-Wno-unused-variable
  70   69  
  71   70  #
  72   71  #       Default build targets.
  73   72  #
  74   73  .KEEP_STATE:
  75   74  
  76   75  def:            $(DEF_DEPS)
↓ open down ↓ 19 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX