Project

General

Profile

Actions

Bug #10536

closed

st: cast between incompatible function types

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
2019-03-12
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build error with gcc 8:

    ../../common/io/scsi/targets/st.c: In function 'st_start':
    ../../common/io/scsi/targets/st.c:6493:16: error: cast between incompatible function types from 'int (*)(char *)' to 'void (*)()' [-Werror=cast-function-type]
         func fnc = (func)st_runout;
                    ^
    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 1ef1b39822f02981cf693197a94ee81aa30c1c26

commit  1ef1b39822f02981cf693197a94ee81aa30c1c26
Author: Toomas Soome <tsoome@me.com>
Date:   2019-03-21T16:19:00.000Z

    10536 st: cast between incompatible function types
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Reviewed by: Rob Johnston <rob.johnston@joyent.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF