Compilation error

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Locked
nestor

Compilation error

Post 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
paolo.gai
Administrator
Posts: 877
Joined: Thu Dec 07, 2006 12:11 pm

Re: Compilation error

Post 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
Locked