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 c7ab180 commit 903d1fbCopy full SHA for 903d1fb
util/noise/fast_noise_2.h
@@ -3,7 +3,20 @@
3
4
#include "../containers/span.h"
5
#include "../math/interval.h"
6
+
7
+#if defined(__GNUC__) && !defined(__clang__)
8
+// FastNoise2 uses virtual inheritance, but Godot 4.5 added a warning to enforce not using it.
9
+// See https://github.com/godotengine/godot/pull/103708
10
+#pragma GCC diagnostic push
11
+#pragma GCC diagnostic ignored "-Wvirtual-inheritance"
12
+#endif
13
14
#include "FastNoise/FastNoise.h"
15
16
17
+#pragma GCC diagnostic pop
18
19
20
#include <core/io/resource.h>
21
22
class Image;
0 commit comments