I'm porting my proj (developed in 'C') to Symbian.
I've huge no of compile errors while compiling for Emulator
char *ptr = malloc(10);
Error: Can't convert 'void *' to 'char *'
In 'C' its a just warning. But in C++ its giving error.
For GCCE compiler, by adding the following option '-fpermissive', the error got downgraded to warning.
C_LANG_OPTION: -x c++ -fpermissive
But I'm unable to find similar type of flags for WINSCW compiler.
I've added the follwing line in MMP file, but still no use.
OPTION CW -w implicit -lang c++ -fpermissive
Environment: S60_3rd_MR, WINSCW, Carbide 2.0
How can I supress this type of typecast errors.
Any help greately appreciated.