ANSI C++ forbids implicit conversion...

Hi…

I am trying to compile a program on a PPC823 which reads from memory in
a device. I do #include <hw/inout.h> and get the following… any
pointers, hints or ideas on what to do or where to look for the answer?
Thanks.

Bests…

Miguel.



{saic0}/home/saic/shm/xOO > QCC -Vgcc_ntoppcbe -o ppcExc comExc.C
In file included from /usr/include/hw/inout.h:24,
from comExc.C:13:
/usr/include/ppc/inout.h: In function void * in8s(void *, unsigned int, unsigned int)': /usr/include/ppc/inout.h:61: ANSI C++ forbids implicit conversion from void *’ in initialization
/usr/include/ppc/inout.h: In function void * in16s(void *, unsigned int, unsigned int)': /usr/include/ppc/inout.h:74: ANSI C++ forbids implicit conversion from void *’ in initialization
/usr/include/ppc/inout.h: In function void * in32s(void *, unsigned int, unsigned int)': /usr/include/ppc/inout.h:87: ANSI C++ forbids implicit conversion from void *’ in initialization
/usr/include/ppc/inout.h: In function void * out8s(const void *, unsigned int, unsigned int)': /usr/include/ppc/inout.h:118: ANSI C++ forbids implicit conversion from void *’ in initialization
/usr/include/ppc/inout.h: In function void * out16s(const void *, unsigned int, unsigned int)': /usr/include/ppc/inout.h:131: ANSI C++ forbids implicit conversion from void *’ in initialization
/usr/include/ppc/inout.h: In function void * out32s(const void *, unsigned int, unsigned int)': /usr/include/ppc/inout.h:144: ANSI C++ forbids implicit conversion from void *’ in initialization
cc: error 33




\


my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.

Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/