We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64130f2 commit 38d0772Copy full SHA for 38d0772
src/util/format_number_range.cpp
@@ -99,6 +99,10 @@ static void append_numbers_and_reset(
99
"lower bound must not be larger than upper bound '" +
100
std::to_string(*begin_range) + "-" + std::to_string(*number) + "'");
101
}
102
+ // old g++ with -O3 falsely complain for *begin_range (g++-7.4)
103
+#if __GNUC__ > 4
104
+#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
105
+#endif
106
for(unsigned i = *begin_range; i < *number; ++i)
107
numbers.push_back(i);
108
// add upper bound separately to avoid
0 commit comments