Project

General

Profile

Actions

Bug #1712

closed

Bug #1450: Illumos should be buildable with GCC4

remove uses of CPP assertions in conditionals

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

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

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.

Actions

Also available in: Atom PDF