Compilation fails on AppleClang and gcc-8
I tried to compile the master on my OSX laptop. I get compilation errors with both clang and gcc-8.
clang
Apple LLVM version 10.0.1 (clang-1001.0.46.3) Target: x86_64-apple-darwin18.5.0
/Users/hdembins/Code/corsika/Framework/StackInterface/testCombinedStack.cc:350:19: error: call to deleted constructor of
'StackTestView' (aka 'SecondaryView<TestStackData, TestParticleInterface>')
StackTestView view(particle);
^ ~~~~~~~~
gcc-8
gcc-8 (Homebrew GCC 8.2.0) 8.2.0
I get this error:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/ucred.h:94:2: error: '_Atomic' does not name a type
_Atomic u_long cr_ref; /* reference count */