[Webkit-unassigned] [Bug 89942] New: Add style check to protect against bad #ifdef usage
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 25 22:17:41 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=89942
Summary: Add style check to protect against bad #ifdef usage
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: shawnsingh at chromium.org
CC: jamesr at chromium.org, shawnsingh at chromium.org
For example, https://bugs.webkit.org/show_bug.cgi?id=89931 - #ifdef and #if have different behavior if a preprocessor symbol is defined, but its value is "false". To protect against this, one option is to create a style check that complains if someone uses #ifdef with a preprocessor symbol that actually has a value.
What other options should we consider for making a style check about this?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list