Project

General

Profile

Actions

Bug #11731

closed

kaio: cast between incompatible function types

Added by Toomas Soome about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

Build errors with gcc 8:

    ../../common/os/aio.c:142:2: error: cast between incompatible function types from 'int64_t (*)(long int,  long int,  long int,  long int,  long int,  long int)' {aka 'long int (*)(long int,  long int,  long int,  long int,  long int,  long int)'} to 'int (*)()' [-Werror=cast-function-type]
      (int (*)())kaioc
      ^
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk almost 4 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 8ab009369fb9f9b1e690d195ddcfbd8165a53f34

commit  8ab009369fb9f9b1e690d195ddcfbd8165a53f34
Author: Toomas Soome <tsoome@me.com>
Date:   2019-10-01T09:33:04.000Z

    11731 kaio: cast between incompatible function types
    Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF