TheBjoel2
TheBjoel2
I was trying to build [ikos](https://aur.archlinux.org/packages/ikos-git) (master branch) on Arch Linux. I did: ```bash cmake \ -DCMAKE_BUILD_TYPE="Release" \ -DCMAKE_INSTALL_PREFIX="/usr" \ -DLLVM_CONFIG_EXECUTABLE="/usr/bin/llvm-config-14" \ -DAPPEND_GIT_VERSION=ON \ .. make ``` Which failed with...
Including this header and building (``g++ -std=c++20 file.cpp``) the code results in an error: ``` In file included from cubiomes/noise.h:5, from cubiomes/layers.h:4, from cubiomes/generator.h:4, from test.cpp:1: /usr/include/c++/15.1.1/math.h:183:12: error: ‘constexpr double...
So, you have an [allocCache()](https://github.com/Cubitect/cubiomes/blob/e61f90580cbdd883214a8054670dacae655e59c0/generator.c#L173) function in ``generator.c``, which calls [calloc](https://en.cppreference.com/w/c/memory/calloc): ```c int *allocCache(const Generator *g, Range r) { size_t len = getMinCacheSize(g, r.scale, r.sx, r.sy, r.sz); if (len ==...