Project

General

Profile

Actions

Bug #7647

open

../../common/syscall/psecflags.c has build issues

Added by Igor Kozhukhov almost 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2016-12-05
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

if disable hides of gcc warning in unix/genunix we can see build issues:

../../common/syscall/psecflags.c: In function 'psecdo':
../../common/syscall/psecflags.c:67:2: error: enumeration value 'PSF_EFFECTIVE' not handled in switch [-Werror=switch]
  switch (args->which) {
  ^
../../common/syscall/psecflags.c:79:2: error: 'set' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  secflags_apply_delta(set, args->delta);
  ^
cc1: all warnings being treated as errors
*** Error code 1
dmake: Fatal error: Command failed for target `debug64/psecflags.o'
Current working directory /ws/builds/igork/dilos-illumos.git/usr/src/uts/sun4v/genunix
Actions

Also available in: Atom PDF