Bug #2603

Bug #1450: Illumos should be buildable with GCC4

uts should be -Waddress clean

Added by Rich Lowe about 2 years ago. Updated about 2 years ago.

Status:Resolved Start date:2012-04-08
Priority:Normal Due date:
Assignee:Rich Lowe % Done:

100%

Category:kernel Spent time: -
Target version:-
Difficulty:Medium Tags:

Description

GCC4 has an option, -Waddress, part of -Wall, which checks for conditions which are always true by virtue of comparing the addresses of variables (a common cause of sometimes very nasty bugs).

In the ongoing spirit of keeping uts "squeaky clean", it should be -Waddress clean and thus clean for gcc4 -Wall (modulo the existing opinion of cw(1)).

History

Updated by Rich Lowe about 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 70 to 100

Resolved in r13665 d9114464c195

Also available in: Atom PDF