On Mon, 7 Nov 2011 00:04:19 -0500 Mike Blumenkrantz <[email protected]> wrote:
> SPANK SPANK SPANK > > edje_lua2.c: In function '_elua_obj_new': > edje_lua2.c:538: warning: no return statement in function returning > non-void edje_lua2.c: In function '_elua_map_new': > edje_lua2.c:544: warning: no return statement in function returning Damn, my compiler needs to take bitching lessons from my girl, she's an expert. I'm not getting those warnings, or errors, and that should be an error. > non-void edje_lua2.c: In function '_elua_text_font': > edje_lua2.c:2101: warning: passing argument 2 of > 'evas_object_text_font_get' from incompatible pointer > type /usr/include/evas-1/Evas.h:7599: note: expected 'const char **' > but argument is of type 'char **' edje_lua2.c: In function > '_elua_text_text': edje_lua2.c:2122: warning: suggest parentheses > around assignment used as truth value edje_lua2.c: In function > '_elua_image_image': edje_lua2.c:2145: warning: passing argument 2 of > 'evas_object_image_file_get' from incompatible pointer > type /usr/include/evas-1/Evas.h:6411: note: expected 'const char **' > but argument is of type 'char **' edje_lua2.c:2145: warning: passing > argument 3 of 'evas_object_image_file_get' from incompatible pointer > type /usr/include/evas-1/Evas.h:6411: note: expected 'const char **' > but argument is of type 'char **' edje_lua2.c: In function > '_elua_edje_file': edje_lua2.c:2207: warning: passing argument 2 of > 'edje_object_file_get' from incompatible pointer type Edje.h:1766: > note: expected 'const char **' but argument is of type 'char **' > edje_lua2.c:2207: warning: passing argument 3 of > 'edje_object_file_get' from incompatible pointer type Edje.h:1766: > note: expected 'const char **' but argument is of type 'char **' Not sure what to de about those. Caught between one API that needs const, and one that doesn't. In the end, the variable itself is being changed, so it's not const. I'll just cast to shut up the damn compiler. Fixes for both will be in my next drop, I'm part way through the other half of the map API right now. -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world.
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
