mirror of
https://github.com/termux/termux-packages.git
synced 2025-08-08 01:32:08 +00:00
18 lines
581 B
Diff
18 lines
581 B
Diff
--- a/src/plugins/cppeditor/cppquickfixes.cpp
|
|
+++ b/src/plugins/cppeditor/cppquickfixes.cpp
|
|
@@ -4371,7 +4371,14 @@
|
|
};
|
|
using Flag = GenerateGetterSetterOp::GenerateFlag;
|
|
constexpr static Flag ColumnFlag[] = {
|
|
+#if defined(__clang__) && __clang_major__ >= 16
|
|
+#pragma GCC diagnostic push
|
|
+#pragma GCC diagnostic ignored "-Wenum-constexpr-conversion"
|
|
+#endif
|
|
static_cast<Flag>(-1),
|
|
+#if defined(__clang__) && __clang_major__ >= 16
|
|
+#pragma GCC diagnostic pop
|
|
+#endif
|
|
Flag::GenerateGetter,
|
|
Flag::GenerateSetter,
|
|
Flag::GenerateSignal,
|