Re: [AD] [BUG] ccolconv.c void * arith.

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Thomas Fjellstrom wrote:

Someone on #allegro was toying with making the MSVC build not dependant on asm and hes hit a road block:

<FrozenSpoon> void *src;   src += 4;     = error: void * is unknown size :/

all throughout ccolconv.c it does stuff similar to that, arith on a void pointer.

Now GCC will take it (why?) but he says his MSVC will not.


gcc extension. It should be possible to fix by changing occurances to char * or unsigned char *. And maybe we should use -Wpointer-arith.

Peter





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/