Hi all:
I upgrade my Mac to OS X 10.15 and upgrade Geant4 to 4.10.6
when I try to build example B1:
it failed
In file included from /Users/chenxu/software/Geant4/tmp/B1/exampleB1.cc:30:
In file included from /Users/chenxu/software/Geant4/tmp/B1/include/B1DetectorConstruction.hh:33:
In file included from /usr/local/include/Geant4/G4VUserDetectorConstruction.hh:38:
In file included from /usr/local/include/Geant4/globals.hh:48:
In file included from /usr/local/include/Geant4/G4ios.hh:38:
In file included from /usr/local/include/Geant4/G4Types.hh:71:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/complex:245:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:317:9: error:
no member named 'signbit' in the global namespace
using ::signbit;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:318:9: error:
no member named 'fpclassify' in the global namespace
using ::fpclassify;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:319:9: error:
no member named 'isfinite' in the global namespace; did you mean 'finite'?
using ::isfinite;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/math.h:749:12: note: 'finite' declared here
extern int finite(double)
I used to meet the same problem using ROOT https://root-forum.cern.ch/t/root-catalina-bug-report/36693, it had been repaired.
How could I repair it when using Geant4?