pointer of type `void *' used in arithmetic
I use potato with
libc6-dev 2.1.2-5
gcc 2.95.2-0pre2
During compilation gnome-chess I get many warnings
In file included from /usr/include/string.h:346,
from /usr/include/libgnomeui/gnome-mdi-session.h:10,
from /usr/include/libgnomeui/libgnomeui.h:99,
from /usr/include/gnome.h:9,
from gnome_chess.h:22,
from debug.c:19:
/usr/include/bits/string2.h: In function `__strcpy_small':
/usr/include/bits/string2.h:419: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:427: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:432: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:437: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:439: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:444: warning: pointer of type `void *' used in arithmetic
IMHO, instead of `void *' must be used `char *'
Dmitry
Reply to: