Project

General

Profile

Bug #11800

i86hvm: cast between incompatible function types

Added by Toomas Soome about 1 year ago. Updated about 1 year 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/xen/io/xdf.c:232:8: error: cast between incompatible function types from 'int (*)(char *)' to 'void (*)(void *)' [-Werror=cast-function-type]
            (void (*)(void *))xdf_dmacallback,
            ^
    cc1: all warnings being treated as errors

#1

Updated by Electric Monk about 1 year ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100

git commit 95d486fbe6ce779cf0bbaf748766b2404e3f1116

commit  95d486fbe6ce779cf0bbaf748766b2404e3f1116
Author: Toomas Soome <tsoome@me.com>
Date:   2019-10-12T06:45:33.000Z

    11800 i86hvm: cast between incompatible function types
    Reviewed by: John Levon <john.levon@joyent.com>
    Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF