Hi, I found from GNU Guix's build check that when building with gcc 11, building hubbub would fail when building tests with errors like
COMPILE: test/tokeniser2.c COMPILE: test/tokeniser3.c COMPILE: test/tree.c COMPILE: test/tree2.c COMPILE: test/tree-buf.c test/tokeniser2.c: In function ‘token_handler’: test/tokeniser2.c:444:46: error: ‘t.data.character.ptr’ may be used uninitialized [-Werror=maybe-uninitialized] 444 | t.data.character.ptr += len; | ^~ test/tokeniser2.c:441:38: note: ‘t’ declared here 441 | hubbub_token t; | ^ test/tokeniser2.c:445:46: error: ‘t.data.character.len’ may be used uninitialized [-Werror=maybe-uninitialized] 445 | t.data.character.len -= len; | ^~ ... I briefly took a look of the test source code in question and the hubbub_token structs seem not explicitly initialized. Is this a real warning from gcc of possibly uninitialized variable which can cause the build to fail if allow warnings are treated as errors by gcc during build (a common practice)? Thanks if maintainer can take a look. relevant bug entry and complete bug logs: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63526 _______________________________________________ netsurf-dev mailing list -- netsurf-dev@netsurf-browser.org To unsubscribe send an email to netsurf-dev-le...@netsurf-browser.org