This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

EC166 and unsigned char/signed char

Hi to all,
I have in use the EC++ Compiler from Tasking and want to change my whole EC++ project to KEIL. I tried to compile some files with the KEIL EC166 but I always get the following error:
------------------
argument of type "char *" is incompatible with parameter of type "signed char *"
------------------
I give you a short eyample:

#include <string.h>
int func1()
{
char sHlp[10];
return strlen(sHlp);
}
The error is shown at the bold line.

Could it be that the KEIL EC166 has the default 'char' defined as 'unsigned char'?
And if this is so, is there a possibility to change this with a commandline-option or #pragma?

Thank you for your help!
Franz

Parents
  • Hallo Franz,

    I'm now in the same situation like you, switching from Tasking to Keil. When i compiled my first Project with Keil EC166 I was surprised. Nothing works really. There is no Dokumentation about Keil EC166 compared to Tasking. And, i found out that there is no support for abstract classes. I can't understand.

    So I'm very interested in your experience with Keil EC166. Please contact me.

    Thank You
    Uli

Reply
  • Hallo Franz,

    I'm now in the same situation like you, switching from Tasking to Keil. When i compiled my first Project with Keil EC166 I was surprised. Nothing works really. There is no Dokumentation about Keil EC166 compared to Tasking. And, i found out that there is no support for abstract classes. I can't understand.

    So I'm very interested in your experience with Keil EC166. Please contact me.

    Thank You
    Uli

Children