[Webkit-unassigned] [Bug 93931] [EFL] Remove alloca usage.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 15 17:57:02 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=93931
--- Comment #11 from Raphael Kubo da Costa (rakuco) <rakuco at webkit.org> 2012-08-15 17:57:33 PST ---
(In reply to comment #10)
> > 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
Right. I've tried the following snippet with gcc 4.6.3 and it didn't produce any warnings either:
#include <Edje.h>
int main()
{
char buffer[sizeof(Edje_Message_Float_Set) + sizeof(double)];
Edje_Message_Float_Set* message = reinterpret_cast<Edje_Message_Float_Set*>(buffer);
message->count = 2;
message->val[0] = 0.0;
message->val[1] = 1.0;
return 0;
}
Does this code make your compiler produce any kind of warning?
--
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