Project

General

Profile

Actions

Bug #12101

closed

libsldap: cast between incompatible function types

Added by Toomas Soome over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build errors with gcc 8:

    ../common/ns_connmgmt.c: In function 'setup_mt_conn':
    ../common/ns_connmgmt.c:355:29: error: cast between incompatible function types
    from 'thread_t (*)(void)' {aka 'unsigned int (*)(void)'} to 'void * (*)(void)' [
    -Werror=cast-function-type]
      extrafns.ltf_threadid_fn = (void * (*)(void))thr_self;
                                 ^
    cc1: all warnings being treated as errors

Testing done: build/install/boot

Actions

Also available in: Atom PDF