Re: [Tuxnes-devel] renderer.c compile problem
Brought to you by:
tmmm
From: Mike M. <che...@ya...> - 2004-02-20 02:19:20
|
Good catch, these structs are one member short. I.E. 0 _flags is the integer, char* controlname is the cast. --- Jason Dorje Short <jd...@us...> wrote: > renderer.c:75: warning: initialization makes integer from pointer > without a castrenderer.c:78: warning: initialization makes integer from > pointer without a castrenderer.c:78: warning: initialization from > incompatible pointer type > > They're just warnings, but pretty severe. A new field was added to the > struct but these entries didn't get it. > > I use > > alias make="make CFLAGS=\"-g -Wall -Werror -Wcast-align > -Wmissing-prototypes -Wmissing-declarations\"" > > which catches problems like this (as well as preventing compilation in a > > lot of projects that have many warnings; I use "unalias make" a lot). > > jason > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Tuxnes-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxnes-devel __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools |