Project

General

Profile

Actions

Bug #12081

closed

libldap5: cast between incompatible function types

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

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

100%

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

Description

Build errors with gcc 8:

../sources/ldap/common/open.c:295:3: error: cast between incompatible function t
ypes from 'pthread_t (*)(void)' {aka 'unsigned int (*)(void)'} to 'void * (*)(vo
id)' [-Werror=cast-function-type]
   (void *(*)(void))pthread_self
   ^
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 c94f4b0313ed735fc39e1b15e1fa48c0e6e3730f

commit  c94f4b0313ed735fc39e1b15e1fa48c0e6e3730f
Author: Toomas Soome <tsoome@me.com>
Date:   2019-12-18T17:43:04.000Z

    12081 libldap5: cast between incompatible function types
    Reviewed by: C Fraire <cfraire@me.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF