Beginners: please read this post and this post before posting to the forum.
0 Members and 1 Guest are viewing this topic.
class Fred { public: Fred(); virual ~Fred();}
Compiling: 8Mhz_Webbot.cavr-gcc -c -mmcu=atmega8 -I. -gstabs -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=8Mhz_Webbot.lst -std=gnu99 -Wp,-M,-MP,-MT,8Mhz_Webbot.o,-MF,.dep/8Mhz_Webbot.o.d 8Mhz_Webbot.c -o 8Mhz_Webbot.o 8Mhz_Webbot.c:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Fred'make: *** [8Mhz_Webbot.o] Error 1Build failed with 1 errors and 0 warnings...