Project

General

Profile

Actions

Bug #2023

closed

Bug #1450: Illumos should be buildable with GCC4

libnisdb is inconsistently const-y

Added by Rich Lowe over 9 years ago. Updated over 9 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:
Gerrit CR:

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
Actions #1

Updated by Rich Lowe over 9 years ago

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

Resolved in r13583 commit:fabd461f883f

Actions

Also available in: Atom PDF