Project

General

Profile

Actions

Bug #8852

closed

libcurses: local unused types

Added by Toomas Soome about 4 years ago. Updated almost 4 years ago.

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

100%

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

Description

Debug build error from gcc 6:

In file included from /code/illumos-gate/proto/root_i386/usr/include/fcntl.h:40:0,
                 from ../screen/tgetch.c:536:
../screen/tgetch.c: In function '_fpk':
/code/illumos-gate/proto/root_i386/usr/include/sys/fcntl.h:243:3: error: typedef 'flock_t' locally defined but not used [-Werror=unused-local-typedefs]
 } flock_t;
   ^~~~~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/fcntl.h:273:3: error: typedef 'flock64_t' locally defined but not used [-Werror=unused-local-typedefs]
 } flock64_t;
   ^~~~~~~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/fcntl.h:355:3: error: typedef 'fshare_t' locally defined but not used [-Werror=unused-local-typedefs]
 } fshare_t;
   ^~~~~~~~
cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk almost 4 years ago

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

git commit 9c88ac3ab4edaa5e8c0130ed1b4b376ea57c545a

commit  9c88ac3ab4edaa5e8c0130ed1b4b376ea57c545a
Author: Toomas Soome <tsoome@me.com>
Date:   2017-12-03T20:49:24.000Z

    8852 libcurses: local unused types
    Reviewed by: Gary Mills <gary_mills@fastmail.fm>
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Approved by: Gordon Ross <gwr@nexenta.com>

Actions

Also available in: Atom PDF