cmake: apply -Werror to generated test TUs and fix exposed warnings (X-QA-01)
This commit is contained in:
1 parent
65185f251c
commit
77a2bce73f
3 files changed
+16
-1
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user