Project

General

Profile

Actions

Bug #5910

closed

libnisdb won't build with modern GCC

Added by Andrew Stormont about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2015-05-05
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

libnisdb is suffering from the following issues which cause problems with newer versions of GCC:

- in nis_parse_ldap_mapc.c s_malloc is missing a prototype
- in db_mindex3.cc entriesFromLDAP tries to cast void pointer to int
- in db_mindex3.cc entriesFromLDAPthread tries to cast int to void pointer
- in db_table.cc __setMaxTimeT tries to shift past int width
- in nis_db.cc db_in_dict_file tries to cast pointer to bool_t


Files

libnisdb.diff (3.22 KB) libnisdb.diff Andrew Stormont, 2015-05-05 11:31 AM

Related issues

Related to illumos gate - Bug #3062: illumos should build/work with GCC 4.6 or newerResolvedToomas Soome2012-08-07

Actions
Actions

Also available in: Atom PDF