Project

General

Profile

Actions

Bug #8852

closed

libcurses: local unused types

Added by Toomas Soome almost 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

Also available in: Atom PDF