Project

General

Profile

Actions

Bug #9029

closed

libc: duplicate 'const' declaration specifier

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2018-02-05
Due date:
% Done:

100%

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

Description

Issue revealed by gcc 7:

./port/locale/localeimpl.c 
../port/locale/localeimpl.c:149:47: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier]
 static struct locdata *locdata_get(int, const const char *);
                                               ^~~~~
cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk over 4 years ago

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

git commit 815e30865bf8158e01988f16d9717f50038e0c76

commit  815e30865bf8158e01988f16d9717f50038e0c76
Author: Toomas Soome <tsoome@me.com>
Date:   2018-02-05T15:38:51.000Z

    9029 libc: duplicate 'const' declaration specifier
    Reviewed by: Yuri Pankov <yuripv@yuripv.net>
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF