Hi, Attached is a patch that fixes a compilation error with g++ version 4.4. It is a simple conversion from "const char*" to "char*" that is forbidden in the new version. Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/kobodeluxe/+bug/461373 Debian bug: http://bugs.debian.org/552548 It would be nice if you can include it in a subsequent release of KoboDeluxe. Best regards. -- dam
Description: Avoid compilation with gcc-4.4. const->non-const char* conversion is fatal in that version Origin: vendor, https://bugs.launchpad.net/ubuntu/+source/kobodeluxe/+bug/461373 Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/kobodeluxe/+bug/461373 Bug-Debian: http://bugs.debian.org/552548 Forwarded: yes --- a/graphics/window.cpp +++ b/graphics/window.cpp @@ -398,7 +398,7 @@ void window_t::center_token_fxp(int _x, */ if(token) { - char *tok = strchr(txt, token); + const char *tok = strchr(txt, token); if(tok) tokpos = tok-txt; else