Print this page
gag Studio warnings that only occur with an adjunct proto
Studio has no equivalent to -isystem, and no option to its -errhdr that
seems equivalent. As such, we have to gag the warnings that are induced
from the 3rd party headers when those headers are found via the adjunct,
as they will not match Studio's seemingly hard-coded exception on
`/usr/include`
*** 40,55 ****
LDLIBS += -lcurses -ldtrace
all install := LDLIBS += -lglib-2.0
LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
LINTFLAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
LINTFLAGS64 += -erroff=E_NAME_USED_NOT_DEF2
LINTFLAGS64 += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
FILEMODE = 0555
- ELFWRAP = elfwrap
WRAPOBJ = latencytop_wrap.o
CLEANFILES += $(OBJS) $(WRAPOBJ) ./latencytop_d ./latencytop_trans
.KEEP_STATE:
--- 40,56 ----
LDLIBS += -lcurses -ldtrace
all install := LDLIBS += -lglib-2.0
LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
LINTFLAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
+ LINTFLAGS += -erroff=E_STATIC_UNUSED
LINTFLAGS64 += -erroff=E_NAME_USED_NOT_DEF2
LINTFLAGS64 += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
+ LINTFLAGS64 += -erroff=E_STATIC_UNUSED
FILEMODE = 0555
WRAPOBJ = latencytop_wrap.o
CLEANFILES += $(OBJS) $(WRAPOBJ) ./latencytop_d ./latencytop_trans
.KEEP_STATE: