Re: [Sdcc-user] HELP NEEDED: error 25: Structure/Union expected left of '.->'

2008-08-14 Thread Philipp Klaus Krause
Néstor Amigo Cairo schrieb: > [...] I would prefer a PIC, since it's easier to program than other, > more complex, solutions. Due to the obligatory bank switching stuff used in PICs IMO they are among the most difficult to program among the processors supported by sdcc. IMO the Z80 is a lot easier

Re: [Sdcc-user] HELP NEEDED: error 25: Structure/Union expected left of '.->'

2008-08-14 Thread Raphael Neider
> You put it very clear. The question now is if the PIC would at least > be able to represent a board and make some moves without committing > suicide. Maybe it could be used for some purpose: for example, to > control positions of the pieces on the board, and things like that, > then, a more powe

Re: [Sdcc-user] HELP NEEDED: error 25: Structure/Union expected left of '.->'

2008-08-14 Thread Néstor Amigo Cairo
You put it very clear. The question now is if the PIC would at least be able to represent a board and make some moves without committing suicide. Maybe it could be used for some purpose: for example, to control positions of the pieces on the board, and things like that, then, a more powerful proces

Re: [Sdcc-user] HELP NEEDED: error 25: Structure/Union expected left of '.->'

2008-08-14 Thread Raphael Neider
> BTW, I have realized that I was compiling for the default target, not > PIC16. Now, I'm getting some linker errors. I'm attaching the sources, > you can test it just with > # make > > I have commented out "puts" and "#include " and two assertions. > But I still get the following: > > [EMAIL PRO

[Sdcc-user] HELP NEEDED: error 25: Structure/Union expected left of '.->'

2008-08-14 Thread Néstor Amigo Cairo
BTW, I have realized that I was compiling for the default target, not PIC16. Now, I'm getting some linker errors. I'm attaching the sources, you can test it just with # make I have commented out "puts" and "#include " and two assertions. But I still get the following: [EMAIL PROTECTED]:~/Desktop/

Re: [Sdcc-user] HELP NEEDED: error 25: Structure/Union expected left of '.->'

2008-08-12 Thread Néstor Amigo Cairo
Thanks!! You were *very* fast. 2008/8/12 Raphael Neider <[EMAIL PROTECTED]>: > Hi, > >> I'm new to SDCC. I'm getting the following error when porting an app from >> GCC: >> >> firstchess.c:499: error 25: Structure/Union expected left of '.->' >> >> at least it happens 10 times. >> >> I'm attaching

Re: [Sdcc-user] HELP NEEDED: error 25: Structure/Union expected left of '.->'

2008-08-11 Thread Raphael Neider
Hi, I'm new to SDCC. I'm getting the following error when porting an app from GCC: firstchess.c:499: error 25: Structure/Union expected left of '.->' at least it happens 10 times. I'm attaching the sources, so you can check them. Thanks!! You did read the warnings, did you? SDCC changed str

[Sdcc-user] HELP NEEDED: error 25: Structure/Union expected left of '.->'

2008-08-11 Thread Néstor Amigo Cairo
Hi, all!! I'm new to SDCC. I'm getting the following error when porting an app from GCC: firstchess.c:499: error 25: Structure/Union expected left of '.->' at least it happens 10 times. I'm attaching the sources, so you can check them. Thanks!! -- Néstor +34 687 96 74 81 [EMAIL PROTECTED] /*