Project

General

Profile

Actions

Bug #6752

closed

E_SUPPRESSION_DIRECTIVE_UNUSED lint warnings on SPARC build

Added by Gary Mills over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
tools - gate/build tools
Start date:
2016-03-16
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

In a build on SPARC hardware, I got these four lint warnings in mail_msg:

"../../common/io/usb/clients/usbser/usbser.c", line 1868: warning: lint suppression directive not used (E_SUPPRESSION_DIRECTIVE_UNUSED)
"../../common/io/usb/clients/usbser/usbser_rseq.c", line 37: warning: lint suppression directive not used (E_SUPPRESSION_DIRECTIVE_UNUSED)
"../../common/sys/ctype.h", line 69: warning: lint suppression directive not used (E_SUPPRESSION_DIRECTIVE_UNUSED)
"../../common/sys/ctype.h", line 76: warning: lint suppression directive not used (E_SUPPRESSION_DIRECTIVE_UNUSED)

SPARC and x86 hardware use separate Makefiles to compile the same source. The x86 Makefiles contain this line:

LINTTAGS    += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED

That explains why these warnings don't appear on x86 lint builds

Actions

Also available in: Atom PDF