http://bugzilla.suse.com/show_bug.cgi?id=1034922 Bug ID: 1034922 Summary: libyui-ncurses fails to build with new ncurses Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: mlin@suse.com QA Contact: jsrain@suse.com CC: werner@suse.com Found By: --- Blocker: --- libyui-ncurses fails to build[1] with ncurses update[2] [ 40s] [ 37%] Building CXX object src/CMakeFiles/yui-ncurses.dir/NCDialog.cc.o [ 41s] /home/abuild/rpmbuild/BUILD/libyui-ncurses-2.48.0/src/NCTextPad.cc: In member function 'bool NCTextPad::insert(wint_t)': [ 41s] /home/abuild/rpmbuild/BUILD/libyui-ncurses-2.48.0/src/NCTextPad.cc:381:13: error: 'color' may be used uninitialized in this function [-Werror=maybe-uninitialized] [ 41s] setcchar( &cchar, wch, attr, color, NULL ); [ 41s] ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 41s] /home/abuild/rpmbuild/BUILD/libyui-ncurses-2.48.0/src/NCTextPad.cc:381:47: error: 'attr' may be used uninitialized in this function [-Werror=maybe-uninitialized] [ 41s] setcchar( &cchar, wch, attr, color, NULL ); [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/libyui-ncurses-2.48.0/src/NCTextPad.cc: In member function 'void NCTextPad::setText(const NCtext&)': [ 41s] /home/abuild/rpmbuild/BUILD/libyui-ncurses-2.48.0/src/NCTextPad.cc:493:15: error: 'color' may be used uninitialized in this function [-Werror=maybe-uninitialized] [ 41s] short int color; [ 41s] ^~~~~ [ 41s] /home/abuild/rpmbuild/BUILD/libyui-ncurses-2.48.0/src/NCTextPad.cc:520:48: error: 'attr' may be used uninitialized in this function [-Werror=maybe-uninitialized] [ 41s] setcchar( &cchar, wch, attr, color, NULL ); [ 41s] ^ [ 41s] [ 38%] Building CXX object src/CMakeFiles/yui-ncurses.dir/NCEmpty.cc.o [ 41s] [ 40%] Building CXX object src/CMakeFiles/yui-ncurses.dir/NCSpacing.cc.o [ 41s] cc1plus: all warnings being treated as errors [1] https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:B... [2] https://build.opensuse.org/request/show/487834 -- You are receiving this mail because: You are on the CC list for the bug.