Dear all,
I am trying to install STARlight on Kubuntu 22 but the build fails with:
home/kubajurka/alice/sw/SOURCES/STARlight/master/0/src/randomgenerator.cpp: In member function 'virtual double randomGenerator::Rndom(int)':
/home/kubajurka/alice/sw/SOURCES/STARlight/master/0/src/randomgenerator.cpp:126:20: error: ISO C++17 does not allow 'register' storage class specifier [-Werror=register]
126 | register int i;
| ^
cc1plus: all warnings being treated as errors
I am building with the commands:
aliBuild init STARlight@master
aliBuild build STARlight --defaults o2
The full log file is here: CERNBox
When I tested on a different machine with Ubuntu 20 the build was ok.
Thanks for any help.
Cheers,
Tomas