From: Borut R. <bor...@si...> - 2008-03-07 06:02:59
|
Borut Razem wrote: > "code" is reserved word in sdcc. Use some other name for the identifier. > > ... or use --std-c99 or --std-c89 command line option. > Borut > > Ov3rM1nd wrote: > >> Sorry, send with the wrong topic... >> >> On Thu, Mar 6, 2008 at 11:22 PM, Ov3rM1nd <ove...@gm... >> <mailto:ove...@gm...>> 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 > Sdc...@li... > https://lists.sourceforge.net/lists/listinfo/sdcc-user > > > |