Closed paulicka closed 2 years ago
Perhaps this may be due to breaking core changes in Godot, again.
I no longer use Godot, bug fixes are welcomed.
I'm able to compile with the following patch (on gd3 e5d9b18) and Godot 3.5-stable (991bb6ac74).
diff --git a/core/types/templates/priority_queue.h b/core/types/templates/priority_queue.h
index ecc779f..60a8db7 100644
--- a/core/types/templates/priority_queue.h
+++ b/core/types/templates/priority_queue.h
@@ -12,7 +12,7 @@ struct PriorityQueueMaxHeapComparator {
template <typename T, class Comparator=PriorityQueueMinHeapComparator<T>>
class PriorityQueue {
- LocalVector<T, int> vector;
+ LocalVector<T> vector;
_FORCE_INLINE_ int parent(int i) const {
return (i - 1) / 2;
I'm not too versed in C++ and I'm not using the Graph structure (the only consumer of PriorityQueue AFAICT) for my project, so I can't say if this is a functional fix. But the units tests pass:
python run.py tests --test-file core/types/test_graph.gd
...
260 passed 0 failed. Tests finished in 0.2s
@Meptl looks fine, feel free to submit a pull request. 🙂
Filed https://github.com/goostengine/goost/pull/196
That PR builds with 3.x but not 3.5-stable. A bit larger than the patch I posted because our CICD compiles with werror=1 warnings=all
I assume this to be fixed via #196, thanks!
Goost and Godot version:
Default version from following installation instructions:
git clone https://github.com/goostengine/goost --recurse-submodules
OS/platform/device including version:
Linux quasar 5.4.0-122-generic #138-Ubuntu SMP Wed Jun 22 15:00:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Linux Mint Cinnamon on HP Spectre
Issue description:
Steps to reproduce:
Follow default compile from source instructions:
Is this issue reproducible in official Godot builds?
I can build from godot on master branch without problems, so it's not obviously my toolchain causing issues (I think?).
Minimal reproduction project:
Again, just the default instructions are failing me in my environment.