Project

General

Profile

Bug #10345

segspt_badop: cast between incompatible function types

Added by Toomas Soome 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2019-02-05
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

Build error with gcc 8:

from 'void (*)()' to 'int (*)()' [-Werror=cast-function-type]
 #define SEGSPT_BADOP(t) (t(*)())segspt_badop

History

#1

Updated by Electric Monk 10 months ago

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

git commit e09cef950d257b6d3955013d461825bbc79322ef

commit  e09cef950d257b6d3955013d461825bbc79322ef
Author: Toomas Soome <tsoome@me.com>
Date:   2019-02-08T01:39:44.000Z

    10345 segspt_badop: cast between incompatible function types
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF