Project

General

Profile

Actions

Bug #6752

closed

E_SUPPRESSION_DIRECTIVE_UNUSED lint warnings on SPARC build

Added by Gary Mills over 5 years ago. Updated over 5 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:

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 #1

Updated by Electric Monk over 5 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 80 to 100

git commit a7d0884d71898c1977a10cdb2235307e2eb9b20e

commit  a7d0884d71898c1977a10cdb2235307e2eb9b20e
Author: Gary Mills <gary_mills@fastmail.fm>
Date:   2016-03-28T18:57:50.000Z

    6752 E_SUPPRESSION_DIRECTIVE_UNUSED lint warnings on SPARC build
    Reviewed by: Garrett D'Amore <garrett@damore.org>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Actions

Also available in: Atom PDF