Yeah, the problem is the "code".

Thanks

On Fri, Mar 7, 2008 at 6:39 AM, Chris Emerson <[EMAIL PROTECTED]>
wrote:

> On Thu, Mar 06, 2008 at 11:24:22PM -0300, 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[]=
> [snip]
> > Does anyone know what is the problem?
>
> I suspect the problem is that "code" is a reserved word in SDCC.  Try
> another name.
>
> Cheers,
>
> Chris
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Sdcc-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to