Hi,
I ran into this compile error on the teach cluster:
[lcl_uotphy1610s1839@teach-login01 gameof1d]$ make
g++ -std=c++23 -03 -march=native -Wall -c -o readparams. o readparams. cpp readparams. cpp: In function 'int read_parameters(int, char**, parameters&)':
readparams. cpp:43:12: error: 'SUCCESS' was not declared in this scope
43
return SUCCESS;
ANNNNNN
make: *** [Makefile:21: readparams.o] Error 1
I was able to compile by including <cstdlib> and replacing SUCCESS/FAILURE with EXIT_SUCCESS/EXIT_FAILURE in readparams.cpp ... is this the intended fix, or is there something else we are supposed to do?
Thanks in advance!