Project

General

Profile

Actions

Bug #11789

closed

gld: cast between incompatible function types

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

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build errors with gcc 8:

    ../../common/io/gld.c:2904:10: error: cast between incompatible function types from 'int (*)(queue_t *, mblk_t *)' {aka 'int (*)(struct queue *, struct msgb *)'} to 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} [-Werror=cast-function-type]
       send = (void (*)(queue_t *, mblk_t *))putq;
              ^
    cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF