Project

General

Profile

Actions

Bug #12121

closed

prtconf: cast between incompatible function types

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build errors with gcc 8:

../pdevinfo.c:299:8: error: cast between incompatible function types from 'void (*)(struct di_node *)' to 'int (*)(struct di_node *, void *)' [-Werror=cast-function-type]
        (int (*)(di_node_t, void *))

Testing done: build/install/boot

Actions #1

Updated by Toomas Soome almost 2 years ago

  • Description updated (diff)
Actions #2

Updated by Electric Monk almost 2 years ago

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

git commit f772f0f818f73daf7235ea98001eb45736057eb4

commit  f772f0f818f73daf7235ea98001eb45736057eb4
Author: Toomas Soome <tsoome@me.com>
Date:   2019-12-27T18:05:07.000Z

    12121 prtconf: cast between incompatible function types
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Reviewed by: C Fraire <cfraire@me.com>
    Approved by: Robert Mustacchi <rm@fingolfin.org>

Actions

Also available in: Atom PDF