Project

General

Profile

Bug #1712

Bug #1450: Illumos should be buildable with GCC4

remove uses of CPP assertions in conditionals

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

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

CPP support "assertions" in conditions, these are statements of the form #foo(bar) where foo is a noun, and bar an adjective. #cpu(i386), #machine(pdp11)

These are deprecated in newer GCC, generating a warning, and very rarely used (as perhaps the second example demonstrates). We should just remove our (2) uses.

History

#1

Updated by Rich Lowe almost 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 60 to 100

Resolved in r13502 commit:34f6da175f72

Also available in: Atom PDF