Print this page
3440 librtld_db demos need warnings gagged

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/librtld_db/demo/Makefile.com
          +++ new/usr/src/cmd/sgs/librtld_db/demo/Makefile.com
↓ open down ↓ 58 lines elided ↑ open up ↑
  59   59  # The following lint error suppression definitions are to remove lex errors
  60   60  # we have no control over.
  61   61  LINTERRS =      -erroff=E_NAME_DEF_NOT_USED2 \
  62   62                  -erroff=E_FUNC_RET_ALWAYS_IGNOR2 \
  63   63                  -erroff=E_FUNC_RET_MAYBE_IGNORED2 \
  64   64                  -erroff=E_BLOCK_DECL_UNUSED \
  65   65                  -erroff=E_EQUALITY_NOT_ASSIGNMENT
  66   66  LINTFLAGS +=    $(LDLIBS) -L../../$(MACH) $(LINTERRS)
  67   67  LINTFLAGS64 +=  $(LDLIBS) -L../../$(MACH) $(LINTERRS)
  68   68  CLEANFILES +=   $(LINTOUT)
       69 +
       70 +CERRWARN +=     -_gcc=-Wno-parentheses
       71 +CERRWARN +=     -_gcc=-Wno-unused-label
       72 +CERRWARN +=     -_gcc=-Wno-unused-variable
  69   73  # DEMO DELETE END
  70   74  
  71   75  test-sparc=     test-sparc-regs
  72   76  test-i386=      
  73   77  TESTS=          test-maps test-breaks test-steps test-plt_skip \
  74   78                      test-object-padding $(test-$(MACH))
  75   79  
  76   80  # DEMO DELETE START
  77   81  ROOTONLDBIN=            $(ROOT)/opt/SUNWonld/bin
  78   82  ROOTONLDBINPROG=        $(PROG:%=$(ROOTONLDBIN)/%)
  79   83  ROOTONLDBINPROG64=      $(PROG:%=$(ROOTONLDBIN)/$(MACH64)/%)
  80   84  
  81   85  FILEMODE=       0755
  82   86  # DEMO DELETE END
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX