Project

General

Profile

Actions

Bug #10418

closed

chxge: 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-02-19
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build error with gcc 8:

    ../../common/io/chxge/com/my3126.c: In function 'my3126_phy_create':
    ../../common/io/chxge/com/my3126.c:209:5: error: cast between incompatible function types from 'int (*)(struct cphy *)' to 'void (*)(void *)' [-Werror=cast-function-type]
         (void (*)(void *))my3126_interrupt_handler,
         ^
    cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF