Project

General

Profile

Actions

Bug #12122

closed

rcm_daemon: cast between incompatible function types

Added by Toomas Soome almost 4 years ago. Updated over 3 years ago.

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

100%

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

Description

Build errors with gcc 8:

    ../common/rcm_subr.c: In function 'rcmd_db_clean':
    ../common/rcm_subr.c:1753:29: error: cast between incompatible function types from 'void (*)()' to 'void * (*)(void *)' [-Werror=cast-function-type]
      if (thr_create(NULL, NULL, (void *(*)(void *))db_clean,
                                 ^
    cc1: all warnings being treated as errors

Testing done: build/install/boot

Actions #1

Updated by Toomas Soome over 3 years ago

  • Description updated (diff)
Actions #2

Updated by Electric Monk over 3 years ago

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

git commit 0e540600911704593d2db2a54688b06c90621822

commit  0e540600911704593d2db2a54688b06c90621822
Author: Toomas Soome <tsoome@me.com>
Date:   2019-12-27T17:29:54.000Z

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

Actions

Also available in: Atom PDF