|
From: | Parthasaradhi Nayani |
Subject: | Re: [avr-gcc-list] efficiency of assigning bits |
Date: | Sun, 13 Mar 2005 08:33:12 -0800 (PST) |
> Wouldn't it be a better idea to write code that > compiles with avr-gcc? > $ avr-gcc -mmcu=at90s2313 /tmp/nayani.c > /tmp/nayani.c:4:14: invalid suffix "B11101101" > on integer constant winavr is avr-gcc. The suffix error - you have not preceded the 'B' with a zero so naturally the compiler complained. The correct method is 0Bxxxxxxxx Also please the binary suffix is implemented in the recent past (gcc). Please check the version you have. Nayani __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/
[Prev in Thread] | Current Thread | [Next in Thread] |