[Webkit-unassigned] [Bug 57241] New: check-webkit-style: "using namespace foo; " should be flagged as an error in headers
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 28 09:38:45 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=57241
Summary: check-webkit-style: "using namespace foo;" should be
flagged as an error in headers
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ddkilzer at webkit.org
CC: levin at chromium.org
In Bug 57239, a "using namespace WebCore;" statement caused issues when compiling WebCore on iOS (even though the body of HTMLConverter.mm was commented out). Such "using namespace" statements are very dangerous in headers, so check-webkit-style should flag them as an error.
I'm told that llvm (clang) may warn about "using namespace" statements in headers in the future, but since not all ports will be using llvm to compile WebKit, it would still be good to have this in check-webkit-style.
--
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