Created attachment 831 [details] Screenshot of g4.11.1.2 macOS Sonoma compilation error My student has encountered an error compiling geant-v11.1.2 on his machine running macOS Sonoma as seen in the attached screenshot. His setup is: Mac Model: Air 2020 Chip: Apple M1 OS: macOS Sonoma 14.0 XCode Version: 15.0.1 His project is time-limited so waiting for a patch release may not be possible. If the fix is simple, could you let me know the solution and I can fix the local version on his machine?
Please, note that macOS-14/clang-15 is not a supported platform for Geant4 11.1 series. There is no validation of Geant4 done for such platform on older Geant4 releases. The error reported concerns the use of FPE detection, which on macOS is *not* recommended, as on macOS FPE detection is anyhow known to not work properly. Just use an installation with FPE detection disabled, i.e. CMAKE_BUILD_TYPE=Release, or CMAKE_BUILD_TYPE=RelWithDebInfo.