
Originally Posted by
sivareddy_jntu
hai,
In 'C' its a just warning. But in C++ its giving error.
Why not fix the warning/error by casting the void* to whatever variable type you are assigning it to, in this case char*?
Also if you're porting C, then you should compile your sources as C. There are at least two ways to achieve this:
1. Rename the source files to have a .c suffix.
2. Add the following to your MMP file:
Code:
OPTION CW -lang c
OPTION GCCE -x c
Note that these options affect all files in the MMP file. Therefore option 1 is preferable
Lauri