Print this page
7645 illumos-gate lint build fails with glib 2.46.2

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/latencytop/Makefile.com
          +++ new/usr/src/cmd/latencytop/Makefile.com
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35  CERRWARN += -_gcc=-Wno-uninitialized
  36   36  
  37   37  CPPFLAGS += -DEMBED_CONFIGS -I$(ADJUNCT_PROTO)/usr/include/glib-2.0 \
  38   38          -I$(ADJUNCT_PROTO)/usr/lib/glib-2.0/include
  39   39  C99MODE = $(C99_ENABLE)
  40   40  LDLIBS += -lcurses -ldtrace
  41   41  all install     := LDLIBS += -lglib-2.0
  42   42  
  43   43  LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
  44   44  LINTFLAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
       45 +LINTFLAGS += -erroff=E_FUNC_RET_MAYBE_IGNORED2
  45   46  LINTFLAGS64 += -erroff=E_NAME_USED_NOT_DEF2
  46   47  LINTFLAGS64 += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
       48 +LINTFLAGS64 += -erroff=E_FUNC_RET_MAYBE_IGNORED2
  47   49  
  48   50  FILEMODE = 0555
  49   51  
  50   52  ELFWRAP = elfwrap
  51   53  WRAPOBJ = latencytop_wrap.o
  52   54  
  53   55  CLEANFILES += $(OBJS) $(WRAPOBJ) ./latencytop_d ./latencytop_trans
  54   56  
  55   57  .KEEP_STATE:
  56   58  
↓ open down ↓ 28 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX