We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have a program I am converting from a Rabbit Dynamic C to Keil Arm C and cant get this one intruction to work.At first it only had a routine warning about implicit function but then I tried to add a function template at the start and cant seem to get this to work with out the error (at the bottom below). Its a simple routine that puts out strings in rom to a svga parallel port depending on the pointer when invoked. I tried the knowledgebase suggestions and they don't make it better. Any help would be appreciated. Thanks and happy Friday. David //function void vmsgo(char *); //actual /* Send out 160 ASCII characters to svga module* The x & y are preset */ vmsgo(char *mp) { char *msgp; char a; char c; c = 0; msgp = mp; loop: a= msgp[c]; if (a == 0) { goto endd; //return; } else { vgaout(a); //send directly to cygnal c++; if (c == 255) goto endd; //safety for illegal messages in debug goto loop; } endd: } //user vmsgo(&msgb); //L= //msessage const char msgb[]="L="; error in Keil is: 8500.C(1075): error: #167: argument of type "const char (*)[3]" is incompatible with parameter of type "char *"