Project

General

Profile

Actions

Bug #10420

closed

consms: 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/consms.c:110:2: error: cast between incompatible function types from 'void (*)()' to 'int (*)()' [-Werror=cast-function-type]
      (int (*)())consmsuwput,
      ^
    ../../common/io/consms.c:120:2: error: cast between incompatible function types from 'void (*)()' to 'int (*)()' [-Werror=cast-function-type]
      (int (*)())consmslrput,
      ^
    ../../common/io/consms.c:131:2: error: cast between incompatible function types from 'void (*)()' to 'int (*)()' [-Werror=cast-function-type]
      (int (*)())consmslwserv,
      ^
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk over 3 years ago

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

git commit 98bfe312451089fb99dd3ccde47363ce4d275459

commit  98bfe312451089fb99dd3ccde47363ce4d275459
Author: Toomas Soome <tsoome@me.com>
Date:   2019-02-20T22:19:14.000Z

    10420 consms: cast between incompatible function types
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Reviewed by: C Fraire <cfraire@me.com>
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Approved by: Robert Mustacchi <rm@joyent.com>

Actions

Also available in: Atom PDF