[Webkit-unassigned] [Bug 93931] [EFL] Remove alloca usage.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 15 16:44:34 PDT 2012


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





--- Comment #10 from Kangil Han <kangil.han at samsung.com>  2012-08-15 16:45:06 PST ---
(In reply to comment #9)
> I tried the following snippet here:
> 
>     char buffer[sizeof(Edje_Message_Float_Set) + sizeof(double)];
>     Edje_Message_Float_Set *message = reinterpret_cast<Edje_Message_Float_Set*>(buffer);
> 
> and neither gcc 4.7.1 nor clang 3.1 with -Wall and -Wextra have raised any warning such as the one Kangil mentions in the ChangeLog.
> 
> Kangil, what compiler are you using and what flags are being passed to it when building these files?

Here it is. :-)
{
gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1

/home/hankangil/dev/WebKit/webkit-gtk/WebKit/Source/WebCore/platform/efl/ScrollbarEfl.cpp:184:23: warning: array subscript is above array bounds [-Warray-bounds]
/home/hankangil/dev/WebKit/webkit-gtk/WebKit/Source/WebCore/platform/efl/ScrollbarEfl.cpp:186:23: warning: array subscript is above array bounds [-Warray-bounds]
}

(In reply to comment #8)
> Note that this isn't related to the bug title anymore :-)

I will select better title after figuring out the direction how I could resolve build warning with respect to strange edje message stuff. ;-)

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