cmake: apply -Werror to generated test TUs and fix exposed warnings (X-QA-01)

This commit is contained in:
faumaray committed 2026-12-03 16:57:22 +03:00
1 parent 65185f251c
commit 77a2bce73f
3 files changed
+16 -1

No files matched your search

+3 -1
View File
@@ -253,7 +253,9 @@ namespace Void::Meta
out += "?";
}
out += '{';
bool first = true;
// Reflectable types with no members (e.g. std::optional) leave this
// unread; the diagnostic is about a deliberately empty loop body.
[[maybe_unused]] bool first = true;
template for (constexpr auto m : members_v<T>)
{
if (!first) {