slumbot2019
slumbot2019 copied to clipboard
src/vcfr_state.cpp:27:22: error: no matching constructor for initialization of 'shared_ptr<int []>'
Hi Eric,
I am trying to compile your code but get stuck when compiling vcfr_state.cpp:
gcc -std=c++17 -Wall -O3 -march=native -ffast-math -flto -c -o obj/vcfr_state.o src/vcfr_state.cpp
src/vcfr_state.cpp:27:22: error: no matching constructor for initialization of
'shared_ptr<int []>'
shared_ptr<int []> street_buckets(new int[num]);
Is there a simple way to fix this?
Thanks!
I think this may be a gcc version issue. According to my notes, gcc 7.3 is known to work.