Bug 30096
Summary: | RegisterFile.h uses errno() in case of HAVE(VIRTUALALLOC), but does not does not include it explicitly | ||
---|---|---|---|
Product: | WebKit | Reporter: | Alexander Vassilev <avasilev> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | avasilev, barraclough |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Alexander Vassilev
RegisterFile.h:
errno.h is included only in the HAVE(MMAP) case, but is used also in the HAVE(VIRTUALALLOC) case, which can cause a compile error in case errno.h was not implicitly included before.
The same problem used to exist with fprintf(), but the <stdio.h> include was moved out of the #if HAVE(MMAP). <errno.h> should probably be also moved out of the #if HAVE(MMAP) case.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Gavin Barraclough
RegisterFile.h no longer uses error!
cheers, G.