Project

General

Profile

Bug #11600

redirmod: cast between incompatible function types

Added by Toomas Soome 30 days ago. Updated 1 day ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

Build errors with gcc 8:

    ../../common/io/strredirm.c:80:2: error: cast between incompatible function types from 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} to 'int (*)()' [-Werror=cast-function-type]
      (int (*)())putnext, /* put */
      ^
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 1 day ago

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

git commit 203710accc1c9daa504cfe30bd32ec3e3ef13090

commit  203710accc1c9daa504cfe30bd32ec3e3ef13090
Author: Toomas Soome <tsoome@me.com>
Date:   2019-09-18T15:33:38.000Z

    11600 redirmod: cast between incompatible function types
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Robert Mustacchi <rm@fingolfin.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF