[Webkit-unassigned] [Bug 38045] Avoid increasing required alignment of target type warning on ARM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 15 06:47:13 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38045


Gabor Loki <loki at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #61650|                            |review?
               Flag|                            |




--- Comment #12 from Gabor Loki <loki at webkit.org>  2010-07-15 06:47:12 PST ---
Created an attachment (id=61650)
 --> (https://bugs.webkit.org/attachment.cgi?id=61650)
Avoid increasing required alignment of target type warning on ARM

One or two weeks ago Gavin and I discussed this problem on IRC, and Gavin suggested to have reinterpret_cast_ptr<T>(void*) template function which bypasses this warning on ARM (and do not poke any other target). So, I have created a patch which solves this issue with this reinterpret_cast_ptr template function (and a wrapper macro for other targets).

This patch fixes the alignment warnings on ARM (and on Thumb-2 as well).

-- 
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