Add -Wmissing-variable-declarations to common warnings

This commit is contained in:
Martin Hořeňovský committed 2022-05-03 13:54:03 +02:00
1 parent 7752229105
commit d2cb934d28
3 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ struct foo {
#pragma clang diagnostic ignored "-Wglobal-constructors"
#endif
// Construct foo, but `foo::print` should not be run
foo f;
static foo f;
#if defined(__clang__)