"code" is reserved word in sdcc. Use some other name for the identifier.
Borut Ov3rM1nd wrote: > Sorry, send with the wrong topic... > > On Thu, Mar 6, 2008 at 11:22 PM, Ov3rM1nd <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> 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" > "\x53\x4d\x1a\x0a" > "\x00\x00\x06\x01" > "\x0e\x01\xed\x41" > "\xc3\x04\x00\xff"; > > Does anyone know what is the problem? > > ------------------------------------------------------------------------- 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
