With the following change all those "Conditional jump or move depends on uninitialised value(s)" mesages are gone.
=== modified file 'src/ui_basic/multilineeditbox.cc' --- src/ui_basic/multilineeditbox.cc 2017-09-20 21:27:25 +0000 +++ src/ui_basic/multilineeditbox.cc 2017-12-03 16:32:02 +0000 @@ -105,6 +105,7 @@ : scrollbar(&o, o.get_w() - Scrollbar::kSize, 0, Scrollbar::kSize, o.get_h(), button_background), background(init_background), cursor_pos(0), + lineheight(1), maxbytes(std::min(g_gr->max_texture_size() / UI_FONT_SIZE_SMALL, 0xffff)), ww_valid(false), owner(o) {
The original problem is still there. I'm not sure is the initial value ok?
With the following change all those "Conditional jump or move depends on uninitialised value(s)" mesages are gone.
=== modified file 'src/ui_ basic/multiline editbox. cc' basic/multiline editbox. cc 2017-09-20 21:27:25 +0000 basic/multiline editbox. cc 2017-12-03 16:32:02 +0000 d(init_ background) , pos(0), std::min( g_gr->max_ texture_ size() / UI_FONT_SIZE_SMALL, 0xffff)), valid(false) ,
--- src/ui_
+++ src/ui_
@@ -105,6 +105,7 @@
: scrollbar(&o, o.get_w() - Scrollbar::kSize, 0, Scrollbar::kSize, o.get_h(), button_background),
backgroun
cursor_
+ lineheight(1),
maxbytes(
ww_
owner(o) {
The original problem is still there. I'm not sure is the initial value ok?