Try surrounding the strings with curly braces ( {""}; }
regards,
Vangelis
Ov3rM1nd wrote:
>
>
> Hi, Im writing a code for a PIC 16F877A and im getting this error:
> piccode.c:50: syntax error: token -> '[' ; column 17
>
> The code is this:
>
> const char code[]=
> "\x5a\x38\x30\x41"
The .lkr files are part of GPUTILS package, not SDCC package.
I think Scott distributes them as-is without modifying them.
You should be looking for your problem somewhere else...
regards,
Vangelis Rokas
Phil Anast wrote:
> I'm tryin got use sdcc for the pic18.
>
> I am having pr
RTOS development team, but unfortunately it has been turned down.
regards,
Vangelis Rokas
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configura
bit reading/writing functions in the code
generator (gen.c)
of the respective port, so that it reads/writes bitfields in the correct
offset of the
array bytes' .
regards,
Vangelis Rokas
[EMAIL PROTECTED] wrote:
> I think it is a bug because:
>
> struct {
>unsigned short CCC:
__wparam
This is the proper way to define a "putchar" function, just write:
PUTCHAR(my_putchar)
{
blah...
blah...
}
There is nothing similar for getchar, but definition for getchar is
char getchar(void);
no dark keywords here!:-)
hope this solves your problem...
Vangeli
What differences are there? Can you send us a .diff file? and a short
description of your changes?
regards,
Vangelis Rokas
[EMAIL PROTECTED] wrote:
> Hi
>
> Sorry to ask so much questions in this list but i have again a problem
> with a lib coming with the sdcc. This time its the