Centos 8 has gcc 8 as default version. Corryvreckan needs version 9 (pointed out by Simon Spannagel).
With version 8, magic-enum.hpp fails
To install version 9:
sudo dnf install -y gcc-toolset-9-gcc gcc-toolset-9-gcc-c++
Remove your previous corryvreckan build attempts completely (make clean; delete all files in your build directory)
Then do cmake again to rebuild makefiles
Then do make again.
Just to add the obvious … you probably have to recompile all other packages, such as ROOT and EUDAQ2, with gcc9.
(I was getting an instant crash running corry, with ROOT reporting errors, whatever config file I had, including none).