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

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/cscope-fast/Makefile
          +++ new/usr/src/tools/cscope-fast/Makefile
↓ open down ↓ 41 lines elided ↑ open up ↑
  42   42  # these three are because we cannot seem to redefine the size of YYLMAX,
  43   43  # and thus yytext, in the code because yytext is defined before our code
  44   44  # is seen. YYLMAX is supposed to be STMTMAX+PATLEN+1.
  45   45  PATLEN=         250
  46   46  STMTMAX=        10000
  47   47  YYLMAX=         10251
  48   48  CFLAGS +=       -DPATLEN=$(PATLEN) -DSTMTMAX=$(STMTMAX) -DYYLMAX=$(YYLMAX)
  49   49  CERRWARN +=     -_gcc=-Wno-parentheses
  50   50  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  51   51  CERRWARN +=     -_gcc=-Wno-unused
  52      -CERRWARN +=     -_gcc=-Wno-uninitialized
       52 +CERRWARN +=     $(CNOWARN_UNINIT)
  53   53  
  54   54  # not linted
  55   55  SMATCH=off
  56   56  
  57   57  CFLAGS +=       $(CCVERBOSE)
  58   58  LDLIBS +=       -lcurses -ll
  59   59  
  60   60  .KEEP_STATE:
  61   61  
  62   62  .PARALLEL: $(OBJS)
↓ open down ↓ 18 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX