-
Notifications
You must be signed in to change notification settings - Fork 32
Description
Repetier-091-ROSTOCKMAX-master
Excuse my complete ignorance but there is a compile error when i try and upload to rostock max v2
Build options changed, rebuilding all
ui.cpp: In member function 'bool::showEntry() const':
ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
f = HAL::readFlashByte((const prog_char_)&filter);
^
ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
ui.cpp:120:29: error: expected primary-expression before 'const'
f = HAL::readFlashByte((const prog_char_)&filter);
^
ui.cpp:120:29: error: expected ')' before 'const'
ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
f2 = HAL::readFlashByte((const prog_char_)&nofilter);
^
ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
ui.cpp:123:30: error: expected primary-expression before 'const'
f2 = HAL::readFlashByte((const prog_char_)&nofilter);
^
ui.cpp:123:30: error: expected ')' before 'const'
ui.cpp: In member function 'void UIDisplay::adjustMenuPos()':
ui.cpp:1952: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:1952:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
ui.cpp:1952:41: error: expected primary-expression before 'const'
uint8_t mtype = HAL::readFlashByte((const prog_char_)&(men->menuType));
^
ui.cpp:1952:41: error: expected ')' before 'const'
ui.cpp: In member function 'void UIDisplay::nextPreviousAction(int8_t)':
ui.cpp:2015: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:2015:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
ui.cpp:2015:41: error: expected primary-expression before 'const'
uint8_t mtype = HAL::readFlashByte((const prog_char_)&(men->menuType));
^
ui.cpp:2015:41: error: expected ')' before 'const'
ui.cpp:2019: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:2019:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
ui.cpp:2019: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:2019:43: error: expected ')' before 'const'
Error compiling.
thanx