Project

General

Profile

Actions

Bug #8832

closed

libdll: 'id' defined but not used

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2017-11-20
Due date:
% Done:

100%

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

Description

Debug build error from gcc 6:

    ../common/dlfcn.c:29:19: error: 'id' defined but not used [-Werror=unused-const-variable=]
     static const char id[] = "\n@(#)$Id: dll library (AT&T Research) 2009-04-15 $\0\n";
                       ^~
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk over 3 years ago

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

git commit a9ecb23444fb4086c2f46388f05df21dca317b58

commit  a9ecb23444fb4086c2f46388f05df21dca317b58
Author: Toomas Soome <tsoome@me.com>
Date:   2017-11-27T16:04:39.000Z

    8832 libdll: 'id' defined but not used
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF