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.
2 parents 54136ee + cad5be5 commit 17137b2Copy full SHA for 17137b2
src/godot.cpp
@@ -271,7 +271,12 @@ GDExtensionBool GDExtensionBinding::init(GDExtensionInterfaceGetProcAddress p_ge
271
} else if (internal::godot_version.minor != GODOT_VERSION_MINOR) {
272
compatible = internal::godot_version.minor > GODOT_VERSION_MINOR;
273
} else {
274
+#if GODOT_VERSION_PATCH > 0
275
compatible = internal::godot_version.patch >= GODOT_VERSION_PATCH;
276
+#else
277
+ // Prevent -Wtype-limits warning due to unsigned comparison.
278
+ compatible = true;
279
+#endif
280
}
281
if (!compatible) {
282
// We need to use snprintf() here because vformat() uses Variant, and we haven't loaded
0 commit comments