Is the CodeWarrior compiler customizable?
Reading documents supplied with the tool (CodeWarrior_for_Symbian_OS.pdf, c_porting_guide.pdf) I don’t find anything about that.
What I mean is:
. Is there any way to set the warning level? It seems to me that it is just an ON | OFF option and no level can be specified.
. or about casting, is there anyway to tell the compiler how to threat certain casting? An example.
typedef char CH;
CH* buffer = malloc(CERTAIN_SIZE);
And I get as error:
error: invalid conversion from `void*' to `CH*'
Of course I can explicitly cast
CH* buffer = (CH*) malloc(CERTAIN_SIZE);
But since I have plenty of these in the code that I have to deal with… I was wondering if I can set it in the compiler.