gcc problem
2008-02-28 by Tom
I am using avrgcc 4.2.1 through AVRStudio 4.13 Service Pack 1.
I am getting a frustrating compiler error:
in line 38:
main (
I am getting:
error: unexpected '=', ' ,' , ', ' , ';', 'asm' or '_attribute_" before
'{' token
Problem is the only lines prior to this line in the code are comments
and two includes, explicitly:
#include <stdint.h>
#include <string.h>
So, am I to assume there is an error in one of these two include files?
This is my first attempt at using C on an AVR, and I am flummoxed.
avrFreak