MENU_ITEM_EDIT(bool, MSG_AUTOTEMP, &autotemp_enabled) ĭogm_lcd_implementation.
#INVALID CONVERSION FROM ‘CONST CHAR*’ TO ‘CHAR*’ HOW TO#
Why and how to make it work sentence is Angel 0 1.1 2.2 3.3 4.4 k k k k k Process returned 0 (0x0) execution time : 0.002 s Press ENTER to continue. Ultralcd.cpp:735:5: note: in expansion of macro 'MENU_ITEM_EDIT' The simplified code below works correctly. #define MENU_ITEM_EDIT(type, label, args.) MENU_ITEM(setting_edit_ # type, label, PSTR(label), # args ) Ultralcd.cpp:143:46: note: in expansion of macro 'MENU_ITEM' Lcd_implementation_drawmenu_ # type # _selected (_drawLineNr, _label_pstr, # args ) \
Ultralcd.cpp:129:17: note: in expansion of macro 'lcd_implementation_drawmenu_setting_edit_bool_selected' #define lcd_implementation_drawmenu_setting_edit_bool_selected(row, pstr, pstr2, data) lcd_implementation_drawmenu_setting_edit_generic_P(row, pstr, '>', (*(data))?PSTR(MSG_ON) STR(MSG_OFF)) I keep on getting these blasted invalid conversion from char to char -fpermissive. #define lcd_implementation_drawmenu_setting_edit_generic_P(row, pstr, pre_char, data) _drawmenu_setting_edit_generic(row, pstr, pre_char, data, true)ĭogm_lcd_implementation.h:377:88: note: in expansion of macro 'lcd_implementation_drawmenu_setting_edit_generic_P' What gives, this is just like the C++ Referrence example for strtok. Ultralcd.cpp: In function 'void lcd_control_temperature_menu()':ĭogm_lcd_implementation.h:361:149: error: invalid conversion from 'const char*' to 'char*' So have I just got to go back to before fiddler started fiddling and find a good working point, or is there an easier way to get a fairly current version of the code that works? The last actual release was from over a year ago, but when ever I need a new copy I usually just get the full zip and compile. Looking at the history someone I don't know (actually that's everyone contributing to the project ) has been making changes in that area in the last day or so. I just downloaded it and there are various compile errors if you try and enable the REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER (I have g8lib), errors below.