Page 1 of 1

Compilation error

Posted: Fri Nov 16, 2012 7:32 pm
by nestor
Hello, many times when I compile my programs I obtain this compilation error:
CPP eecfg.c
eecfg.c:69: error: syntax error before 'EE_counter_RAM'
eecfg.c:69: warning: type defaults to 'int' in declaration of 'EE_counter_RAM'
eecfg.c:70: warning: braces around scalar initializer
eecfg.c:70: warning: (near initialization for 'EE_counter_RAM[0]')
eecfg.c:70: warning: excess elements in scalar initializer
eecfg.c:70: warning: (near initialization for 'EE_counter_RAM[0]')
eecfg.c:71: warning: data definition has no type or storage class
make: *** [obj/Debug/eecfg.o] Error 1
What's the cause? What can I do to solve? Thanks

Re: Compilation error

Posted: Sat Nov 17, 2012 10:24 am
by paolo.gai
Hi,

It could be either a problem with the compiler, or with the RT-Druid code generator.

- compiler: Which version are you using? (mainly if you are using Microchip/FLEX boards) try to install a new version of the compiler from the Microchip website.

- RT-Druid: are you using the latest version distributed on the web? If so, please send us (info "at" evidence.eu.com) the OIL file and a minimal application file.

Ciao,

Paolo