Project

General

Profile

Bug #1829

Bug #1450: Illumos should be buildable with GCC4

ipf and gcc4 could get along better

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

Status:
Resolved
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2011-11-29
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

There's a couple of minor nits with ipf and GCC4, that don't really warrant separating into two bugs:

- It uses # define offsetof(t,m) (int)((&((t *)0L)->m)) and GCC4 is smart enough (now) to know that that is not necessarily representable in int (practically, it always will be, but...)

- It assigns an arbitrary 'y' to ip_hl in IP_HL_A, GCC4 wants the truncation to 4 bits to be explicit.

History

#1

Updated by Rich Lowe over 8 years ago

  • Parent task set to #1450
#2

Updated by Rich Lowe over 8 years ago

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

Resolved in r13538 commit:c3705095a078

Also available in: Atom PDF