Skip to content

Fix compiler errors with clang21, gcc15/gcc16.#383

Open
markos wants to merge 2 commits intodevelopfrom
bugfix/fix-clang21-gtest-errors
Open

Fix compiler errors with clang21, gcc15/gcc16.#383
markos wants to merge 2 commits intodevelopfrom
bugfix/fix-clang21-gtest-errors

Conversation

@markos
Copy link
Copy Markdown

@markos markos commented Mar 31, 2026

Builds with clang21 fail to complete because of uninitialized dummy variable in gtest-all.cc, for example:

https://buildbot-ci.vectorcamp.gr/#/builders/469/builds/22

Furthermore, with gcc15/gcc16, shengcompiler.cpp throws an exception in Sheng16.std_compile_header due to some different behaviour in std::vector. Adding the check doesn't hurt anyway and the tests pass.

Example failure:

https://buildbot-ci.vectorcamp.gr/#/builders/481/builds/23

@markos markos changed the title fix-clang21 build error with gtest Fix compiler errors with clang21, gcc15/gcc16. Mar 31, 2026
@markos markos linked an issue Mar 31, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gcc 15+ build failures

1 participant