From: Johan K. <joh...@id...> - 2003-03-11 17:02:03
|
> char *p = NULL; > code char *cp = NULL; > data char *dp = NULL; > > > error: indirections to different types assignment > > from type 'void generic * ' > > IMHO there should be a NULL, which can be assigned to any type of pointer. > Comments? Assuming a void pointer is a pointer to a void and therefore implicitly meaningless, it is now up to the discretion of the programmer to assign or cast it to whatever pointer. Fixed in SDCCsymt.c:1.144. I wished all problems were that easy to fix. Johan |