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

Also available in: Atom PDF