Open
Description
After cloning in the latest master
on my WSL OpenSUSE Tumbleweed, running make
results in:
CC src/ast.o
CC src/gc-stock.o
/home/sundar/foss/julia/src/gc-stock.c:144:34: error: initializer element is not constant
static uint64_t old_alloc_diff = default_collect_interval;
^~~~~~~~~~~~~~~~~~~~~~~~
/home/sundar/foss/julia/src/gc-stock.c:145:34: error: initializer element is not constant
static uint64_t old_freed_diff = default_collect_interval;
^~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:261: gc-stock.o] Error 1
make: *** [Makefile:108: julia-src-release] Error 2
I have gcc and g++ both version 7.5.0, along with the other tools mentioned here.
The only other issues with this error that I can find are this (which I don't understand tbh), and this (which is about Clang pretending to be gcc, doesn't seem relevant here). Seeing as this doesn't seem a commonly reported error, what element of my setup is the likely reason for this, and how can I fix it?