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 3059287 commit 172d774Copy full SHA for 172d774
ggml/src/ggml-backend-reg.cpp
@@ -69,6 +69,9 @@
69
#if defined(__clang__)
70
# pragma clang diagnostic push
71
# pragma clang diagnostic ignored "-Wdeprecated-declarations"
72
+#elif defined(__GNUC__)
73
+# pragma GCC diagnostic push
74
+# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
75
#endif
76
77
namespace fs = std::filesystem;
@@ -91,6 +94,8 @@ static std::string path_str(const fs::path & path) {
91
94
92
95
93
96
# pragma clang diagnostic pop
97
98
+# pragma GCC diagnostic pop
99
100
101
#ifdef _WIN32
0 commit comments