Building O1.21.0-E15.3.1 Targetting Numworks Building on Windows x86 CXX apps/calculation/additional_outputs/complex_list_controller.o CXX apps/calculation/additional_outputs/expressions_list_controller.o CXX apps/calculation/additional_outputs/illustrated_list_controller.o CXX apps/calculation/additional_outputs/integer_list_controller.o CXX apps/calculation/additional_outputs/list_controller.o CXX apps/calculation/additional_outputs/matrix_list_controller.o CXX apps/calculation/additional_outputs/scrollable_three_expressions_cell.o CXX apps/calculation/additional_outputs/rational_list_controller.o CXX apps/calculation/additional_outputs/trigonometry_list_controller.o CXX apps/calculation/additional_outputs/unit_list_controller.o CXX apps/graph/values/interval_parameter_selector_controller.o CXX apps/graph/values/values_controller.o CXX apps/graph/values/derivative_parameter_controller.o CXX apps/graph/values/function_parameter_controller.o CXX apps/main.o CXX apps/terminal/software/kilo.o CXX apps/terminal/terminal.o In file included from apps/terminal/software/kilo.h:3, from apps/terminal/software/kilo.cpp:1: apps/terminal/software/../list.h: In static member function 'static SecuredString* SecuredString::empty()': apps/terminal/software/../list.h:15:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 15 | return new SecuredString(0, ""); | ^~ apps/terminal/software/../list.h: In member function 'bool SecuredString::matches(const char*)': apps/terminal/software/../list.h:45:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 45 | if (strlen(text) != size()) return false; | ~~~~~~~~~~~~~^~~~~~~~~ In file included from apps/terminal/software/kilo.h:3, from apps/terminal/software/kilo.cpp:1: apps/terminal/software/../list.h: In constructor 'SecuredString::SecuredString(int, char*)': apps/terminal/software/../list.h:58:11: warning: 'SecuredString::m_chars' will be initialized after [-Wreorder] 58 | char* m_chars; | ^~~~~~~ apps/terminal/software/../list.h:57:14: warning: 'uint32_t SecuredString::m_safetyHash' [-Wreorder] 57 | uint32_t m_safetyHash; | ^~~~~~~~~~~~ In file included from apps/terminal/software/kilo.h:3, from apps/terminal/software/kilo.cpp:1: apps/terminal/software/../list.h:54:5: warning: when initialized here [-Wreorder] 54 | SecuredString(int _size, char* _chars) : m_size(_size), m_chars(_chars), m_safetyHash(Ion::crc32Byte((const uint8_t*)_chars, _size)) {} | ^~~~~~~~~~~~~ In file included from apps/terminal/software/kilo.h:3, from apps/terminal/software/kilo.cpp:1: apps/terminal/software/../list.h: In member function 'int StringPositionalList::setPointer(int)': apps/terminal/software/../list.h:107:48: warning: no return statement in function returning non-void [-Wreturn-type] 107 | int setPointer(int ptr) { m_pointer = ptr; } | ^ In file included from apps/terminal/software/../termscreen.h:7, from apps/terminal/software/kilo.h:4, from apps/terminal/software/kilo.cpp:1: apps/terminal/software/../stringx.h: In function 'SecuredStringList* split(SecuredStringList*, char*, int, char)': apps/terminal/software/../stringx.h:53:9: warning: unused variable 'itemPtr' [-Wunused-variable] 53 | int itemPtr = 0; | ^~~~~~~ In file included from apps/terminal/termscreen.h:6, from apps/terminal/terminal.h:3, from apps/terminal/startup.h:5, from apps/main.cpp:4: apps/terminal/list.h: In static member function 'static SecuredString* SecuredString::empty()': apps/terminal/list.h:15:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 15 | return new SecuredString(0, ""); | ^~ apps/terminal/list.h: In member function 'bool SecuredString::matches(const char*)': apps/terminal/list.h:45:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 45 | if (strlen(text) != size()) return false; | ~~~~~~~~~~~~~^~~~~~~~~ In file included from apps/terminal/termscreen.h:6, from apps/terminal/terminal.h:3, from apps/terminal/startup.h:5, from apps/main.cpp:4: apps/terminal/list.h: In constructor 'SecuredString::SecuredString(int, char*)': apps/terminal/list.h:58:11: warning: 'SecuredString::m_chars' will be initialized after [-Wreorder] 58 | char* m_chars; | ^~~~~~~ apps/terminal/list.h:57:14: warning: 'uint32_t SecuredString::m_safetyHash' [-Wreorder] 57 | uint32_t m_safetyHash; | ^~~~~~~~~~~~ In file included from apps/terminal/termscreen.h:6, from apps/terminal/terminal.h:3, from apps/terminal/startup.h:5, from apps/main.cpp:4: apps/terminal/list.h:54:5: warning: when initialized here [-Wreorder] 54 | SecuredString(int _size, char* _chars) : m_size(_size), m_chars(_chars), m_safetyHash(Ion::crc32Byte((const uint8_t*)_chars, _size)) {} | ^~~~~~~~~~~~~ In file included from apps/terminal/termscreen.h:6, from apps/terminal/terminal.h:3, from apps/terminal/startup.h:5, from apps/main.cpp:4: apps/terminal/list.h: In member function 'int StringPositionalList::setPointer(int)': apps/terminal/list.h:107:48: warning: no return statement in function returning non-void [-Wreturn-type] 107 | int setPointer(int ptr) { m_pointer = ptr; } | ^ In file included from apps/terminal/termscreen.h:7, from apps/terminal/terminal.h:3, from apps/terminal/startup.h:5, from apps/main.cpp:4: apps/terminal/stringx.h: In function 'SecuredStringList* split(SecuredStringList*, char*, int, char)': apps/terminal/stringx.h:53:9: warning: unused variable 'itemPtr' [-Wunused-variable] 53 | int itemPtr = 0; | ^~~~~~~ In file included from apps/terminal/terminal.h:3, from apps/terminal/startup.h:5, from apps/main.cpp:4: apps/terminal/termscreen.h: In function 'void Terminal::Screen::writeStringAt(int, int, SecuredString*, KDColor, KDColor)': apps/terminal/termscreen.h:444:9: warning: unused variable 'lastX' [-Wunused-variable] 444 | int lastX = posX; | ^~~~~ apps/terminal/termscreen.h:445:9: warning: unused variable 'lastY' [-Wunused-variable] 445 | int lastY = posY; | ^~~~~ apps/terminal/termscreen.h: In function 'void Terminal::Screen::writeStringAt(int, int, const char*, KDColor, KDColor)': apps/terminal/termscreen.h:453:9: warning: unused variable 'lastX' [-Wunused-variable] 453 | int lastX = posX; | ^~~~~ apps/terminal/termscreen.h:454:9: warning: unused variable 'lastY' [-Wunused-variable] 454 | int lastY = posY; | ^~~~~ apps/terminal/termscreen.h: In function 'int Terminal::Screen::readLn(char*, int, Terminal::ReadLineSettings*)': apps/terminal/termscreen.h:647:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 647 | if (ptr >= strlen(buffer)-1) continue; | ~~~~^~~~~~~~~~~~~~~~~~~ In file included from apps/terminal/software/kilo.h:4, from apps/terminal/software/kilo.cpp:1: apps/terminal/software/../termscreen.h: In function 'void Terminal::Screen::writeStringAt(int, int, SecuredString*, KDColor, KDColor)': apps/terminal/software/../termscreen.h:444:9: warning: unused variable 'lastX' [-Wunused-variable] 444 | int lastX = posX; | ^~~~~ apps/terminal/software/../termscreen.h:445:9: warning: unused variable 'lastY' [-Wunused-variable] 445 | int lastY = posY; | ^~~~~ apps/terminal/software/../termscreen.h: In function 'void Terminal::Screen::writeStringAt(int, int, const char*, KDColor, KDColor)': apps/terminal/software/../termscreen.h:453:9: warning: unused variable 'lastX' [-Wunused-variable] 453 | int lastX = posX; | ^~~~~ apps/terminal/software/../termscreen.h:454:9: warning: unused variable 'lastY' [-Wunused-variable] 454 | int lastY = posY; | ^~~~~ apps/terminal/software/../termscreen.h: In function 'int Terminal::Screen::readLn(char*, int, Terminal::ReadLineSettings*)': apps/terminal/software/../termscreen.h:647:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 647 | if (ptr >= strlen(buffer)-1) continue; | ~~~~^~~~~~~~~~~~~~~~~~~ apps/terminal/termscreen.h:587:9: warning: unused variable 'originY' [-Wunused-variable] 587 | int originY = posY; | ^~~~~~~ apps/terminal/software/../termscreen.h:587:9: warning: unused variable 'originY' [-Wunused-variable] 587 | int originY = posY; | ^~~~~~~ In file included from apps/terminal/software/kilo.h:7, from apps/terminal/software/kilo.cpp:1: apps/terminal/software/../lecurses.h: At global scope: apps/terminal/software/../lecurses.h:10:13: warning: 'void LECurses::rectangle(KDRect, KDColor, KDColor)' defined but not used [-Wunused-function] 10 | static void rectangle(KDRect rect, KDColor color, KDColor foreColor = KDColorBlack) { | ^~~~~~~~~ In file included from apps/terminal/software/kilo.h:4, from apps/terminal/software/kilo.cpp:1: apps/terminal/software/../termscreen.h:580:12: warning: 'int Terminal::Screen::readLn(char*, int, Terminal::ReadLineSettings*)' defined but not used [-Wunused-function] 580 | static int readLn(char* buffer, int maxLength = 256, ReadLineSettings* settings = nullptr) { | ^~~~~~ apps/terminal/software/../termscreen.h:561:13: warning: 'void Terminal::Screen::writeBitmap(bool*, int, int, KDColor)' defined but not used [-Wunused-function] 561 | static void writeBitmap(bool* bitmap, int width, int height, KDColor color) { | ^~~~~~~~~~~ apps/terminal/software/../termscreen.h:509:13: warning: 'void Terminal::Screen::writeRectDecorateLn(const char*, KDColor, KDColor, int)' defined but not used [-Wunused-function] 509 | static void writeRectDecorateLn(const char* text, KDColor color = KDColorWhite, KDColor rectColor = KDColorRed, int count = -1) { | ^~~~~~~~~~~~~~~~~~~ apps/terminal/software/../termscreen.h:504:13: warning: 'void Terminal::Screen::writeLnB(SecuredString*, KDColor, KDColor)' defined but not used [-Wunused-function] 504 | static void writeLnB(SecuredString* text, KDColor color, KDColor back) { | ^~~~~~~~ apps/terminal/software/../termscreen.h:498:13: warning: 'void Terminal::Screen::writeLnB(const char*, KDColor, KDColor, int)' defined but not used [-Wunused-function] 498 | static void writeLnB(const char* text, KDColor color = KDColorWhite, KDColor back = TerminalBackground, int count = -1) { | ^~~~~~~~ apps/terminal/software/../termscreen.h:493:13: warning: 'void Terminal::Screen::writeLn(SecuredString*, KDColor)' defined but not used [-Wunused-function] 493 | static void writeLn(SecuredString* text, KDColor color = KDColorWhite) { | ^~~~~~~ apps/terminal/software/../termscreen.h:482:13: warning: 'void Terminal::Screen::writeCharSilentlyWithoutRedrawing(char, KDColor, int)' defined but not used [-Wunused-function] 482 | static void writeCharSilentlyWithoutRedrawing(char text, KDColor color = KDColorWhite, int count = -1) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apps/terminal/software/../termscreen.h:476:13: warning: 'void Terminal::Screen::writeCharSilently(char, KDColor, int)' defined but not used [-Wunused-function] 476 | static void writeCharSilently(char text, KDColor color = KDColorWhite, int count = -1) { | ^~~~~~~~~~~~~~~~~ apps/terminal/software/../termscreen.h:469:13: warning: 'void Terminal::Screen::writeCharWithoutRedrawing(char, KDColor, int)' defined but not used [-Wunused-function] 469 | static void writeCharWithoutRedrawing(char text, KDColor color = KDColorWhite, int count = -1) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ apps/terminal/software/../termscreen.h:443:13: warning: 'void Terminal::Screen::writeStringAt(int, int, SecuredString*, KDColor, KDColor)' defined but not used [-Wunused-function] 443 | static void writeStringAt(int x, int y, SecuredString* text, KDColor fore = KDColorWhite, KDColor back = TerminalBackground) { | ^~~~~~~~~~~~~ apps/terminal/software/../termscreen.h:439:13: warning: 'void Terminal::Screen::writeB(SecuredString*, KDColor, KDColor)' defined but not used [-Wunused-function] 439 | static void writeB(SecuredString* text, KDColor color = KDColorWhite, KDColor back = TerminalBackground) { | ^~~~~~ apps/terminal/software/../termscreen.h:421:13: warning: 'void Terminal::Screen::write(SecuredString*, KDColor)' defined but not used [-Wunused-function] 421 | static void write(SecuredString* text, KDColor color = KDColorWhite) { | ^~~~~ apps/terminal/software/../termscreen.h:410:13: warning: 'void Terminal::Screen::writeRectDecorate(const char*, KDColor, KDColor, int)' defined but not used [-Wunused-function] 410 | static void writeRectDecorate(const char* text, KDColor color = KDColorWhite, KDColor rectColor = KDColorRed, int count = -1) { | ^~~~~~~~~~~~~~~~~ apps/terminal/software/../termscreen.h:362:16: warning: 'KDColor Terminal::Screen::getBackColorAt(int, int)' defined but not used [-Wunused-function] 362 | static KDColor getBackColorAt(int x, int y) { | ^~~~~~~~~~~~~~ apps/terminal/software/../termscreen.h:291:13: warning: 'void Terminal::Screen::setForeColorAt(int, int, KDColor)' defined but not used [-Wunused-function] 291 | static void setForeColorAt(int x, int y, KDColor fore) { | ^~~~~~~~~~~~~~ apps/terminal/software/../termscreen.h:149:13: warning: 'bool Terminal::Screen::anyKeyPressed()' defined but not used [-Wunused-function] 149 | static bool anyKeyPressed() { | ^~~~~~~~~~~~~ apps/terminal/software/../termscreen.h:138:13: warning: 'void Terminal::Screen::init()' defined but not used [-Wunused-function] 138 | static void init() { | ^~~~ In file included from apps/terminal/software/kilo.h:4, from apps/terminal/software/kilo.cpp:1: apps/terminal/software/../termscreen.h:114:13: warning: 'bool Terminal::Screen::operator==(Terminal::Screen::terminal_cell_t, Terminal::Screen::terminal_cell_t)' defined but not used [-Wunused-function] 114 | static bool operator==(terminal_cell_t left, terminal_cell_t right) { | ^~~~~~~~ apps/terminal/software/../termscreen.h:88:26: warning: 'Terminal::Screen::readLnSettings' defined but not used [-Wunused-variable] 88 | static ReadLineSettings* readLnSettings; | ^~~~~~~~~~~~~~ apps/terminal/software/../termscreen.h:55:13: warning: 'bool Terminal::Keyboard::isReleased()' defined but not used [-Wunused-function] 55 | static bool isReleased() { return keyboardMode == 0; } | ^~~~~~~~~~ apps/terminal/software/../termscreen.h:16:13: warning: 'Terminal::isLaunchedFromFirmware' defined but not used [-Wunused-variable] 16 | static bool isLaunchedFromFirmware = false; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from apps/terminal/software/../termscreen.h:9, from apps/terminal/software/kilo.h:4, from apps/terminal/software/kilo.cpp:1: apps/terminal/software/../system/power.h:5:13: warning: 'void terminalSleep()' defined but not used [-Wunused-function] 5 | static void terminalSleep() { | ^~~~~~~~~~~~~ In file included from apps/terminal/software/../termscreen.h:7, from apps/terminal/software/kilo.h:4, from apps/terminal/software/kilo.cpp:1: apps/terminal/software/../stringx.h:101:13: warning: 'char intToString(int)' defined but not used [-Wunused-function] 101 | static char intToString(int value) { | ^~~~~~~~~~~ apps/terminal/software/../stringx.h:52:27: warning: 'SecuredStringList* split(SecuredStringList*, char*, int, char)' defined but not used [-Wunused-function] 52 | static SecuredStringList* split(SecuredStringList* sourceList, char* text, int textLength, char separator) { | ^~~~~ apps/terminal/software/../stringx.h:48:13: warning: 'bool check(SecuredString*, char*)' defined but not used [-Wunused-function] 48 | static bool check(SecuredString* target, char* text) { | ^~~~~ apps/terminal/software/../stringx.h:19:13: warning: 'bool startsWith(SecuredString*, SecuredString*)' defined but not used [-Wunused-function] 19 | static bool startsWith(SecuredString* target, SecuredString* text) { | ^~~~~~~~~~ apps/terminal/software/../stringx.h:10:13: warning: 'bool startsWith(const char*, const char*)' defined but not used [-Wunused-function] 10 | static bool startsWith(const char* target, const char* text) { | ^~~~~~~~~~ apps/terminal/termscreen.h: At global scope: apps/terminal/termscreen.h:580:12: warning: 'int Terminal::Screen::readLn(char*, int, Terminal::ReadLineSettings*)' defined but not used [-Wunused-function] 580 | static int readLn(char* buffer, int maxLength = 256, ReadLineSettings* settings = nullptr) { | ^~~~~~ apps/terminal/termscreen.h:561:13: warning: 'void Terminal::Screen::writeBitmap(bool*, int, int, KDColor)' defined but not used [-Wunused-function] 561 | static void writeBitmap(bool* bitmap, int width, int height, KDColor color) { | ^~~~~~~~~~~ apps/terminal/termscreen.h:509:13: warning: 'void Terminal::Screen::writeRectDecorateLn(const char*, KDColor, KDColor, int)' defined but not used [-Wunused-function] 509 | static void writeRectDecorateLn(const char* text, KDColor color = KDColorWhite, KDColor rectColor = KDColorRed, int count = -1) { | ^~~~~~~~~~~~~~~~~~~ apps/terminal/termscreen.h:504:13: warning: 'void Terminal::Screen::writeLnB(SecuredString*, KDColor, KDColor)' defined but not used [-Wunused-function] 504 | static void writeLnB(SecuredString* text, KDColor color, KDColor back) { | ^~~~~~~~ apps/terminal/termscreen.h:498:13: warning: 'void Terminal::Screen::writeLnB(const char*, KDColor, KDColor, int)' defined but not used [-Wunused-function] 498 | static void writeLnB(const char* text, KDColor color = KDColorWhite, KDColor back = TerminalBackground, int count = -1) { | ^~~~~~~~ apps/terminal/termscreen.h:493:13: warning: 'void Terminal::Screen::writeLn(SecuredString*, KDColor)' defined but not used [-Wunused-function] 493 | static void writeLn(SecuredString* text, KDColor color = KDColorWhite) { | ^~~~~~~ apps/terminal/termscreen.h:482:13: warning: 'void Terminal::Screen::writeCharSilentlyWithoutRedrawing(char, KDColor, int)' defined but not used [-Wunused-function] 482 | static void writeCharSilentlyWithoutRedrawing(char text, KDColor color = KDColorWhite, int count = -1) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apps/terminal/termscreen.h:476:13: warning: 'void Terminal::Screen::writeCharSilently(char, KDColor, int)' defined but not used [-Wunused-function] 476 | static void writeCharSilently(char text, KDColor color = KDColorWhite, int count = -1) { | ^~~~~~~~~~~~~~~~~ apps/terminal/termscreen.h:469:13: warning: 'void Terminal::Screen::writeCharWithoutRedrawing(char, KDColor, int)' defined but not used [-Wunused-function] 469 | static void writeCharWithoutRedrawing(char text, KDColor color = KDColorWhite, int count = -1) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ apps/terminal/termscreen.h:452:13: warning: 'void Terminal::Screen::writeStringAt(int, int, const char*, KDColor, KDColor)' defined but not used [-Wunused-function] 452 | static void writeStringAt(int x, int y, const char* text, KDColor fore = KDColorWhite, KDColor back = TerminalBackground) { | ^~~~~~~~~~~~~ apps/terminal/termscreen.h:443:13: warning: 'void Terminal::Screen::writeStringAt(int, int, SecuredString*, KDColor, KDColor)' defined but not used [-Wunused-function] 443 | static void writeStringAt(int x, int y, SecuredString* text, KDColor fore = KDColorWhite, KDColor back = TerminalBackground) { | ^~~~~~~~~~~~~ apps/terminal/termscreen.h:439:13: warning: 'void Terminal::Screen::writeB(SecuredString*, KDColor, KDColor)' defined but not used [-Wunused-function] 439 | static void writeB(SecuredString* text, KDColor color = KDColorWhite, KDColor back = TerminalBackground) { | ^~~~~~ apps/terminal/termscreen.h:421:13: warning: 'void Terminal::Screen::write(SecuredString*, KDColor)' defined but not used [-Wunused-function] 421 | static void write(SecuredString* text, KDColor color = KDColorWhite) { | ^~~~~ apps/terminal/termscreen.h:410:13: warning: 'void Terminal::Screen::writeRectDecorate(const char*, KDColor, KDColor, int)' defined but not used [-Wunused-function] 410 | static void writeRectDecorate(const char* text, KDColor color = KDColorWhite, KDColor rectColor = KDColorRed, int count = -1) { | ^~~~~~~~~~~~~~~~~ apps/terminal/termscreen.h:362:16: warning: 'KDColor Terminal::Screen::getBackColorAt(int, int)' defined but not used [-Wunused-function] 362 | static KDColor getBackColorAt(int x, int y) { | ^~~~~~~~~~~~~~ apps/terminal/termscreen.h:291:13: warning: 'void Terminal::Screen::setForeColorAt(int, int, KDColor)' defined but not used [-Wunused-function] 291 | static void setForeColorAt(int x, int y, KDColor fore) { | ^~~~~~~~~~~~~~ apps/terminal/termscreen.h:149:13: warning: 'bool Terminal::Screen::anyKeyPressed()' defined but not used [-Wunused-function] 149 | static bool anyKeyPressed() { | ^~~~~~~~~~~~~ apps/terminal/termscreen.h:138:13: warning: 'void Terminal::Screen::init()' defined but not used [-Wunused-function] 138 | static void init() { | ^~~~ In file included from apps/terminal/terminal.h:3, from apps/terminal/startup.h:5, from apps/main.cpp:4: apps/terminal/termscreen.h:114:13: warning: 'bool Terminal::Screen::operator==(Terminal::Screen::terminal_cell_t, Terminal::Screen::terminal_cell_t)' defined but not used [-Wunused-function] 114 | static bool operator==(terminal_cell_t left, terminal_cell_t right) { | ^~~~~~~~ apps/terminal/termscreen.h:88:26: warning: 'Terminal::Screen::readLnSettings' defined but not used [-Wunused-variable] 88 | static ReadLineSettings* readLnSettings; | ^~~~~~~~~~~~~~ apps/terminal/termscreen.h:55:13: warning: 'bool Terminal::Keyboard::isReleased()' defined but not used [-Wunused-function] 55 | static bool isReleased() { return keyboardMode == 0; } | ^~~~~~~~~~ apps/terminal/termscreen.h:16:13: warning: 'Terminal::isLaunchedFromFirmware' defined but not used [-Wunused-variable] 16 | static bool isLaunchedFromFirmware = false; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from apps/terminal/termscreen.h:9, from apps/terminal/terminal.h:3, from apps/terminal/startup.h:5, from apps/main.cpp:4: apps/terminal/system/power.h:5:13: warning: 'void terminalSleep()' defined but not used [-Wunused-function] 5 | static void terminalSleep() { | ^~~~~~~~~~~~~ In file included from apps/terminal/termscreen.h:7, from apps/terminal/terminal.h:3, from apps/terminal/startup.h:5, from apps/main.cpp:4: apps/terminal/stringx.h:101:13: warning: 'char intToString(int)' defined but not used [-Wunused-function] 101 | static char intToString(int value) { | ^~~~~~~~~~~ apps/terminal/stringx.h:52:27: warning: 'SecuredStringList* split(SecuredStringList*, char*, int, char)' defined but not used [-Wunused-function] 52 | static SecuredStringList* split(SecuredStringList* sourceList, char* text, int textLength, char separator) { | ^~~~~ apps/terminal/stringx.h:48:13: warning: 'bool check(SecuredString*, char*)' defined but not used [-Wunused-function] 48 | static bool check(SecuredString* target, char* text) { | ^~~~~ apps/terminal/stringx.h:19:13: warning: 'bool startsWith(SecuredString*, SecuredString*)' defined but not used [-Wunused-function] 19 | static bool startsWith(SecuredString* target, SecuredString* text) { | ^~~~~~~~~~ apps/terminal/stringx.h:10:13: warning: 'bool startsWith(const char*, const char*)' defined but not used [-Wunused-function] 10 | static bool startsWith(const char* target, const char* text) { | ^~~~~~~~~~ In file included from apps/terminal/termscreen.h:6, from apps/terminal/terminal.h:3, from apps/terminal/terminal.cpp:1: apps/terminal/list.h: In static member function 'static SecuredString* SecuredString::empty()': apps/terminal/list.h:15:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 15 | return new SecuredString(0, ""); | ^~ apps/terminal/list.h: In member function 'bool SecuredString::matches(const char*)': apps/terminal/list.h:45:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 45 | if (strlen(text) != size()) return false; | ~~~~~~~~~~~~~^~~~~~~~~ In file included from apps/terminal/termscreen.h:6, from apps/terminal/terminal.h:3, from apps/terminal/terminal.cpp:1: apps/terminal/list.h: In constructor 'SecuredString::SecuredString(int, char*)': apps/terminal/list.h:58:11: warning: 'SecuredString::m_chars' will be initialized after [-Wreorder] 58 | char* m_chars; | ^~~~~~~ apps/terminal/list.h:57:14: warning: 'uint32_t SecuredString::m_safetyHash' [-Wreorder] 57 | uint32_t m_safetyHash; | ^~~~~~~~~~~~ In file included from apps/terminal/termscreen.h:6, from apps/terminal/terminal.h:3, from apps/terminal/terminal.cpp:1: apps/terminal/list.h:54:5: warning: when initialized here [-Wreorder] 54 | SecuredString(int _size, char* _chars) : m_size(_size), m_chars(_chars), m_safetyHash(Ion::crc32Byte((const uint8_t*)_chars, _size)) {} | ^~~~~~~~~~~~~ In file included from apps/terminal/termscreen.h:6, from apps/terminal/terminal.h:3, from apps/terminal/terminal.cpp:1: apps/terminal/list.h: In member function 'int StringPositionalList::setPointer(int)': apps/terminal/list.h:107:48: warning: no return statement in function returning non-void [-Wreturn-type] 107 | int setPointer(int ptr) { m_pointer = ptr; } | ^ In file included from apps/terminal/termscreen.h:7, from apps/terminal/terminal.h:3, from apps/terminal/terminal.cpp:1: apps/terminal/stringx.h: In function 'SecuredStringList* split(SecuredStringList*, char*, int, char)': apps/terminal/stringx.h:53:9: warning: unused variable 'itemPtr' [-Wunused-variable] 53 | int itemPtr = 0; | ^~~~~~~ In file included from apps/terminal/terminal.h:3, from apps/terminal/terminal.cpp:1: apps/terminal/termscreen.h: In function 'void Terminal::Screen::writeStringAt(int, int, SecuredString*, KDColor, KDColor)': apps/terminal/termscreen.h:444:9: warning: unused variable 'lastX' [-Wunused-variable] 444 | int lastX = posX; | ^~~~~ apps/terminal/termscreen.h:445:9: warning: unused variable 'lastY' [-Wunused-variable] 445 | int lastY = posY; | ^~~~~ apps/terminal/termscreen.h: In function 'void Terminal::Screen::writeStringAt(int, int, const char*, KDColor, KDColor)': apps/terminal/termscreen.h:453:9: warning: unused variable 'lastX' [-Wunused-variable] 453 | int lastX = posX; | ^~~~~ apps/terminal/termscreen.h:454:9: warning: unused variable 'lastY' [-Wunused-variable] 454 | int lastY = posY; | ^~~~~ apps/terminal/termscreen.h: In function 'int Terminal::Screen::readLn(char*, int, Terminal::ReadLineSettings*)': apps/terminal/termscreen.h:647:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 647 | if (ptr >= strlen(buffer)-1) continue; | ~~~~^~~~~~~~~~~~~~~~~~~ apps/terminal/termscreen.h:587:9: warning: unused variable 'originY' [-Wunused-variable] 587 | int originY = posY; | ^~~~~~~ In file included from apps/terminal/commands/commands.h:13, from apps/terminal/terminal.cpp:6: apps/terminal/commands/../system/users.h: In constructor 'UsersRepository::UsersRepository()': apps/terminal/commands/../system/users.h:91:9: warning: 'UsersRepository::m_userPointer' will be initialized after [-Wreorder] 91 | int m_userPointer; | ^~~~~~~~~~~~~ apps/terminal/commands/../system/users.h:90:9: warning: 'int UsersRepository::m_currentUserIndex' [-Wreorder] 90 | int m_currentUserIndex; | ^~~~~~~~~~~~~~~~~~ apps/terminal/commands/../system/users.h:36:5: warning: when initialized here [-Wreorder] 36 | UsersRepository() : m_userPointer(0), m_currentUserIndex(1), m_alreadyAddedDefaultUsers(false) {} | ^~~~~~~~~~~~~~~ apps/terminal/commands/../system/users.h:90:9: warning: 'UsersRepository::m_currentUserIndex' will be initialized after [-Wreorder] 90 | int m_currentUserIndex; | ^~~~~~~~~~~~~~~~~~ apps/terminal/commands/../system/users.h:81:10: warning: 'bool UsersRepository::m_alreadyAddedDefaultUsers' [-Wreorder] 81 | bool m_alreadyAddedDefaultUsers; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ apps/terminal/commands/../system/users.h:36:5: warning: when initialized here [-Wreorder] 36 | UsersRepository() : m_userPointer(0), m_currentUserIndex(1), m_alreadyAddedDefaultUsers(false) {} | ^~~~~~~~~~~~~~~ apps/terminal/commands/../system/users.h: In member function 'void UsersRepository::setupDefaultUsers()': apps/terminal/commands/../system/users.h:84:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | addUser(new User(SecuredString::fromBufferUnsafe("root"), ExecutionLevel::Root)); | ^~~~~~ apps/terminal/commands/../system/users.h:85:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | addUser(new User(SecuredString::fromBufferUnsafe("cacahuete"), ExecutionLevel::Normal)); | ^~~~~~~~~~~ apps/terminal/commands/../system/users.h:86:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 86 | addUser(new User(SecuredString::fromBufferUnsafe("boat"), ExecutionLevel::Low)); | ^~~~~~ apps/terminal/commands/../system/users.h:87:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | addUser(new User(SecuredString::fromBufferUnsafe("coconut"), ExecutionLevel::High)); | ^~~~~~~~~ In file included from apps/terminal/commands/commands.h:18, from apps/terminal/terminal.cpp:6: apps/terminal/commands/../daemons/led_update_daemon.h: In member function 'virtual SecuredString* Terminal::Background::LEDUpdateDaemon::name()': apps/terminal/commands/../daemons/led_update_daemon.h:15:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 15 | return SecuredString::fromBufferUnsafe("led-update"); | ^~~~~~~~~~~~ In file included from apps/terminal/commands/commands.h:19, from apps/terminal/terminal.cpp:6: apps/terminal/commands/../daemons/powercheck_daemon.h: In member function 'virtual SecuredString* Terminal::Background::PowerCheckDaemon::name()': apps/terminal/commands/../daemons/powercheck_daemon.h:15:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 15 | return SecuredString::fromBufferUnsafe("power-check"); | ^~~~~~~~~~~~~ In file included from apps/terminal/commands/commands.h:20, from apps/terminal/terminal.cpp:6: apps/terminal/commands/../daemons/sleep_daemon.h: In member function 'virtual SecuredString* Terminal::Background::SleepDaemon::name()': apps/terminal/commands/../daemons/sleep_daemon.h:19:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 19 | return SecuredString::fromBufferUnsafe("auto-sleep"); | ^~~~~~~~~~~~ In file included from apps/terminal/terminal.cpp:6: apps/terminal/commands/commands.h: In function 'void command_uname(SecuredStringList*)': apps/terminal/commands/commands.h:23:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 23 | if (check(args->at(1), "-a")) { | ^~~~ apps/terminal/commands/commands.h:34:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 34 | } else if (check(args->at(1), "-s")) { | ^~~~ apps/terminal/commands/commands.h:36:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 36 | } else if (check(args->at(1), "-n")) { | ^~~~ apps/terminal/commands/commands.h:38:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 38 | } else if (check(args->at(1), "-r")) { | ^~~~ apps/terminal/commands/commands.h:40:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 40 | } else if (check(args->at(1), "-v")) { | ^~~~ apps/terminal/commands/commands.h:42:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 42 | } else if (check(args->at(1), "-m")) { | ^~~~ apps/terminal/commands/commands.h:44:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 44 | } else if (check(args->at(1), "-p") || check(args->at(1), "-i")) { | ^~~~ apps/terminal/commands/commands.h:44:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 44 | } else if (check(args->at(1), "-p") || check(args->at(1), "-i")) { | ^~~~ apps/terminal/commands/commands.h:46:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 46 | } else if (check(args->at(1), "-o")) { | ^~~~ apps/terminal/commands/commands.h: In function 'void command_ion(SecuredStringList*)': apps/terminal/commands/commands.h:93:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 93 | if (check(args->at(1), "-s")) { | ^~~~ apps/terminal/commands/commands.h:96:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 96 | } else if (check(args->at(1), "-D")) { | ^~~~ apps/terminal/commands/commands.h:114:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 114 | } else if (check(args->at(1), "-S")) { | ^~~~ apps/terminal/commands/commands.h:121:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 121 | } else if (check(args->at(1), "-r")) { | ^~~~ apps/terminal/commands/commands.h:123:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 123 | } else if (check(args->at(1), "-b")) { | ^~~~ apps/terminal/commands/commands.h:127:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | text = "[---] Empty"; | ^~~~~~~~~~~~~ apps/terminal/commands/commands.h:129:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 129 | text = "[#--] Low"; | ^~~~~~~~~~~ apps/terminal/commands/commands.h:131:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 131 | text = "[##-] Idle"; | ^~~~~~~~~~~~ apps/terminal/commands/commands.h:133:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 133 | text = "[###] Full"; | ^~~~~~~~~~~~ apps/terminal/commands/commands.h:144:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 144 | } else if (check(args->at(1), "-u")) { | ^~~~ In file included from apps/terminal/terminal.cpp:6: apps/terminal/commands/commands.h: In function 'void command_poincare(SecuredStringList*)': apps/terminal/commands/commands.h:359:16: warning: unused variable 'ctx' [-Wunused-variable] 359 | KDContext* ctx = KDIonContext::sharedContext(); | ^~~ apps/terminal/commands/commands.h: In function 'void command_su(SecuredStringList*)': apps/terminal/commands/commands.h:391:103: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 391 | bool result = UsersRepository::sharedRepository()->switchUser(SecuredString::fromBufferUnsafe("root")); | ^~~~~~ apps/terminal/commands/commands.h: In function 'void command_useradd(SecuredStringList*)': apps/terminal/commands/commands.h:422:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 422 | if (*levelname == *SecuredString::fromBufferUnsafe("low")) { | ^~~~~ apps/terminal/commands/commands.h:424:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 424 | } else if (*levelname == *SecuredString::fromBufferUnsafe("normal")) { | ^~~~~~~~ apps/terminal/commands/commands.h:426:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 426 | } else if (*levelname == *SecuredString::fromBufferUnsafe("high")) { | ^~~~~~ apps/terminal/commands/commands.h:428:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 428 | } else if (*levelname == *SecuredString::fromBufferUnsafe("root")) { | ^~~~~~ apps/terminal/commands/commands.h: In function 'void command_id(SecuredStringList*)': apps/terminal/commands/commands.h:442:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 442 | if (usr->level() == ExecutionLevel::Low) levelStr = SecuredString::fromBufferUnsafe("low"); | ^~~~~ apps/terminal/commands/commands.h:443:97: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 443 | else if (usr->level() == ExecutionLevel::Normal) levelStr = SecuredString::fromBufferUnsafe("normal"); | ^~~~~~~~ apps/terminal/commands/commands.h:444:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 444 | else if (usr->level() == ExecutionLevel::High) levelStr = SecuredString::fromBufferUnsafe("high"); | ^~~~~~ apps/terminal/commands/commands.h:445:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 445 | else if (usr->level() == ExecutionLevel::Root) levelStr = SecuredString::fromBufferUnsafe("root"); | ^~~~~~ apps/terminal/commands/commands.h:446:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 446 | else levelStr = SecuredString::fromBufferUnsafe("unknown"); | ^~~~~~~~~ apps/terminal/commands/commands.h: In function 'void command_users(SecuredStringList*)': apps/terminal/commands/commands.h:461:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 461 | bool detailed = args->count() > 1 && *args->at(1) == *SecuredString::fromBufferUnsafe("-d"); | ^~~~ apps/terminal/commands/commands.h:466:97: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 466 | if (usr->level() == ExecutionLevel::Low) levelStr = SecuredString::fromBufferUnsafe("low"); | ^~~~~ apps/terminal/commands/commands.h:467:105: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 467 | else if (usr->level() == ExecutionLevel::Normal) levelStr = SecuredString::fromBufferUnsafe("normal"); | ^~~~~~~~ apps/terminal/commands/commands.h:468:103: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 468 | else if (usr->level() == ExecutionLevel::High) levelStr = SecuredString::fromBufferUnsafe("high"); | ^~~~~~ apps/terminal/commands/commands.h:469:103: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 469 | else if (usr->level() == ExecutionLevel::Root) levelStr = SecuredString::fromBufferUnsafe("root"); | ^~~~~~ apps/terminal/commands/commands.h:470:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 470 | else levelStr = SecuredString::fromBufferUnsafe("unknown"); | ^~~~~~~~~ apps/terminal/commands/commands.h: In function 'void command_cd(SecuredStringList*)': apps/terminal/commands/commands.h:530:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 530 | if (check(args->at(1), "..")) { | ^~~~ apps/terminal/terminal.cpp: In function 'void terminal_main(int, const char* const*)': apps/terminal/terminal.cpp:73:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | if (check(cmd, "exit")) { | ^~~~~~ In file included from apps/terminal/terminal.cpp:1: apps/terminal/commands/local_commands.h:16:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 16 | #define LOCAL_COMMANDS DEFCMD("test", command_test) \ | ^~~~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:76:17: note: in expansion of macro 'LOCAL_COMMANDS' 76 | LOCAL_COMMANDS | ^~~~~~~~~~~~~~ apps/terminal/commands/local_commands.h:17:8: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 17 | DEFCMD("matrix", command_matrix) | ^~~~~~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:76:17: note: in expansion of macro 'LOCAL_COMMANDS' 76 | LOCAL_COMMANDS | ^~~~~~~~~~~~~~ apps/terminal/terminal.cpp:77:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 77 | DEFCMD("uname", command_uname) | ^~~~~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:78:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | DEFCMD("echo", command_echo) | ^~~~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:79:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 79 | DEFCMD("clear", command_clear) | ^~~~~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:80:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 80 | DEFCMD("history", command_history) | ^~~~~~~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:81:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 81 | DEFCMD("whoami", command_whoami) | ^~~~~~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:82:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | DEFCMD("ion", command_ion) | ^~~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:83:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 83 | DEFCMD("ls", command_ls) | ^~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:84:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | DEFCMD("touch", command_touch) | ^~~~~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:85:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | DEFCMD("rm", command_rm) | ^~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:86:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 86 | DEFCMD("cp", command_cp) | ^~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:87:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | DEFCMD("cd", command_cd) | ^~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:88:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 88 | DEFCMD("mkdir", command_mkdir) | ^~~~~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:89:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 89 | DEFCMD("md", command_mkdir) | ^~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:90:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 90 | DEFCMD("pyscr", command_pyscr) | ^~~~~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:91:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 91 | DEFCMD("cat", command_cat) | ^~~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:92:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 92 | DEFCMD("args", command_args) | ^~~~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:93:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 93 | DEFCMD("chars", command_chars) | ^~~~~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:94:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 94 | DEFCMD("poincare", command_poincare) | ^~~~~~~~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:96:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 96 | DEFCMD("su", command_su) | ^~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:97:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 97 | DEFCMD("useradd", command_useradd) | ^~~~~~~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:98:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 98 | DEFCMD("users", command_users) | ^~~~~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:99:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | DEFCMD("id", command_id) | ^~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:100:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 100 | DEFCMD("neofetch", command_neofetch) | ^~~~~~~~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:101:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 101 | DEFCMD("daemon", command_daemon) | ^~~~~~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ apps/terminal/terminal.cpp:102:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 102 | DEFCMD("chmod", command_chmod) | ^~~~~~~ apps/terminal/terminal.h:5:54: note: in definition of macro 'DEFCMD' 5 | #define DEFCMD(cmdname, cmdfunc) else if (check(cmd, cmdname)) { cmdfunc(argList); } | ^~~~~~~ In file included from apps/terminal/software/kilo.h:7, from apps/terminal/terminal.cpp:7: apps/terminal/software/../lecurses.h: At global scope: apps/terminal/software/../lecurses.h:33:13: warning: 'void LECurses::topBar(KDColor, KDColor, const char*)' defined but not used [-Wunused-function] 33 | static void topBar(KDColor back, KDColor fore, const char* text) { | ^~~~~~ apps/terminal/software/../lecurses.h:10:13: warning: 'void LECurses::rectangle(KDRect, KDColor, KDColor)' defined but not used [-Wunused-function] 10 | static void rectangle(KDRect rect, KDColor color, KDColor foreColor = KDColorBlack) { | ^~~~~~~~~ In file included from apps/terminal/terminal.h:3, from apps/terminal/terminal.cpp:1: apps/terminal/termscreen.h:509:13: warning: 'void Terminal::Screen::writeRectDecorateLn(const char*, KDColor, KDColor, int)' defined but not used [-Wunused-function] 509 | static void writeRectDecorateLn(const char* text, KDColor color = KDColorWhite, KDColor rectColor = KDColorRed, int count = -1) { | ^~~~~~~~~~~~~~~~~~~ apps/terminal/termscreen.h:504:13: warning: 'void Terminal::Screen::writeLnB(SecuredString*, KDColor, KDColor)' defined but not used [-Wunused-function] 504 | static void writeLnB(SecuredString* text, KDColor color, KDColor back) { | ^~~~~~~~ apps/terminal/termscreen.h:498:13: warning: 'void Terminal::Screen::writeLnB(const char*, KDColor, KDColor, int)' defined but not used [-Wunused-function] 498 | static void writeLnB(const char* text, KDColor color = KDColorWhite, KDColor back = TerminalBackground, int count = -1) { | ^~~~~~~~ apps/terminal/termscreen.h:476:13: warning: 'void Terminal::Screen::writeCharSilently(char, KDColor, int)' defined but not used [-Wunused-function] 476 | static void writeCharSilently(char text, KDColor color = KDColorWhite, int count = -1) { | ^~~~~~~~~~~~~~~~~ apps/terminal/termscreen.h:469:13: warning: 'void Terminal::Screen::writeCharWithoutRedrawing(char, KDColor, int)' defined but not used [-Wunused-function] 469 | static void writeCharWithoutRedrawing(char text, KDColor color = KDColorWhite, int count = -1) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ apps/terminal/termscreen.h:443:13: warning: 'void Terminal::Screen::writeStringAt(int, int, SecuredString*, KDColor, KDColor)' defined but not used [-Wunused-function] 443 | static void writeStringAt(int x, int y, SecuredString* text, KDColor fore = KDColorWhite, KDColor back = TerminalBackground) { | ^~~~~~~~~~~~~ apps/terminal/termscreen.h:439:13: warning: 'void Terminal::Screen::writeB(SecuredString*, KDColor, KDColor)' defined but not used [-Wunused-function] 439 | static void writeB(SecuredString* text, KDColor color = KDColorWhite, KDColor back = TerminalBackground) { | ^~~~~~ apps/terminal/termscreen.h:410:13: warning: 'void Terminal::Screen::writeRectDecorate(const char*, KDColor, KDColor, int)' defined but not used [-Wunused-function] 410 | static void writeRectDecorate(const char* text, KDColor color = KDColorWhite, KDColor rectColor = KDColorRed, int count = -1) { | ^~~~~~~~~~~~~~~~~ apps/terminal/termscreen.h:362:16: warning: 'KDColor Terminal::Screen::getBackColorAt(int, int)' defined but not used [-Wunused-function] 362 | static KDColor getBackColorAt(int x, int y) { | ^~~~~~~~~~~~~~ apps/terminal/termscreen.h:291:13: warning: 'void Terminal::Screen::setForeColorAt(int, int, KDColor)' defined but not used [-Wunused-function] 291 | static void setForeColorAt(int x, int y, KDColor fore) { | ^~~~~~~~~~~~~~ In file included from apps/terminal/terminal.h:3, from apps/terminal/terminal.cpp:1: apps/terminal/termscreen.h:114:13: warning: 'bool Terminal::Screen::operator==(Terminal::Screen::terminal_cell_t, Terminal::Screen::terminal_cell_t)' defined but not used [-Wunused-function] 114 | static bool operator==(terminal_cell_t left, terminal_cell_t right) { | ^~~~~~~~ apps/terminal/termscreen.h:88:26: warning: 'Terminal::Screen::readLnSettings' defined but not used [-Wunused-variable] 88 | static ReadLineSettings* readLnSettings; | ^~~~~~~~~~~~~~ apps/terminal/termscreen.h:55:13: warning: 'bool Terminal::Keyboard::isReleased()' defined but not used [-Wunused-function] 55 | static bool isReleased() { return keyboardMode == 0; } | ^~~~~~~~~~ In file included from apps/terminal/termscreen.h:7, from apps/terminal/terminal.h:3, from apps/terminal/terminal.cpp:1: apps/terminal/stringx.h:19:13: warning: 'bool startsWith(SecuredString*, SecuredString*)' defined but not used [-Wunused-function] 19 | static bool startsWith(SecuredString* target, SecuredString* text) { | ^~~~~~~~~~ apps/terminal/stringx.h:10:13: warning: 'bool startsWith(const char*, const char*)' defined but not used [-Wunused-function] 10 | static bool startsWith(const char* target, const char* text) { | ^~~~~~~~~~ LD epsilon.elf ./apps/settings/sub_menu/about_controller.h:11:7: warning: type 'struct AboutController' violates the C++ One Definition Rule [-Wodr] 11 | class AboutController : public GenericSubController { | ^ apps/settings/sub_menu/about_controller.h:11:7: note: a different type is defined in another translation unit 11 | class AboutController : public GenericSubController { | ^ ./apps/settings/sub_menu/about_controller.h:32:30: note: the first difference of corresponding definitions is field 'm_cells' 32 | MessageTableCellWithBuffer m_cells[k_totalNumberOfCell]; | ^ apps/settings/sub_menu/about_controller.h:32:30: note: a field of same name but different type is defined in another translation unit 32 | MessageTableCellWithBuffer m_cells[k_totalNumberOfCell]; | ^ ./apps/settings/sub_menu/about_controller.h:11:7: note: array types have different bounds 11 | class AboutController : public GenericSubController { | ^ ./apps/settings/main_controller.h:35:7: warning: type 'struct MainController' violates the C++ One Definition Rule [-Wodr] 35 | class MainController : public ViewController, public ListViewDataSource, public SelectableTableViewDataSource { | ^ apps/settings/main_controller.h:35:7: note: a different type is defined in another translation unit 35 | class MainController : public ViewController, public ListViewDataSource, public SelectableTableViewDataSource { | ^ ./apps/settings/main_controller.h:78:19: note: the first difference of corresponding definitions is field 'm_aboutController' 78 | AboutController m_aboutController; | ^ apps/settings/main_controller.h:78:19: note: a field of same name but different type is defined in another translation unit 78 | AboutController m_aboutController; | ^ ./apps/settings/sub_menu/about_controller.h:11:7: note: type 'struct AboutController' itself violates the C++ One Definition Rule 11 | class AboutController : public GenericSubController { | ^ apps/settings/sub_menu/about_controller.h:11:7: note: the incompatible type is defined here 11 | class AboutController : public GenericSubController { | ^ ./apps/settings/app.h:9:7: warning: type 'struct App' violates the C++ One Definition Rule [-Wodr] 9 | class App : public Shared::TextFieldDelegateApp { | ^ apps/settings/app.h:9:7: note: a different type is defined in another translation unit 9 | class App : public Shared::TextFieldDelegateApp { | ^ ./apps/settings/app.h:26:18: note: the first difference of corresponding definitions is field 'm_mainController' 26 | MainController m_mainController; | ^ apps/settings/app.h:26:18: note: a field of same name but different type is defined in another translation unit 26 | MainController m_mainController; | ^ ./apps/settings/main_controller.h:35:7: note: type 'struct MainController' itself violates the C++ One Definition Rule 35 | class MainController : public ViewController, public ListViewDataSource, public SelectableTableViewDataSource { | ^ apps/settings/main_controller.h:35:7: note: the incompatible type is defined here 35 | class MainController : public ViewController, public ListViewDataSource, public SelectableTableViewDataSource { | ^ d:/programmes/gcc-arm/92020/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe:ion/src/device/n0110/flash.ld:187 cannot move location counter backwards (from 20038230 to 20038000) collect2.exe: error: ld returned 1 exit status make: *** [build/rules.mk:71 : output/release/device/n0110/epsilon.elf] Erreur 1