[Webkit-unassigned] [Bug 111436] New: Fix cast-align warning in ASCIIFastPath.h on ARM
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 5 06:46:08 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=111436
Summary: Fix cast-align warning in ASCIIFastPath.h on ARM
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ossy at webkit.org
CC: darin at apple.com, loki at webkit.org, zherczeg at webkit.org,
benjamin at webkit.org
ASCIIFastPath.h introduced in https://trac.webkit.org/changeset/104127 ,
but on ARM we get zillion warning from it:
/home/webkitbuildbot/oszi/WebKitNix/Source/WTF/wtf/text/ASCIIFastPath.h: In instantiation of 'bool WTF::charactersAreAllASCII(const CharacterType*, size_t) [with CharacterType = short unsigned int; size_t = unsigned int]':
/home/webkitbuildbot/oszi/WebKitNix/Source/WTF/wtf/text/WTFString.h:606:66: required from here
/home/webkitbuildbot/oszi/WebKitNix/Source/WTF/wtf/text/ASCIIFastPath.h:88:9: warning: cast from 'const short unsigned int*' to 'const MachineWord* {aka const unsigned int*}' increases required alignment of target type [-Wcast-align]
This cast is safe, because the adress is aligned here. Patch is coming soon.
( Similar fixes:
- https://trac.webkit.org/changeset/67028
- https://trac.webkit.org/changeset/64302 )
--
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