|
|
Arduino:1.5.8 (Windows XP), 板:"Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
ui.cpp: In member function 'void UIDisplay::adjustMenuPos()':
ui.cpp:2050:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
uint8_t mtype = HAL::readFlashByte((const prog_char*)&(men->menuType));
^
ui.cpp:2050:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
ui.cpp:2050:41: error: expected primary-expression before 'const'
uint8_t mtype = HAL::readFlashByte((const prog_char*)&(men->menuType));
^
ui.cpp:2050:41: error: expected ')' before 'const'
ui.cpp: In member function 'void UIDisplay::nextPreviousAction(int8_t)':
ui.cpp:2117:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
uint8_t mtype = HAL::readFlashByte((const prog_char*)&(men->menuType));
^
ui.cpp:2117:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
ui.cpp:2117:41: error: expected primary-expression before 'const'
uint8_t mtype = HAL::readFlashByte((const prog_char*)&(men->menuType));
^
ui.cpp:2117:41: error: expected ')' before 'const'
ui.cpp:2121:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
uint8_t entType = HAL::readFlashByte((const prog_char*)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3 = direct action command
^
ui.cpp:2121:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
ui.cpp:2121:43: error: expected primary-expression before 'const'
uint8_t entType = HAL::readFlashByte((const prog_char*)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3 = direct action command
^
ui.cpp:2121:43: error: expected ')' before 'const'
编译有误。
报告将会包含更多的信息
"Show verbose output during compilation"
在 文件>首选项 中启用
|
|