Print this page
10063 basic support for smatch
10153 checkpaths shouldn't check packaging exceptions

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libpp/Makefile.com
          +++ new/usr/src/lib/libpp/Makefile.com
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  
  26   27  SHELL=/usr/bin/ksh93
  27   28  
  28   29  LIBRARY=        libpp.a
  29   30  VERS=           .1
  30   31  
  31   32  OBJECTS= \
  32   33          ppargs.o \
  33   34          ppbuiltin.o \
  34   35          ppcall.o \
↓ open down ↓ 62 lines elided ↑ open up ↑
  97   98          $(ASTCFLAGS)
  98   99  CFLAGS64 += \
  99  100          $(ASTCFLAGS64)
 100  101  
 101  102  CERRWARN        += -_gcc=-Wno-parentheses
 102  103  CERRWARN        += -_gcc=-Wno-uninitialized
 103  104  CERRWARN        += -_gcc=-Wno-char-subscripts
 104  105  CERRWARN        += -_gcc=-Wno-empty-body
 105  106  CERRWARN        += -_gcc=-Wno-unused-value
 106  107  
      108 +# "pplex() parse error: turning off implications after 60 seconds"
      109 +SMATCH          = off
      110 +
 107  111  pics/ppcall.o           := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
 108  112  pics/ppcontrol.o        := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
 109  113  pics/ppcpp.o            := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
 110  114  pics/ppexpr.o           := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
 111  115  pics/pplex.o            := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
 112  116  pics/ppop.o             := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
 113  117  pics/ppsearch.o         := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
 114  118  pics/ppsearch.o         := CERRWARN += -_gcc=-Wno-sequence-point
 115  119  pics/pplex.o            := CERRWARN += -_gcc=-Wno-implicit-fallthrough
 116  120  pics/ppcpp.o            := CERRWARN += -_gcc=-Wno-implicit-fallthrough
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX