Bug 52851

Summary: check-webkit-style should catch use of #import in non-Mac-only files
Product: WebKit Reporter: Jon Honeycutt <jhoneycutt>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: cmarcelo, levin
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   

Jon Honeycutt
Reported 2011-01-20 16:09:26 PST
It would be nice if the style checker could catch use of #import on files that will be built on platforms other than the Mac to prevent build errors like <http://trac.webkit.org/changeset/75981>.
Attachments
David Levin
Comment 1 2011-01-20 22:16:13 PST
I don't know what this check would be. Is the check if file extension == 'cpp' and file has '#import', then print 'Don't do #import. This is a C++ file.' ?
Note You need to log in before you can comment on or make changes to this bug.