On Wed, Dec 3, 2008 at 6:45 PM, Vincent Torri <[EMAIL PROTECTED]> wrote:
>
>
> On Wed, 3 Dec 2008, Gustavo Sverzut Barbieri wrote:
>
>>> -       priv = calloc(1, sizeof(*priv));
>>> +       priv = (Evas_Object_Box_Data *)calloc(1, sizeof(*priv));
>>
>> This is C and not C++, this is not required. Please do not add these.
>
> Sorry, I keep them. You never compiled code with vc++...
>
> in addition, you used the c99 feature variable size array in that code,
> which is problematic with vc++ too. Better use alloca instead, at least it's
> portable.

it's portable but often buggy. If compile does not work with c99, then
it's a huge problem...

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [EMAIL PROTECTED]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to