Project

General

Profile

Actions

Bug #12081

closed

libldap5: cast between incompatible function types

Added by Toomas Soome almost 2 years ago. Updated almost 2 years 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:

../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

Also available in: Atom PDF