[webkit-reviews] review requested: [Bug 38045] Avoid increasing required alignment of target type warning on ARM : [Attachment 61650] 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:11 PDT 2010
Gabor Loki <loki at webkit.org> has asked for review:
Bug 38045: Avoid increasing required alignment of target type warning on ARM
https://bugs.webkit.org/show_bug.cgi?id=38045
Attachment 61650: Avoid increasing required alignment of target type warning on
ARM
https://bugs.webkit.org/attachment.cgi?id=61650&action=review
------- Additional Comments from Gabor Loki <loki at webkit.org>
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).
More information about the webkit-reviews
mailing list