********************************************************************** ** Visual Studio 2019 Developer Command Prompt v16.9.5 ** Copyright (c) 2021 Microsoft Corporation ********************************************************************** C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>cd C:\setup\build C:\setup\build>cmake -DGeant4_DIR="C:\Program Files\geant4_10_07_p01_install\lib\Geant4-10.7.1" -DHEPMC_DIR="C:\HepMC-install" "C:\setup" -- Building for: Visual Studio 16 2019 CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19042. -- The C compiler identification is MSVC 19.28.29915.0 -- The CXX compiler identification is MSVC 19.28.29915.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - not found -- Found Threads: TRUE -- Found XercesC: C:/xerces-c-3.2.3_install/lib/xerces-c_3.lib (found suitable version "3.2.3", minimum required is "3.2.3") -- Found OpenGL: opengl32 -- Found HepMC: C:/HepMC-install/include -- Configuring done -- Generating done -- Build files have been written to: C:/setup/build C:\setup\build>cmake --build . --config Release Microsoft (R) Build Engine versione 16.9.0+5e4b48a27 per .NET Framework Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. Checking Build System Building Custom Rule C:/setup/CMakeLists.txt mainMCMC.cc G4Channeling.cc G4ChannelingECHARM.cc G4ChannelingMaterialData.cc G4ChannelingOptrChangeCrossSection.cc G4ChannelingOptrMultiParticleChangeCrossSection.cc G4ChannelingPhysics.cc G4ChannelingTrackData.cc B1ActionInitialization.cc B1EventAction.cc B1PrimaryGeneratorAction.cc B1Run.cc C:\setup\mainMCMC.cc(223,14): warning C4244: 'inizializzazione': conversione da 'time_t' a 'G4long'. Possibile perdita di dati. [C:\setup\build\mainMCMC.vcxproj] B1RunAction.cc B1StackingAction.cc B1SteppingAction.cc GEMDigitizer.cc HepMCG4AsciiReader.cc C:\HepMC-install\include\HepMC/GenVertex.h(195,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (u sed as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Sta ndard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from s td::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, poi nter, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SIL ENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you h ave received this warning. (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\ mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): mess age : vedere la dichiarazione di 'std::iterator' (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorActio n.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(264,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from std::it erator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILENCE_C XX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have re ceived this warning. (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMC MC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): mess age : vedere la dichiarazione di 'std::iterator' (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorActio n.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(340,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (u sed as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Sta ndard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from s td::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, poi nter, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SIL ENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you h ave received this warning. (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\ mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): mess age : vedere la dichiarazione di 'std::iterator' (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorActio n.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(455,30): warning C4267: 'return': conversione da 'size_t' a 'int'. Possibile perdita di dati. (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCMC. vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(459,31): warning C4267: 'return': conversione da 'size_t' a 'int'. Possibile perdita di dati. (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCMC. vcxproj] C:\HepMC-install\include\HepMC/Flow.h(174,34): warning C4267: '=': conversione da 'size_t' a 'int'. Possibile perdita d i dati. (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(337,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Standard h as never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from std::ite rator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, a nd reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILENCE_CX X17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have rec eived this warning. (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCM C.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): mess age : vedere la dichiarazione di 'std::iterator' (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorActio n.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(394,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Standard h as never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from std::ite rator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, a nd reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILENCE_CX X17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have rec eived this warning. (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCM C.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): mess age : vedere la dichiarazione di 'std::iterator' (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorActio n.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(467,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (us ed as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Stan dard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from st d::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, poin ter, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILE NCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you ha ve received this warning. (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\m ainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): mess age : vedere la dichiarazione di 'std::iterator' (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorActio n.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(523,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (us ed as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Stan dard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from st d::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, poin ter, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILE NCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you ha ve received this warning. (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\m ainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): mess age : vedere la dichiarazione di 'std::iterator' (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorActio n.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(195,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (u sed as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Sta ndard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from s td::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, poi nter, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SIL ENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you h ave received this warning. (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMC MC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): mess age : vedere la dichiarazione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(264,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from std::it erator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILENCE_C XX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have re ceived this warning. (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcx proj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): mess age : vedere la dichiarazione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(340,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (u sed as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Sta ndard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from s td::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, poi nter, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SIL ENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you h ave received this warning. (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMC MC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): mess age : vedere la dichiarazione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(455,30): warning C4267: 'return': conversione da 'size_t' a 'int'. Possibile perdita di dati. (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxpro j] C:\HepMC-install\include\HepMC/GenVertex.h(459,31): warning C4267: 'return': conversione da 'size_t' a 'int'. Possibile perdita di dati. (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxpro j] C:\HepMC-install\include\HepMC/Flow.h(174,34): warning C4267: '=': conversione da 'size_t' a 'int'. Possibile perdita d i dati. (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(337,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Standard h as never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from std::ite rator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, a nd reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILENCE_CX X17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have rec eived this warning. (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxp roj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): mess age : vedere la dichiarazione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(394,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Standard h as never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from std::ite rator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, a nd reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILENCE_CX X17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have rec eived this warning. (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxp roj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): mess age : vedere la dichiarazione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\setup\src\GEMDigitizer.cc(29,14): warning C4244: 'inizializzazione': conversione da 'double' a 'int'. Possibile perd ita di dati. [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(467,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (us ed as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Stan dard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from st d::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, poin ter, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILE NCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you ha ve received this warning. (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCM C.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): mess age : vedere la dichiarazione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(523,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (us ed as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Stan dard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from st d::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, poin ter, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILE NCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you ha ve received this warning. (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCM C.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): mess age : vedere la dichiarazione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] HepMCG4Interface.cc C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(106,21): warning C4996: 'write': The POSIX na me for this item is deprecated. Instead, use the ISO C and C++ conformant name: _write. See online help for details. (c ompilazione del file di origine C:\setup\src\B1StackingAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(393,7): warning C4996: 'close': The POSIX nam e for this item is deprecated. Instead, use the ISO C and C++ conformant name: _close. See online help for details. (co mpilazione del file di origine C:\setup\src\B1StackingAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(482,17): warning C4996: 'unlink': The POSIX n ame for this item is deprecated. Instead, use the ISO C and C++ conformant name: _unlink. See online help for details. (compilazione del file di origine C:\setup\src\B1StackingAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(495,15): warning C4996: 'open': The POSIX nam e for this item is deprecated. Instead, use the ISO C and C++ conformant name: _open. See online help for details. (com pilazione del file di origine C:\setup\src\B1StackingAction.cc) [C:\setup\build\mainMCMC.vcxproj] PhysicsList.cc C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(106,21): warning C4996: 'write': The POSIX na me for this item is deprecated. Instead, use the ISO C and C++ conformant name: _write. See online help for details. (c ompilazione del file di origine C:\setup\src\B1RunAction.cc) [C:\setup\build\mainMCMC.vcxproj] PhysicsListMessenger.cc C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(393,7): warning C4996: 'close': The POSIX nam e for this item is deprecated. Instead, use the ISO C and C++ conformant name: _close. See online help for details. (co mpilazione del file di origine C:\setup\src\B1RunAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(482,17): warning C4996: 'unlink': The POSIX n ame for this item is deprecated. Instead, use the ISO C and C++ conformant name: _unlink. See online help for details. (compilazione del file di origine C:\setup\src\B1RunAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(495,15): warning C4996: 'open': The POSIX nam e for this item is deprecated. Instead, use the ISO C and C++ conformant name: _open. See online help for details. (com pilazione del file di origine C:\setup\src\B1RunAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(106,21): warning C4996: 'write': The POSIX na me for this item is deprecated. Instead, use the ISO C and C++ conformant name: _write. See online help for details. (c ompilazione del file di origine C:\setup\src\B1EventAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(393,7): warning C4996: 'close': The POSIX nam e for this item is deprecated. Instead, use the ISO C and C++ conformant name: _close. See online help for details. (co mpilazione del file di origine C:\setup\src\B1EventAction.cc) [C:\setup\build\mainMCMC.vcxproj] PurgMagTabulatedField3D.cc C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(482,17): warning C4996: 'unlink': The POSIX n ame for this item is deprecated. Instead, use the ISO C and C++ conformant name: _unlink. See online help for details. (compilazione del file di origine C:\setup\src\B1EventAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(495,15): warning C4996: 'open': The POSIX nam e for this item is deprecated. Instead, use the ISO C and C++ conformant name: _open. See online help for details. (com pilazione del file di origine C:\setup\src\B1EventAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\setup\src\B1EventAction.cc(357,34): warning C4267: '=': conversione da 'size_t' a 'G4int'. Possibile perdita di dati . [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(195,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (u sed as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Sta ndard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from s td::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, poi nter, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SIL ENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you h ave received this warning. (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC .vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): mess age : vedere la dichiarazione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C :\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(264,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from std::it erator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILENCE_C XX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have re ceived this warning. (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxpr oj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): mess age : vedere la dichiarazione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C :\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(340,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (u sed as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Sta ndard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from s td::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, poi nter, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SIL ENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you h ave received this warning. (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC .vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): mess age : vedere la dichiarazione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C :\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(455,30): warning C4267: 'return': conversione da 'size_t' a 'int'. Possibile perdita di dati. (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(459,31): warning C4267: 'return': conversione da 'size_t' a 'int'. Possibile perdita di dati. (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/Flow.h(174,34): warning C4267: '=': conversione da 'size_t' a 'int'. Possibile perdita d i dati. (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(337,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Standard h as never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from std::ite rator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, a nd reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILENCE_CX X17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have rec eived this warning. (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxpro j] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): mess age : vedere la dichiarazione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C :\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(394,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Standard h as never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from std::ite rator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, a nd reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILENCE_CX X17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have rec eived this warning. (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxpro j] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): mess age : vedere la dichiarazione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C :\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(467,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (us ed as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Stan dard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from st d::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, poin ter, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILE NCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you ha ve received this warning. (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC. vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): mess age : vedere la dichiarazione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C :\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(523,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (us ed as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Stan dard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from st d::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, poin ter, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILE NCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you ha ve received this warning. (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC. vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): mess age : vedere la dichiarazione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C :\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(106,21): warning C4996: 'write': The POSIX na me for this item is deprecated. Instead, use the ISO C and C++ conformant name: _write. See online help for details. (c ompilazione del file di origine C:\setup\src\B1SteppingAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(393,7): warning C4996: 'close': The POSIX nam e for this item is deprecated. Instead, use the ISO C and C++ conformant name: _close. See online help for details. (co mpilazione del file di origine C:\setup\src\B1SteppingAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(482,17): warning C4996: 'unlink': The POSIX n ame for this item is deprecated. Instead, use the ISO C and C++ conformant name: _unlink. See online help for details. (compilazione del file di origine C:\setup\src\B1SteppingAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(495,15): warning C4996: 'open': The POSIX nam e for this item is deprecated. Instead, use the ISO C and C++ conformant name: _open. See online help for details. (com pilazione del file di origine C:\setup\src\B1SteppingAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\setup\src\B1SteppingAction.cc(777,55): warning C4267: 'inizializzazione': conversione da 'size_t' a 'int'. Possibile perdita di dati. [C:\setup\build\mainMCMC.vcxproj] SiDigitizer.cc TBDetectorConstruction.cc HepMCG4AsciiReader.obj : error LNK2019: riferimento al simbolo esterno "public: __cdecl HepMC::WeightContainer::WeightC ontainer(class std::vector > const &)" (??0WeightContainer@HepMC@@QEAA@AEBV?$vector @NV?$allocator@N@std@@@std@@@Z) non risolto nella funzione "public: class HepMC::GenEvent * __cdecl HepMC::IO_BaseClass ::read_next_event(void)" (?read_next_event@IO_BaseClass@HepMC@@QEAAPEAVGenEvent@2@XZ) [C:\setup\build\mainMCMC.vcxproj] HepMCG4Interface.obj : error LNK2001: simbolo esterno "public: __cdecl HepMC::WeightContainer::WeightContainer(class st d::vector > const &)" (??0WeightContainer@HepMC@@QEAA@AEBV?$vector@NV?$allocator@N@ std@@@std@@@Z) non risolto [C:\setup\build\mainMCMC.vcxproj] HepMCG4AsciiReader.obj : error LNK2019: riferimento al simbolo esterno "enum HepMC::Units::LengthUnit __cdecl HepMC::Un its::default_length_unit(void)" (?default_length_unit@Units@HepMC@@YA?AW4LengthUnit@12@XZ) non risolto nella funzione " public: class HepMC::GenEvent * __cdecl HepMC::IO_BaseClass::read_next_event(void)" (?read_next_event@IO_BaseClass@HepM C@@QEAAPEAVGenEvent@2@XZ) [C:\setup\build\mainMCMC.vcxproj] HepMCG4Interface.obj : error LNK2001: simbolo esterno "enum HepMC::Units::LengthUnit __cdecl HepMC::Units::default_leng th_unit(void)" (?default_length_unit@Units@HepMC@@YA?AW4LengthUnit@12@XZ) non risolto [C:\setup\build\mainMCMC.vcxproj] HepMCG4AsciiReader.obj : error LNK2019: riferimento al simbolo esterno "enum HepMC::Units::MomentumUnit __cdecl HepMC:: Units::default_momentum_unit(void)" (?default_momentum_unit@Units@HepMC@@YA?AW4MomentumUnit@12@XZ) non risolto nella fu nzione "public: class HepMC::GenEvent * __cdecl HepMC::IO_BaseClass::read_next_event(void)" (?read_next_event@IO_BaseCl ass@HepMC@@QEAAPEAVGenEvent@2@XZ) [C:\setup\build\mainMCMC.vcxproj] HepMCG4Interface.obj : error LNK2001: simbolo esterno "enum HepMC::Units::MomentumUnit __cdecl HepMC::Units::default_mo mentum_unit(void)" (?default_momentum_unit@Units@HepMC@@YA?AW4MomentumUnit@12@XZ) non risolto [C:\setup\build\mainMCMC. vcxproj] HepMCG4AsciiReader.obj : error LNK2019: riferimento al simbolo esterno "public: __cdecl HepMC::GenEvent::GenEvent(int,i nt,class HepMC::GenVertex *,class HepMC::WeightContainer const &,class std::vector > co nst &,enum HepMC::Units::MomentumUnit,enum HepMC::Units::LengthUnit)" (??0GenEvent@HepMC@@QEAA@HHPEAVGenVertex@1@AEBVWe ightContainer@1@AEBV?$vector@JV?$allocator@J@std@@@std@@W4MomentumUnit@Units@1@W4LengthUnit@71@@Z) non risolto nella fu nzione "public: class HepMC::GenEvent * __cdecl HepMC::IO_BaseClass::read_next_event(void)" (?read_next_event@IO_BaseCl ass@HepMC@@QEAAPEAVGenEvent@2@XZ) [C:\setup\build\mainMCMC.vcxproj] HepMCG4Interface.obj : error LNK2001: simbolo esterno "public: __cdecl HepMC::GenEvent::GenEvent(int,int,class HepMC::G enVertex *,class HepMC::WeightContainer const &,class std::vector > const &,enum HepMC: :Units::MomentumUnit,enum HepMC::Units::LengthUnit)" (??0GenEvent@HepMC@@QEAA@HHPEAVGenVertex@1@AEBVWeightContainer@1@A EBV?$vector@JV?$allocator@J@std@@@std@@W4MomentumUnit@Units@1@W4LengthUnit@71@@Z) non risolto [C:\setup\build\mainMCMC. vcxproj] HepMCG4AsciiReader.obj : error LNK2019: riferimento al simbolo esterno "public: void __cdecl HepMC::GenEvent::print(cla ss std::basic_ostream > &)const " (?print@GenEvent@HepMC@@QEBAXAEAV?$basic_ostream@D U?$char_traits@D@std@@@std@@@Z) non risolto nella funzione "protected: virtual class HepMC::GenEvent * __cdecl HepMCG4A sciiReader::GenerateHepMCEvent(void)" (?GenerateHepMCEvent@HepMCG4AsciiReader@@MEAAPEAVGenEvent@HepMC@@XZ) [C:\setup\bu ild\mainMCMC.vcxproj] HepMCG4AsciiReader.obj : error LNK2019: riferimento al simbolo esterno "public: __cdecl HepMC::IO_GenEvent::IO_GenEvent (class std::basic_string,class std::allocator > const &,int)" (??0IO_GenEvent@ HepMC@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z) non risolto nella funzione "public: _ _cdecl HepMCG4AsciiReader::HepMCG4AsciiReader(class G4String)" (??0HepMCG4AsciiReader@@QEAA@VG4String@@@Z) [C:\setup\bu ild\mainMCMC.vcxproj] HepMCG4Interface.obj : error LNK2019: riferimento al simbolo esterno "public: __cdecl HepMC::GenVertex::particle_iterat or::particle_iterator(void)" (??0particle_iterator@GenVertex@HepMC@@QEAA@XZ) non risolto nella funzione "protected: voi d __cdecl HepMCG4Interface::HepMC2G4(class HepMC::GenEvent const *,class G4Event *)" (?HepMC2G4@HepMCG4Interface@@IEAAX PEBVGenEvent@HepMC@@PEAVG4Event@@@Z) [C:\setup\build\mainMCMC.vcxproj] HepMCG4Interface.obj : error LNK2019: riferimento al simbolo esterno "public: __cdecl HepMC::GenVertex::particle_iterat or::particle_iterator(class HepMC::GenVertex &,enum HepMC::IteratorRange)" (??0particle_iterator@GenVertex@HepMC@@QEAA@ AEAV12@W4IteratorRange@2@@Z) non risolto nella funzione "protected: void __cdecl HepMCG4Interface::HepMC2G4(class HepMC ::GenEvent const *,class G4Event *)" (?HepMC2G4@HepMCG4Interface@@IEAAXPEBVGenEvent@HepMC@@PEAVG4Event@@@Z) [C:\setup\b uild\mainMCMC.vcxproj] HepMCG4Interface.obj : error LNK2019: riferimento al simbolo esterno "public: virtual __cdecl HepMC::GenVertex::particl e_iterator::~particle_iterator(void)" (??1particle_iterator@GenVertex@HepMC@@UEAA@XZ) non risolto nella funzione "prote cted: void __cdecl HepMCG4Interface::HepMC2G4(class HepMC::GenEvent const *,class G4Event *)" (?HepMC2G4@HepMCG4Interfa ce@@IEAAXPEBVGenEvent@HepMC@@PEAVG4Event@@@Z) [C:\setup\build\mainMCMC.vcxproj] HepMCG4Interface.obj : error LNK2019: riferimento al simbolo esterno "public: class HepMC::GenParticle * __cdecl HepMC: :GenVertex::particle_iterator::operator*(void)const " (??Dparticle_iterator@GenVertex@HepMC@@QEBAPEAVGenParticle@2@XZ) non risolto nella funzione "protected: void __cdecl HepMCG4Interface::HepMC2G4(class HepMC::GenEvent const *,class G4Ev ent *)" (?HepMC2G4@HepMCG4Interface@@IEAAXPEBVGenEvent@HepMC@@PEAVG4Event@@@Z) [C:\setup\build\mainMCMC.vcxproj] HepMCG4Interface.obj : error LNK2019: riferimento al simbolo esterno "public: class HepMC::GenVertex::particle_iterator & __cdecl HepMC::GenVertex::particle_iterator::operator++(void)" (??Eparticle_iterator@GenVertex@HepMC@@QEAAAEAV012@XZ ) non risolto nella funzione "protected: void __cdecl HepMCG4Interface::HepMC2G4(class HepMC::GenEvent const *,class G4 Event *)" (?HepMC2G4@HepMCG4Interface@@IEAAXPEBVGenEvent@HepMC@@PEAVG4Event@@@Z) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\lib\HepMC.lib : warning LNK4272: il tipo 'x86' del computer della libreria è in conflitto con il tipo 'x64' del computer di destinazione [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\lib\HepMCfio.lib : warning LNK4272: il tipo 'x86' del computer della libreria è in conflitto con il ti po 'x64' del computer di destinazione [C:\setup\build\mainMCMC.vcxproj] C:\setup\build\Release\mainMCMC.exe : fatal error LNK1120: 11 esterni non risolti [C:\setup\build\mainMCMC.vcxproj] C:\setup\build>