Project

General

Profile

Bug #2023

Bug #1450: Illumos should be buildable with GCC4

libnisdb is inconsistently const-y

Added by Rich Lowe almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2012-01-24
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

The sort-of-C++ code in libnisdb uses const inconsistently in a way which newer compilers notice.

It's a pain to fix fully, so as to minimize vexing casts, as after a certain point, the direction of vexing casts just changes (const off? const on?). I currently have changes which pacify compilers, and are somewhere close to the cost/benefit line.


Related issues

Related to illumos gate - Bug #2036: portions of libnisdb are likely dead code.New2012-01-25

Actions

History

#1

Updated by Rich Lowe almost 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • Tags deleted (needs-triage)

Resolved in r13583 commit:fabd461f883f

Also available in: Atom PDF