Project

General

Profile

Bug #8714

sgs: '__*_msg' defined but not used

Added by Toomas Soome about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2017-10-13
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Debug mode build errors with gcc 6:

    XXX_msg.c generation should annotate with unused attribute

    syminfo_msg.c:115:19: error: '__syminfo_msg' defined but not used [-Werror=unuse
    d-const-variable=]
     static const char __syminfo_msg[3771] = {
                       ^~~~~~~~~~~~~
    cc1: all warnings being treated as errors
#1

Updated by Electric Monk about 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 4db8fe43ed08e19640260f2c294017792ad25f65

commit  4db8fe43ed08e19640260f2c294017792ad25f65
Author: Toomas Soome <tsoome@me.com>
Date:   2017-10-26T17:35:38.000Z

    8714 sgs: '__*_msg' defined but not used
    Reviewed by: Richard Lowe <richlowe@richlowe.net>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF