* Igor Murzov <[email protected]> [2012-11-10 01:00:18 +0400]: > On Fri, 9 Nov 2012 21:34:51 +0100 > Vincent Torri <[email protected]> wrote: > > > hey > > > > from gcc 4.8: > > > > lib/evas/canvas/evas_object_box.c: In function > > '_box_layout_flow_horizontal': > > lib/evas/canvas/evas_object_box.c:1427:31: warning: argument to > > 'sizeof' in 'memset' call is the same expression as the destination; > > did you mean to dereference it? [-Wsizeof-pointer-memaccess] > > memset(row_width, 0, sizeof(row_width)); > > ^ > > lib/evas/canvas/evas_object_box.c: In function '_box_layout_flow_vertical': > > lib/evas/canvas/evas_object_box.c:1615:32: warning: argument to > > 'sizeof' in 'memset' call is the same expression as the destination; > > did you mean to dereference it? [-Wsizeof-pointer-memaccess] > > memset(col_height, 0, sizeof(col_height)); > > ^ > > > > bad code ? > > That's a regression in r42650: > http://trac.enlightenment.org/e/changeset/42650 >
Damn, and by vtorri! Ugly allocas in the place of the direct declarations :( > > -- Igor > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_nov > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Gustavo Lima Chaves Computer Engineer @ ProFUSION Embedded Systems ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
