it inst compiling im not understanding the reason or what i should change? this is the reason stated :
ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
UIMenuEntry entries = (UIMenuEntry)pgm_read_word(&(men->entries));
UIMenuEntry *ent =(UIMenuEntry *)pgm_read_word(&(entries[menuPos[menuLevel]]));
UIMenuEntry testEnt;
:o uint8_t entType = HAL::readFlashByte((const prog_char*)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3 = direct action command
int action = pgm_read_word(&(ent->action));
if(mtype==2 && activeAction==0) // browse through menu items
{
if((UI_INVERT_MENU_DIRECTION