Makefile:141: warning: overriding recipe for target 'clean' /workspace/FSL-install/config/rules.mk:13: warning: ignoring old recipe for target 'clean' hipcc -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -c -o cpubuild/eddy.o eddy.cpp -g -O0 -fvisibility=default -fPIC hipcc -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -c -o cpubuild/b0Predictor.o b0Predictor.cpp -g -O0 -fvisibility=default -fPIC hipcc -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -c -o cpubuild/BiasFieldEstimatorImpl.o BiasFieldEstimatorImpl.cpp -g -O0 -fvisibility=default -fPIC hipcc -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -c -o cpubuild/CPUStackResampler.o CPUStackResampler.cpp -g -O0 -fvisibility=default -fPIC hipcc -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -c -o cpubuild/DiffusionGP.o DiffusionGP.cpp -g -O0 -fvisibility=default -fPIC hipcc -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -c -o cpubuild/fmriPredictor.o fmriPredictor.cpp -g -O0 -fvisibility=default -fPIC hipcc -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -c -o cpubuild/LongECModels.o LongECModels.cpp -g -O0 -fvisibility=default -fPIC hipcc -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -c -o cpubuild/ECModels.o ECModels.cpp -g -O0 -fvisibility=default -fPIC hipcc -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -c -o cpubuild/ECScanClasses.o ECScanClasses.cpp -g -O0 -fvisibility=default -fPIC hipcc -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -c -o cpubuild/EddyCommandLineOptions.o EddyCommandLineOptions.cpp -g -O0 -fvisibility=default -fPIC hipcc -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -c -o cpubuild/EddyHelperClasses.o EddyHelperClasses.cpp -g -O0 -fvisibility=default -fPIC hipcc -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -c -o cpubuild/EddyUtils.o EddyUtils.cpp -g -O0 -fvisibility=default -fPIC hipcc -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -c -o cpubuild/HyParEstimator.o HyParEstimator.cpp -g -O0 -fvisibility=default -fPIC hipcc -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -c -o cpubuild/KMatrix.o KMatrix.cpp -g -O0 -fvisibility=default -fPIC hipcc -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -c -o cpubuild/MoveBySuscCF.o MoveBySuscCF.cpp -g -O0 -fvisibility=default -fPIC hipcc -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -c -o cpubuild/LSResampler.o LSResampler.cpp -g -O0 -fvisibility=default -fPIC hipcc -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -c -o cpubuild/PostEddyAlignShellsFunctions.o PostEddyAlignShellsFunctions.cpp -g -O0 -fvisibility=default -fPIC hipcc -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -c -o cpubuild/PostEddyCF.o PostEddyCF.cpp -g -O0 -fvisibility=default -fPIC hipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -DCOMPILE_GPU -Icuda -c -o cudabuild/eddy.o eddy.cpp -g -O0 -g -fvisibility=default -fPIC hipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -DCOMPILE_GPU -Icuda -c -o cudabuild/b0Predictor.o b0Predictor.cpp -g -O0 -g -fvisibility=default -fPIC hipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -DCOMPILE_GPU -Icuda -c -o cudabuild/BiasFieldEstimatorImpl.o BiasFieldEstimatorImpl.cpp -g -O0 -g -fvisibility=default -fPIC dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -DCOMPILE_GPU -Icuda -c -o cudabuild/CPUStackResampler.o CPUStackResampler.cpp -g -O0 -g -fvisibility=default -fPIC dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -DCOMPILE_GPU -Icuda -c -o cudabuild/DiffusionGP.o DiffusionGP.cpp -g -O0 -g -fvisibility=default -fPIC dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcchipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -DCOMPILE_GPU -Icuda -c -o cudabuild/fmriPredictor.o fmriPredictor.cpp -g -O0 -g -fvisibility=default -fPIC : warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -DCOMPILE_GPU -Icuda -c -o cudabuild/ECModels.o ECModels.cpp -g -O0 -g -fvisibility=default -fPIC dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -DCOMPILE_GPU -Icuda -c -o cudabuild/LongECModels.o LongECModels.cpp -g -O0 -g -fvisibility=default -fPIC dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -DCOMPILE_GPU -Icuda -c -o cudabuild/ECScanClasses.o ECScanClasses.cpp -g -O0 -g -fvisibility=default -fPIC dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -DCOMPILE_GPU -Icuda -c -o cudabuild/EddyCommandLineOptions.o EddyCommandLineOptions.cpp -g -O0 -g -fvisibility=default -fPIC dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -DCOMPILE_GPU -Icuda -c -o cudabuild/EddyHelperClasses.o EddyHelperClasses.cpp -g -O0 -g -fvisibility=default -fPIC dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -DCOMPILE_GPU -Icuda -c -o cudabuild/EddyUtils.o EddyUtils.cpp -g -O0 -g -fvisibility=default -fPIC dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -DCOMPILE_GPU -Icuda -c -o cudabuild/HyParEstimator.o HyParEstimator.cpp -g -O0 -g -fvisibility=default -fPIC dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -DCOMPILE_GPU -Icuda -c -o cudabuild/KMatrix.o KMatrix.cpp -g -O0 -g -fvisibility=default -fPIC dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dccdcc: : warning: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -DCOMPILE_GPU -Icuda -c -o cudabuild/MoveBySuscCF.o MoveBySuscCF.cpp -g -O0 -g -fvisibility=default -fPIC dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]dcc : warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -DCOMPILE_GPU -Icuda -c -o cudabuild/PostEddyAlignShellsFunctions.o PostEddyAlignShellsFunctions.cpp -g -O0 -g -fvisibility=default -fPIC dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include "-isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g" "-fexpensive-optimizations -Wall -pedantic -Wno-long-long" " -g -O0 " -DARMA_ALLOW_FAKE_GCC -std=c++17 -fPIC -g -O0 "-fPIC -g -O0 -pthread" -DCOMPILE_GPU -Icuda "" -c -o cudabuild/cuda/CudaVolume.o cuda/CudaVolume.cpp -g -O0 -fvisibility=default -fPIC --gpu-max-threads-per-block=1024 hipcc -isystem /include -isystem /targets/x86_64-linux/include "-isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g" "-fexpensive-optimizations -Wall -pedantic -Wno-long-long" " -g -O0 " -DARMA_ALLOW_FAKE_GCC -std=c++17 -fPIC -g -O0 "-fPIC -g -O0 -pthread" -DCOMPILE_GPU -Icuda "" -c -o cudabuild/cuda/DerivativeCalculator.o cuda/DerivativeCalculator.cpp -g -O0 -fvisibility=default -fPIC --gpu-max-threads-per-block=1024 hipcc -isystem /include -isystem /targets/x86_64-linux/include "-isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g" "-fexpensive-optimizations -Wall -pedantic -Wno-long-long" " -g -O0 " -DARMA_ALLOW_FAKE_GCC -std=c++17 -fPIC -g -O0 "-fPIC -g -O0 -pthread" -DCOMPILE_GPU -Icuda "" -c -o cudabuild/cuda/DiffusionGP.o cuda/DiffusionGP.cpp -g -O0 -fvisibility=default -fPIC --gpu-max-threads-per-block=1024 dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include "-isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g" "-fexpensive-optimizations -Wall -pedantic -Wno-long-long" " -g -O0 " -DARMA_ALLOW_FAKE_GCC -std=c++17 -fPIC -g -O0 "-fPIC -g -O0 -pthread" -DCOMPILE_GPU -Icuda "" -c -o cudabuild/cuda/fmriPredictor.o cuda/fmriPredictor.cpp -g -O0 -fvisibility=default -fPIC --gpu-max-threads-per-block=1024 dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dccdcc: : warning: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include "-isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g" "-fexpensive-optimizations -Wall -pedantic -Wno-long-long" " -g -O0 " -DARMA_ALLOW_FAKE_GCC -std=c++17 -fPIC -g -O0 "-fPIC -g -O0 -pthread" -DCOMPILE_GPU -Icuda "" -c -o cudabuild/cuda/EddyCudaHelperFunctions.o cuda/EddyCudaHelperFunctions.cpp -g -O0 -fvisibility=default -fPIC --gpu-max-threads-per-block=1024 dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include "-isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g" "-fexpensive-optimizations -Wall -pedantic -Wno-long-long" " -g -O0 " -DARMA_ALLOW_FAKE_GCC -std=c++17 -fPIC -g -O0 "-fPIC -g -O0 -pthread" -DCOMPILE_GPU -Icuda "" -c -o cudabuild/cuda/EddyGpuUtils.o cuda/EddyGpuUtils.cpp -g -O0 -fvisibility=default -fPIC --gpu-max-threads-per-block=1024 dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include "-isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g" "-fexpensive-optimizations -Wall -pedantic -Wno-long-long" " -g -O0 " -DARMA_ALLOW_FAKE_GCC -std=c++17 -fPIC -g -O0 "-fPIC -g -O0 -pthread" -DCOMPILE_GPU -Icuda "" -c -o cudabuild/cuda/EddyInternalGpuUtils.o cuda/EddyInternalGpuUtils.cpp -g -O0 -fvisibility=default -fPIC --gpu-max-threads-per-block=1024 dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include "-isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g" "-fexpensive-optimizations -Wall -pedantic -Wno-long-long" " -g -O0 " -DARMA_ALLOW_FAKE_GCC -std=c++17 -fPIC -g -O0 "-fPIC -g -O0 -pthread" -DCOMPILE_GPU -Icuda "" -c -o cudabuild/cuda/EddyKernels.o cuda/EddyKernels.cpp -g -O0 -fvisibility=default -fPIC --gpu-max-threads-per-block=1024 dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include "-isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g" "-fexpensive-optimizations -Wall -pedantic -Wno-long-long" " -g -O0 " -DARMA_ALLOW_FAKE_GCC -std=c++17 -fPIC -g -O0 "-fPIC -g -O0 -pthread" -DCOMPILE_GPU -Icuda "" -c -o cudabuild/cuda/EddyMatrixKernels.o cuda/EddyMatrixKernels.cpp -g -O0 -fvisibility=default -fPIC --gpu-max-threads-per-block=1024 hipcc -isystem /include -isystem /targets/x86_64-linux/include "-isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g" "-fexpensive-optimizations -Wall -pedantic -Wno-long-long" " -g -O0 " -DARMA_ALLOW_FAKE_GCC -std=c++17 -fPIC -g -O0 "-fPIC -g -O0 -pthread" -DCOMPILE_GPU -Icuda "" -c -o cudabuild/cuda/GpuPredictorChunk.o cuda/GpuPredictorChunk.cpp -g -O0 -fvisibility=default -fPIC --gpu-max-threads-per-block=1024 dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include "-isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g" "-fexpensive-optimizations -Wall -pedantic -Wno-long-long" " -g -O0 " -DARMA_ALLOW_FAKE_GCC -std=c++17 -fPIC -g -O0 "-fPIC -g -O0 -pthread" -DCOMPILE_GPU -Icuda "" -c -o cudabuild/cuda/LSResampler.o cuda/LSResampler.cpp -g -O0 -fvisibility=default -fPIC --gpu-max-threads-per-block=1024 dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include "-isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g" "-fexpensive-optimizations -Wall -pedantic -Wno-long-long" " -g -O0 " -DARMA_ALLOW_FAKE_GCC -std=c++17 -fPIC -g -O0 "-fPIC -g -O0 -pthread" -DCOMPILE_GPU -Icuda "" -c -o cudabuild/cuda/PostEddyCF.o cuda/PostEddyCF.cpp -g -O0 -fvisibility=default -fPIC --gpu-max-threads-per-block=1024 hipcc -isystem /include -isystem /targets/x86_64-linux/include "-isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g" "-fexpensive-optimizations -Wall -pedantic -Wno-long-long" " -g -O0 " -DARMA_ALLOW_FAKE_GCC -std=c++17 -fPIC -g -O0 "-fPIC -g -O0 -pthread" -DCOMPILE_GPU -Icuda "" -c -o cudabuild/cuda/StackResampler.o cuda/StackResampler.cpp -g -O0 -fvisibility=default -fPIC --gpu-max-threads-per-block=1024 dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cuda/PostEddyCF.cpp:16:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/PostEddyCF.cpp:17:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/PostEddyCF.cpp:18:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ cuda/PostEddyCF.cpp:16:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/PostEddyCF.cpp:17:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/PostEddyCF.cpp:18:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ cuda/EddyGpuUtils.cpp:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyGpuUtils.cpp:24:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/EddyGpuUtils.cpp:25:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ cuda/GpuPredictorChunk.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/GpuPredictorChunk.cpp:22:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/DiffusionGP.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/DiffusionGP.cpp:22:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/DiffusionGP.cpp:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ cuda/EddyKernels.cpp:8:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyKernels.cpp:9:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/EddyKernels.cpp:8:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyKernels.cpp:9:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/DiffusionGP.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/DiffusionGP.cpp:22:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/DiffusionGP.cpp:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ cuda/PostEddyCF.cpp:16:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/PostEddyCF.cpp:17:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/PostEddyCF.cpp:18:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ cuda/EddyGpuUtils.cpp:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyGpuUtils.cpp:24:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/EddyGpuUtils.cpp:25:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ cuda/DiffusionGP.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/DiffusionGP.cpp:22:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/DiffusionGP.cpp:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ cuda/fmriPredictor.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/fmriPredictor.cpp:22:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/fmriPredictor.cpp:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ cuda/EddyGpuUtils.cpp:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyGpuUtils.cpp:24:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/EddyGpuUtils.cpp:25:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ cuda/GpuPredictorChunk.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/GpuPredictorChunk.cpp:22:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/EddyMatrixKernels.cpp:281:10: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] else *(int*)0 = 0; // Throw a fit ^~~~~~~~ cuda/EddyMatrixKernels.cpp:281:10: note: consider using __builtin_trap() or qualifying pointer with 'volatile' cuda/EddyMatrixKernels.cpp:315:10: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] else *(int*)0 = 0; // Throw a fit ^~~~~~~~ cuda/EddyMatrixKernels.cpp:315:10: note: consider using __builtin_trap() or qualifying pointer with 'volatile' cuda/EddyMatrixKernels.cpp:351:1: warning: void function is missing a return statement [-Wreturn-type] } ^ cuda/EddyMatrixKernels.cpp:626:1: warning: void function is missing a return statement [-Wreturn-type] } ^ cuda/fmriPredictor.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/fmriPredictor.cpp:22:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/fmriPredictor.cpp:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ cuda/fmriPredictor.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/fmriPredictor.cpp:22:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/fmriPredictor.cpp:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ cuda/GpuPredictorChunk.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/GpuPredictorChunk.cpp:22:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/EddyCudaHelperFunctions.cpp:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyCudaHelperFunctions.cpp:7:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/EddyCudaHelperFunctions.cpp:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyCudaHelperFunctions.cpp:7:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/EddyCudaHelperFunctions.cpp:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyCudaHelperFunctions.cpp:7:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/EddyKernels.cpp:8:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyKernels.cpp:9:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/EddyMatrixKernels.cpp:281:10: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] else *(int*)0 = 0; // Throw a fit ^~~~~~~~ cuda/EddyMatrixKernels.cpp:281:10: note: consider using __builtin_trap() or qualifying pointer with 'volatile' cuda/EddyMatrixKernels.cpp:315:10: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] else *(int*)0 = 0; // Throw a fit ^~~~~~~~ cuda/EddyMatrixKernels.cpp:315:10: note: consider using __builtin_trap() or qualifying pointer with 'volatile' cuda/EddyMatrixKernels.cpp:351:1: warning: void function is missing a return statement [-Wreturn-type] } ^ cuda/EddyInternalGpuUtils.cpp:33:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyInternalGpuUtils.cpp:34:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/EddyInternalGpuUtils.cpp:35:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ cuda/EddyMatrixKernels.cpp:626:1: warning: void function is missing a return statement [-Wreturn-type] } ^ cuda/EddyMatrixKernels.cpp:281:10: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] else *(int*)0 = 0; // Throw a fit ^~~~~~~~ cuda/EddyMatrixKernels.cpp:281:10: note: consider using __builtin_trap() or qualifying pointer with 'volatile' cuda/EddyMatrixKernels.cpp:315:10: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] else *(int*)0 = 0; // Throw a fit ^~~~~~~~ cuda/EddyMatrixKernels.cpp:315:10: note: consider using __builtin_trap() or qualifying pointer with 'volatile' cuda/EddyMatrixKernels.cpp:351:1: warning: void function is missing a return statement [-Wreturn-type] } ^ 4 warnings generated when compiling for gfx928. cuda/EddyMatrixKernels.cpp:626:1: warning: void function is missing a return statement [-Wreturn-type] } ^ cuda/EddyInternalGpuUtils.cpp:33:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyInternalGpuUtils.cpp:34:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/EddyInternalGpuUtils.cpp:35:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ In file included from DiffusionGP.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] In file included from KMatrix.cpp:23: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } void Start() { _start = std::chrono::steady_clock::now(); } ^ ^ In file included from fmriPredictor.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from HyParEstimator.cpp:25: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from HyParEstimator.cpp:25: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from fmriPredictor.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ cuda/EddyInternalGpuUtils.cpp:33:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyInternalGpuUtils.cpp:34:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/EddyInternalGpuUtils.cpp:35:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ In file included from ECModels.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ cuda/LSResampler.cpp:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/LSResampler.cpp:32:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/LSResampler.cpp:33:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ In file included from ECModels.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from EddyCommandLineOptions.cpp:80: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from b0Predictor.cpp:18: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ cuda/LSResampler.cpp:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/LSResampler.cpp:32:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/LSResampler.cpp:33:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ In file included from EddyCommandLineOptions.cpp:80: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from MoveBySuscCF.cpp:27: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from cuda/DerivativeCalculator.cpp:32:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/DerivativeCalculator.cpp:33:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/DerivativeCalculator.cpp:34:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ In file included from PostEddyCF.cpp:25: In file included from ./EddyUtils.h:26: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ fmriPredictor.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from PostEddyCF.cpp:25: In file included from ./EddyUtils.h:26: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from EddyHelperClasses.cpp:21: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from EddyHelperClasses.cpp:21: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from LongECModels.cpp:26: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from PostEddyCF.cpp:25: In file included from ./EddyUtils.h:26: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from KMatrix.cpp:23: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from EddyHelperClasses.cpp:21: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from KMatrix.cppIn file included from :24: DiffusionGP.cppIn file included from :./EddyUtils.h25:: 27In file included from : ./EddyUtils.h:./ECScanClasses.h27: :208./ECScanClasses.h::51208:: 51:warning: warning: void function is missing a return statement [-Wreturn-type]void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } void SetRegLambda(double lambda) { _mrl=lambda; } ^ ^ In file included from fmriPredictor.cpp:25: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from HyParEstimator.cpp:26: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from HyParEstimator.cpp:26: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from EddyCommandLineOptions.cpp:80: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from LongECModels.cpp:26: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from fmriPredictor.cpp:25: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ In file included from BiasFieldEstimatorImpl.cpp:31: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from LongECModels.cpp:26: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from BiasFieldEstimatorImpl.cpp:31: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from eddy.cpp:23: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from CPUStackResampler.cpp:16: In file included from ./CPUStackResampler.h:22: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from HyParEstimator.cpp:25: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from KMatrix.cpp:24: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from DiffusionGP.cpp:25: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from EddyCommandLineOptions.cpp:81: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from fmriPredictor.cpp:25: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from HyParEstimator.cpp:26: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from HyParEstimator.cpp:26: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from DiffusionGP.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from LongECModels.cpp:26: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from b0Predictor.cpp:19: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from HyParEstimator.cpp:25: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from b0Predictor.cpp:18: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from ECScanClasses.cpp:28: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from KMatrix.cpp:24: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from DiffusionGP.cpp:25: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from fmriPredictor.cpp:25: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from EddyCommandLineOptions.cpp:81: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from fmriPredictor.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from HyParEstimator.cpp:26: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from HyParEstimator.cpp:26: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from PostEddyCF.cpp:25: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from PostEddyCF.cpp:25: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from fmriPredictor.cpp:25: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from BiasFieldEstimatorImpl.cpp:31: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ cuda/EddyMatrixKernels.cpp:281:10: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] else *(int*)0 = 0; // Throw a fit ^~~~~~~~ cuda/EddyMatrixKernels.cpp:281:10: note: consider using __builtin_trap() or qualifying pointer with 'volatile' cuda/EddyMatrixKernels.cpp:315:10: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] else *(int*)0 = 0; // Throw a fit ^~~~~~~~ cuda/EddyMatrixKernels.cpp:315:10: note: consider using __builtin_trap() or qualifying pointer with 'volatile' cuda/EddyMatrixKernels.cpp:351:1: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ cuda/EddyMatrixKernels.cpp:626:1: warning: void function is missing a return statement [-Wreturn-type] } ^ In file included from EddyHelperClasses.cpp:22: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from PostEddyCF.cpp:25: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from EddyHelperClasses.cpp:22: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from LongECModels.cpp:28: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from fmriPredictor.cpp:25: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from EddyCommandLineOptions.cpp:81: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from EddyHelperClasses.cpp:22: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from b0Predictor.cpp:18: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ./ECScanClasses.h ^ :782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from EddyCommandLineOptions.cpp:81: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from EddyCommandLineOptions.cpp:81: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from KMatrix.cpp:24: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from EddyCommandLineOptions.cpp:81: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./ECScanClasses.h./EddyCommandLineOptions.h::202561::6192:: warning: warning: void function is missing a return statement [-Wreturn-type]void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from PostEddyCF.cpp:25: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ 4 warnings./EddyCommandLineOptions.h generated:200 when compiling for :gfx90666. : warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from PostEddyCF.cpp:25: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from CPUStackResampler.cpp:16: In file included from ./CPUStackResampler.h:22: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from b0Predictor.cpp:19: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from EddyCommandLineOptions.cpp:81: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from PostEddyCF.cpp:25: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from EddyHelperClasses.cpp:22: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from PostEddyCF.cpp:25: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from BiasFieldEstimatorImpl.cpp:32: In file included from ./BiasFieldEstimator.h:25: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from PostEddyCF.cpp:25: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ fmriPredictor.cpp:129:26: warning: variable 'i' is uninitialized when used here [-Wuninitialized] for (unsigned int i; i<_slist.size(); i++) _Kmats[i]->Reset(); ^ fmriPredictor.cpp:129:24: note: initialize the variable 'i' to silence this warning for (unsigned int i; i<_slist.size(); i++) _Kmats[i]->Reset(); ^ = 0 cuda/CudaVolume.cpp:20:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/CudaVolume.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ In file included from eddy.cpp:24: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from b0Predictor.cpp:19: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from EddyHelperClasses.cpp:22: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from BiasFieldEstimatorImpl.cpp:32: In file included from ./BiasFieldEstimator.h:25: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from EddyHelperClasses.cpp:22: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from PostEddyCF.cpp:25: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from EddyHelperClasses.cpp:22: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from LongECModels.cpp:28: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from EddyUtils.cpp:29: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from EddyCommandLineOptions.cpp:81: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from MoveBySuscCF.cpp:30: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from EddyHelperClasses.cpp:22: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from DiffusionGP.cpp:25: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from ECScanClasses.cpp:29: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from b0Predictor.cpp:19: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from LongECModels.cpp:28: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from LSResampler.cpp:29: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from EddyHelperClasses.cpp:22: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ BiasFieldEstimatorImpl.cpp:104:3: warning: void function is missing a return statement [-Wreturn-type] } ^ fmriPredictor.cpp:129:26: warning: variable 'i' is uninitialized when used here [-Wuninitialized] for (unsigned int i; i<_slist.size(); i++) _Kmats[i]->Reset(); ^ fmriPredictor.cpp:129:24: note: initialize the variable 'i' to silence this warning for (unsigned int i; i<_slist.size(); i++) _Kmats[i]->Reset(); ^ = 0 ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from HyParEstimator.cpp:26: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from EddyCommandLineOptions.cpp:81: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ BiasFieldEstimatorImpl.cpp:216:14: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] static int cnt = 0; ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from DiffusionGP.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from b0Predictor.cpp:18: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ BiasFieldEstimatorImpl.cpp:104:3: warning: void function is missing a return statement [-Wreturn-type] } ^ cuda/PostEddyCF.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ cuda/CudaVolume.cpp:20:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/CudaVolume.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ In file included from fmriPredictor.cpp:25: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ In file included from ECModels.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ In file included from LSResampler.cpp:29: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ BiasFieldEstimatorImpl.cpp:216:14: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] static int cnt = 0; ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ cuda/DiffusionGP.cpp:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from b0Predictor.cpp:19: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from MoveBySuscCF.cpp:30: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from b0Predictor.cpp:18: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from eddy.cpp:23: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from KMatrix.cpp:24: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from ECScanClasses.cpp:29: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from DiffusionGP.cpp:25: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from b0Predictor.cpp:19: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from fmriPredictor.cpp:25: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from MoveBySuscCF.cpp:30: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from ECScanClasses.cpp:29: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ 1 warning generated when compiling for gfx926. In file included from KMatrix.cpp:24: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from DiffusionGP.cpp:25: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ MoveBySuscCF.cpp:60:51: warning: void function is missing a return statement [-Wreturn-type] void SetLambda(double lambda) { _lmbd = lambda; } ^ In file included from b0Predictor.cpp:19: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ MoveBySuscCF.cpp:66:53: warning: void function is missing a return statement [-Wreturn-type] void ResetCache() { _utd = false; _m_utd = false; } ^ 4 warnings generated when compiling for gfx926. ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ 4 warnings generated when compiling for gfx936. ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ 1 warning generated when compiling for gfx928. In file included from BiasFieldEstimatorImpl.cpp:32: In file included from ./BiasFieldEstimator.h:25: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ cuda/DerivativeCalculator.cpp:32:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/DerivativeCalculator.cpp:33:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/DerivativeCalculator.cpp:34:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ In file included from LongECModels.cpp:28: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ cuda/PostEddyCF.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from HyParEstimator.cpp:26: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ cuda/DiffusionGP.cpp:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from eddy.cpp:23: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ cuda/LSResampler.cpp:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/LSResampler.cpp:32:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/LSResampler.cpp:33:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ In file included from KMatrix.cpp:23: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from ECScanClasses.cpp:28: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from HyParEstimator.cpp:26: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from eddy.cpp:28: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from EddyUtils.cpp:30: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from BiasFieldEstimatorImpl.cpp:31: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from KMatrix.cpp:23: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from LongECModels.cpp:26: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from CPUStackResampler.cpp:16: In file included from ./CPUStackResampler.h:22: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from ECScanClasses.cpp:28: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from LSResampler.cpp:30: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from fmriPredictor.cpp:25: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from CPUStackResampler.cpp:16: In file included from ./CPUStackResampler.h:22: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from eddy.cpp:28: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from b0Predictor.cpp:19: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from MoveBySuscCF.cpp:27: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ In file included from CPUStackResampler.cpp:16: In file included from ./CPUStackResampler.h:22: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from HyParEstimator.cpp:26: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from fmriPredictor.cpp:25: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from BiasFieldEstimatorImpl.cpp:31: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ BiasFieldEstimatorImpl.cpp:104:3: warning: void function is missing a return statement [-Wreturn-type] } ^ In file included from ECScanClasses.cpp:28: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ cuda/CudaVolume.cpp:20:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/CudaVolume.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from eddy.cpp:24: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from fmriPredictor.cpp:25: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] BiasFieldEstimatorImpl.cpp:216:14: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] } ^ static int cnt = 0; ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from b0Predictor.cpp:19: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from DiffusionGP.cpp:25: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from fmriPredictor.cpp:25: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ cuda/EddyGpuUtils.cpp:28:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from cuda/EddyGpuUtils.cpp:31: cuda/EddyInternalGpuUtils.h:20:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyInternalGpuUtils.h:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ In file included from LSResampler.cpp:30: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from KMatrix.cpp:23: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from BiasFieldEstimatorImpl.cpp:31: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from b0Predictor.cpp:19: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from b0Predictor.cpp:19: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ 1 warning generated when compiling for gfx926. In file included from ECScanClasses.cpp:28: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ cuda/DerivativeCalculator.cpp:32:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/DerivativeCalculator.cpp:33:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/DerivativeCalculator.cpp:34:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ In file included from EddyUtils.cpp:30: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from HyParEstimator.cpp:26: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from LSResampler.cpp:30: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ 11 warnings generated when compiling for gfx926. ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ 1 warning generated when compiling for gfx926. In file included from ECScanClasses.cpp:29: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ 11 warnings generated when compiling for gfx926. ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from EddyUtils.cpp:29: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from HyParEstimator.cpp:25: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from ECScanClasses.cpp:29: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from KMatrix.cpp:24: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from HyParEstimator.cpp:26: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from LongECModels.cpp:28: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from EddyUtils.cpp:30: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from LSResampler.cpp:30: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ cuda/EddyInternalGpuUtils.cpp:39:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from CPUStackResampler.cpp:16: In file included from ./CPUStackResampler.h:22: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ 12 warnings generated when compiling for gfx926. ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from KMatrix.cpp:24: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from eddy.cpp:24: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from ECScanClasses.cpp:29: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from b0Predictor.cpp:19: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ 11 warnings generated when compiling for gfx926. ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ 11 warnings generated when compiling for gfx928. ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ 11 warnings generated when compiling for gfx926. ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from ECScanClasses.cpp:29: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from EddyCommandLineOptions.cpp:80: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ fmriPredictor.cpp:129:26: warning: variable 'i' is uninitialized when used here [-Wuninitialized] for (unsigned int i; i<_slist.size(); i++) _Kmats[i]->Reset(); ^ fmriPredictor.cpp:129:24: note: initialize the variable 'i' to silence this warning for (unsigned int i; i<_slist.size(); i++) _Kmats[i]->Reset(); ^ = 0 In file included from b0Predictor.cpp:19: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ In file included from DiffusionGP.cpp:25: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from ECScanClasses.cpp:29: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from BiasFieldEstimatorImpl.cpp:32: In file included from ./BiasFieldEstimator.h:25: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from eddy.cpp:23: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from eddy.cpp:28: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from ECScanClasses.cpp:29: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from KMatrix.cpp:24: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from ECModels.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from fmriPredictor.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from EddyUtils.cpp:29: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from ECScanClasses.cpp:29: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from ECScanClasses.cpp:29: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ 11 warnings generated when compiling for gfx906. ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ 11 warnings generated when compiling for gfx928. In file included from b0Predictor.cpp:19: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from eddy.cpp:28: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from KMatrix.cpp:24: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from KMatrix.cpp:24: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ 711 warning warningss generated generated when compiling for when compiling for gfx906gfx906. . In file included from ECScanClasses.cpp:29: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ cuda/EddyKernels.cpp:11:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ cuda/EddyKernels.cpp:270:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((epvx || xcoord[id]>0 && xcoord[id]0 && xcoord[id]0 && ycoord[id]0 && ycoord[id]0 && zcoord[id]0 && zcoord[id]Reset(); ^ fmriPredictor.cpp:129:24: note: initialize the variable 'i' to silence this warning for (unsigned int i; i<_slist.size(); i++) _Kmats[i]->Reset(); ^ = 0 11 warnings generated when compiling for gfx926. In file included from ECModels.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ BiasFieldEstimatorImpl.cpp:216:14: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] static int cnt = 0; ^ cuda/EddyKernels.cpp:1006:12: warning: variable 'nsteps' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] else if (dir==2) { ^~~~~~ cuda/EddyKernels.cpp:1013:19: note: uninitialized use occurs here for (int i=0; i0 && xcoord[id]0 && xcoord[id]0 && ycoord[id]0 && ycoord[id]0 && zcoord[id]0 && zcoord[id]Reset(); ^ fmriPredictor.cpp:129:24: note: initialize the variable 'i' to silence this warning for (unsigned int i; i<_slist.size(); i++) _Kmats[i]->Reset(); ^ = 0 1 warning generated when compiling for gfx928. ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from DiffusionGP.cpp:25: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from ECScanClasses.cpp:29: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ cuda/EddyInternalGpuUtils.cpp:515:10: warning: unused variable 'total_key' [-Wunused-variable] double total_key = prof.StartEntry("Total"); ^ In file included from DiffusionGP.cpp:25: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from PostEddyAlignShellsFunctions.cpp:16: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ 11 warnings generated when compiling for gfx928. ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ cuda/EddyInternalGpuUtils.cpp:684:32: warning: variable 'mean_masksum' set but not used [-Wunused-but-set-variable] double mean_masksum = 0.0; ^ ECScanClasses.cpp:2282:16: warning: unused variable 'lnthreads' [-Wunused-variable] unsigned int lnthreads = std::min(nthreads,NScans(st)); // In case we are writing very few volumes ^ ECScanClasses.cpp:2333:16: warning: unused variable 'lnthreads' [-Wunused-variable] unsigned int lnthreads = std::min(nthreads,NScans(st)); // In case we are writing very few volumes ^ cuda/fmriPredictor.cpp:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ ECScanClasses.cpp:2427:16: warning: unused variable 'lnthreads' [-Wunused-variable] unsigned int lnthreads = std::min(nthreads,NLSRPairs(st)); // In case we are writing very few pairs ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:6: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from DiffusionGP.cpp:25: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:6: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from eddy.cpp:28: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from cuda/EddyGpuUtils.cpp:31: In file included from cuda/EddyInternalGpuUtils.h:22: cuda/CudaVolume.h:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/CudaVolume.h:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/CudaVolume.h:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from EddyCommandLineOptions.cpp:81: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ cuda/EddyInternalGpuUtils.cpp:515:10: warning: unused variable 'total_key' [-Wunused-variable] double total_key = prof.StartEntry("Total"); ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ 11 warnings generated when compiling for gfx926. 12 warnings generated when compiling for gfx926. In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:6: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from eddy.cpp:28: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from EddyCommandLineOptions.cpp:81: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ cuda/CudaVolume.cpp:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from cuda/CudaVolume.cpp:36: cuda/CudaVolume.h:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/CudaVolume.h:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/CudaVolume.h:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ cuda/fmriPredictor.cpp:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from eddy.cpp:28: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from cuda/EddyGpuUtils.cpp:31: cuda/EddyInternalGpuUtils.h:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ cuda/EddyInternalGpuUtils.cpp:684:32: warning: variable 'mean_masksum' set but not used [-Wunused-but-set-variable] double mean_masksum = 0.0; ^ In file included from EddyUtils.cpp:30: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ cuda/LSResampler.cpp:35:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 5 warnings generated when compiling for gfx928. ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from fmriPredictor.cpp:25: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from PostEddyAlignShellsFunctions.cpp:16: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from EddyUtils.cpp:30: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ 7 warnings generated when compiling for gfx906. ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ cuda/GpuPredictorChunk.cpp:49:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result] hipFree(skrutt); ^~~~~~~ ~~~~~~ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from eddy.cpp:28: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::NoLongECModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1117:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new NoLongECModel()); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::NoLongECModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1117:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new NoLongECModel()); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::IndividualWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1120:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::IndividualWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1120:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::JointWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1123:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::JointWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1123:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::IndividualTimeConstantsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1126:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualTimeConstantsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::IndividualTimeConstantsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1126:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualTimeConstantsModel(*this)); ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:6: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::JointTimeConstantModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1129:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointTimeConstantModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::JointTimeConstantModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1129:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointTimeConstantModel(*this)); ^ 11 warnings generated when compiling for gfx906. In file included from EddyUtils.cpp:30: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ 5 warnings generated when compiling for gfx926. ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ 11 warnings generated when compiling for gfx926. ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from cuda/EddyGpuUtils.cpp:31: In file included from cuda/EddyInternalGpuUtils.h:22: cuda/CudaVolume.h:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/CudaVolume.h:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/CudaVolume.h:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 7 warnings generated when compiling for gfx926. cuda/DiffusionGP.cpp:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from cuda/CudaVolume.cpp:36: cuda/CudaVolume.h:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/CudaVolume.h:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/CudaVolume.h:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ cuda/GpuPredictorChunk.cpp:49:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result] hipFree(skrutt); ^~~~~~~ ~~~~~~ In file included from cuda/EddyGpuUtils.cpp:31: cuda/EddyInternalGpuUtils.h:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from MoveBySuscCF.cpp:30: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from fmriPredictor.cpp:25: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ 11 warnings generated when compiling for gfx928. In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from EddyUtils.cpp:30: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:6: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from fmriPredictor.cpp:25: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ 11 warnings generated when compiling for gfx906. cuda/EddyCudaHelperFunctions.cpp:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyCudaHelperFunctions.cpp:7:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ 1 warning generated when compiling for gfx906. 7 warnings generated when compiling for gfx926. In file included from EddyUtils.cpp:30: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ 11 warnings generated when compiling for gfx926. ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from EddyCommandLineOptions.cpp:80: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from LongECModels.cpp:26: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ 11 warnings generated when compiling for gfx928. 19 warnings generated when compiling for gfx926. cuda/DerivativeCalculator.cpp:38:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from cuda/EddyGpuUtils.cpp:31: cuda/EddyInternalGpuUtils.h:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 11 warnings generated when compiling for gfx928. In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ 21 warnings generated when compiling for gfx928. 7 warnings generated when compiling for gfx928. fmriPredictor.cpp:129:26: warning: variable 'i' is uninitialized when used here [-Wuninitialized] for (unsigned int i; i<_slist.size(); i++) _Kmats[i]->Reset(); ^ fmriPredictor.cpp:129:24: note: initialize the variable 'i' to silence this warning for (unsigned int i; i<_slist.size(); i++) _Kmats[i]->Reset(); ^ = 0 In file included from MoveBySuscCF.cpp:30: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyUtils.h:332:63: warning: 'setinterpolationmethod' is deprecated: Calling setinterpolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getinterpolationmethod() != NEWIMAGE::spline) vol.setinterpolationmethod(NEWIMAGE::spline); ^ PostEddyAlignShellsFunctions.cpp:258:14: note: in instantiation of function template specialization 'EDDY::EddyUtils::SetSplineInterp>' requested here EddyUtils::SetSplineInterp(ima); ^ /workspace/FSL-install/include/newimage/newimage.h:855:7: note: 'setinterpolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setinterpolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:333:40: warning: 'setsplineorder' is deprecated: Calling setsplineorder on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getsplineorder() != 3) vol.setsplineorder(3); ^ /workspace/FSL-install/include/newimage/newimage.h:863:7: note: 'setsplineorder' has been explicitly marked deprecated here [[deprecated("Calling setsplineorder on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:334:63: warning: 'setextrapolationmethod' is deprecated: Calling setextrapolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /workspace/FSL-install/include/newimage/newimage.h:851:7: note: 'setextrapolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setextrapolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:327:66: warning: 'setinterpolationmethod' is deprecated: Calling setinterpolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getinterpolationmethod() != NEWIMAGE::trilinear) vol.setinterpolationmethod(NEWIMAGE::trilinear); ^ PostEddyAlignShellsFunctions.cpp:259:14: note: in instantiation of function template specialization 'EDDY::EddyUtils::SetTrilinearInterp>' requested here EddyUtils::SetTrilinearInterp(mask); ^ /workspace/FSL-install/include/newimage/newimage.h:855:7: note: 'setinterpolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setinterpolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:328:63: warning: 'setextrapolationmethod' is deprecated: Calling setextrapolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /workspace/FSL-install/include/newimage/newimage.h:851:7: note: 'setextrapolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setextrapolationmethod on a const volume is not thread safe!")]] ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ cuda/EddyKernels.cpp:11:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ cuda/EddyKernels.cpp:270:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((epvx || xcoord[id]>0 && xcoord[id]0 && xcoord[id]0 && ycoord[id]0 && ycoord[id]0 && zcoord[id]0 && zcoord[id]::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1117:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new NoLongECModel()); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::NoLongECModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1117:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new NoLongECModel()); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::IndividualWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1120:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::IndividualWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1120:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::JointWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1123:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::JointWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1123:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::IndividualTimeConstantsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1126:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualTimeConstantsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::IndividualTimeConstantsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1126:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualTimeConstantsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::JointTimeConstantModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1129:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointTimeConstantModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::JointTimeConstantModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1129:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointTimeConstantModel(*this)); ^ 4 warnings generated when compiling for gfx926. In file included from LongECModels.cpp:28: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from EddyHelperClasses.cpp:22: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from EddyHelperClasses.cpp:22: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ cuda/CudaVolume.cpp:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::NoLongECModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1117:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new NoLongECModel()); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::NoLongECModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1117:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new NoLongECModel()); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::IndividualWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1120:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::IndividualWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1120:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::JointWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1123:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::JointWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1123:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::IndividualTimeConstantsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1126:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualTimeConstantsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::IndividualTimeConstantsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1126:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualTimeConstantsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::JointTimeConstantModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1129:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointTimeConstantModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::JointTimeConstantModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1129:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointTimeConstantModel(*this)); ^ In file included from EddyHelperClasses.cpp:22: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from fmriPredictor.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ 11 warnings generated when compiling for gfx928. In file included from HyParEstimator.cpp:25: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from MoveBySuscCF.cpp:30: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from DiffusionGP.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from EddyHelperClasses.cpp:22: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyUtils.h:332:63: warning: 'setinterpolationmethod' is deprecated: Calling setinterpolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getinterpolationmethod() != NEWIMAGE::spline) vol.setinterpolationmethod(NEWIMAGE::spline); ^ PostEddyAlignShellsFunctions.cpp:258:14: note: in instantiation of function template specialization 'EDDY::EddyUtils::SetSplineInterp>' requested here EddyUtils::SetSplineInterp(ima); ^ /workspace/FSL-install/include/newimage/newimage.h:855:7: note: 'setinterpolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setinterpolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:333:40: warning: 'setsplineorder' is deprecated: Calling setsplineorder on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getsplineorder() != 3) vol.setsplineorder(3); ^ /workspace/FSL-install/include/newimage/newimage.h:863:7: note: 'setsplineorder' has been explicitly marked deprecated here [[deprecated("Calling setsplineorder on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:334:63: warning: 'setextrapolationmethod' is deprecated: Calling setextrapolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /workspace/FSL-install/include/newimage/newimage.h:851:7: note: 'setextrapolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setextrapolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:327:66: warning: 'setinterpolationmethod' is deprecated: Calling setinterpolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getinterpolationmethod() != NEWIMAGE::trilinear) vol.setinterpolationmethod(NEWIMAGE::trilinear); ^ PostEddyAlignShellsFunctions.cpp:259:14: note: in instantiation of function template specialization 'EDDY::EddyUtils::SetTrilinearInterp>' requested here EddyUtils::SetTrilinearInterp(mask); ^ /workspace/FSL-install/include/newimage/newimage.h:855:7: note: 'setinterpolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setinterpolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:328:63: warning: 'setextrapolationmethod' is deprecated: Calling setextrapolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /workspace/FSL-install/include/newimage/newimage.h:851:7: note: 'setextrapolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setextrapolationmethod on a const volume is not thread safe!")]] ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::NoLongECModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1117:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new NoLongECModel()); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::NoLongECModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1117:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new NoLongECModel()); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::IndividualWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1120:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::IndividualWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1120:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::JointWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1123:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::JointWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1123:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::IndividualTimeConstantsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1126:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualTimeConstantsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::IndividualTimeConstantsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1126:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualTimeConstantsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::JointTimeConstantModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1129:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointTimeConstantModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::JointTimeConstantModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1129:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointTimeConstantModel(*this)); ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from EddyHelperClasses.cpp:22: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./EddyUtils.h:332:63: warning: 'setinterpolationmethod' is deprecated: Calling setinterpolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getinterpolationmethod() != NEWIMAGE::spline) vol.setinterpolationmethod(NEWIMAGE::spline); ^ PostEddyAlignShellsFunctions.cpp:258:14: note: in instantiation of function template specialization 'EDDY::EddyUtils::SetSplineInterp>' requested here EddyUtils::SetSplineInterp(ima); ^ /workspace/FSL-install/include/newimage/newimage.h:855:7: note: 'setinterpolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setinterpolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:333:40: warning: 'setsplineorder' is deprecated: Calling setsplineorder on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getsplineorder() != 3) vol.setsplineorder(3); ^ /workspace/FSL-install/include/newimage/newimage.h:863:7: note: 'setsplineorder' has been explicitly marked deprecated here [[deprecated("Calling setsplineorder on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:334:63: warning: 'setextrapolationmethod' is deprecated: Calling setextrapolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /workspace/FSL-install/include/newimage/newimage.h:851:7: note: 'setextrapolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setextrapolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:327:66: warning: 'setinterpolationmethod' is deprecated: Calling setinterpolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getinterpolationmethod() != NEWIMAGE::trilinear) vol.setinterpolationmethod(NEWIMAGE::trilinear); ^ PostEddyAlignShellsFunctions.cpp:259:14: note: in instantiation of function template specialization 'EDDY::EddyUtils::SetTrilinearInterp>' requested here EddyUtils::SetTrilinearInterp(mask); ^ /workspace/FSL-install/include/newimage/newimage.h:855:7: note: 'setinterpolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setinterpolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:328:63: warning: 'setextrapolationmethod' is deprecated: Calling setextrapolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /workspace/FSL-install/include/newimage/newimage.h:851:7: note: 'setextrapolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setextrapolationmethod on a const volume is not thread safe!")]] ^ cuda/EddyKernels.cpp:8:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyKernels.cpp:9:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ 11 warnings generated when compiling for gfx926. In file included from cuda/CudaVolume.cpp:36: cuda/CudaVolume.h:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/CudaVolume.h:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/CudaVolume.h:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ cuda/GpuPredictorChunk.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/GpuPredictorChunk.cpp:22:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ 16 warnings generated when compiling for gfx926. ./EddyUtils.h:332:63: warning: 'setinterpolationmethod' is deprecated: Calling setinterpolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getinterpolationmethod() != NEWIMAGE::spline) vol.setinterpolationmethod(NEWIMAGE::spline); ^ PostEddyAlignShellsFunctions.cpp:258:14: note: in instantiation of function template specialization 'EDDY::EddyUtils::SetSplineInterp>' requested here EddyUtils::SetSplineInterp(ima); ^ /workspace/FSL-install/include/newimage/newimage.h:855:7: note: 'setinterpolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setinterpolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:333:40: warning: 'setsplineorder' is deprecated: Calling setsplineorder on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getsplineorder() != 3) vol.setsplineorder(3); ^ /workspace/FSL-install/include/newimage/newimage.h:863:7: note: 'setsplineorder' has been explicitly marked deprecated here [[deprecated("Calling setsplineorder on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:334:63: warning: 'setextrapolationmethod' is deprecated: Calling setextrapolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /workspace/FSL-install/include/newimage/newimage.h:851:7: note: 'setextrapolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setextrapolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:327:66: warning: 'setinterpolationmethod' is deprecated: Calling setinterpolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getinterpolationmethod() != NEWIMAGE::trilinear) vol.setinterpolationmethod(NEWIMAGE::trilinear); ^ PostEddyAlignShellsFunctions.cpp:259:14: note: in instantiation of function template specialization 'EDDY::EddyUtils::SetTrilinearInterp>' requested here EddyUtils::SetTrilinearInterp(mask); ^ /workspace/FSL-install/include/newimage/newimage.h:855:7: note: 'setinterpolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setinterpolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:328:63: warning: 'setextrapolationmethod' is deprecated: Calling setextrapolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /workspace/FSL-install/include/newimage/newimage.h:851:7: note: 'setextrapolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setextrapolationmethod on a const volume is not thread safe!")]] ^ In file included from EddyHelperClasses.cpp:22: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from MoveBySuscCF.cpp:30: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from MoveBySuscCF.cpp:30: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./EddyUtils.h:332:63: warning: 'setinterpolationmethod' is deprecated: Calling setinterpolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getinterpolationmethod() != NEWIMAGE::spline) vol.setinterpolationmethod(NEWIMAGE::spline); ^ PostEddyAlignShellsFunctions.cpp:258:14: note: in instantiation of function template specialization 'EDDY::EddyUtils::SetSplineInterp>' requested here EddyUtils::SetSplineInterp(ima); ^ /workspace/FSL-install/include/newimage/newimage.h:855:7: note: 'setinterpolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setinterpolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:333:40: warning: 'setsplineorder' is deprecated: Calling setsplineorder on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getsplineorder() != 3) vol.setsplineorder(3); ^ /workspace/FSL-install/include/newimage/newimage.h:863:7: note: 'setsplineorder' has been explicitly marked deprecated here [[deprecated("Calling setsplineorder on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:334:63: warning: 'setextrapolationmethod' is deprecated: Calling setextrapolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /workspace/FSL-install/include/newimage/newimage.h:851:7: note: 'setextrapolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setextrapolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:327:66: warning: 'setinterpolationmethod' is deprecated: Calling setinterpolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getinterpolationmethod() != NEWIMAGE::trilinear) vol.setinterpolationmethod(NEWIMAGE::trilinear); ^ PostEddyAlignShellsFunctions.cpp:259:14: note: in instantiation of function template specialization 'EDDY::EddyUtils::SetTrilinearInterp>' requested here EddyUtils::SetTrilinearInterp(mask); ^ /workspace/FSL-install/include/newimage/newimage.h:855:7: note: 'setinterpolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setinterpolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:328:63: warning: 'setextrapolationmethod' is deprecated: Calling setextrapolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /workspace/FSL-install/include/newimage/newimage.h:851:7: note: 'setextrapolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setextrapolationmethod on a const volume is not thread safe!")]] ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::NoLongECModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1117:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new NoLongECModel()); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::NoLongECModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1117:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new NoLongECModel()); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::IndividualWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1120:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::IndividualWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1120:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::JointWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1123:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::JointWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1123:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::IndividualTimeConstantsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1126:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualTimeConstantsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::IndividualTimeConstantsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1126:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualTimeConstantsModel(*this)); ^ 16 warnings generated when compiling for gfx928. In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::JointTimeConstantModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1129:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointTimeConstantModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::JointTimeConstantModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1129:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointTimeConstantModel(*this)); ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ 6 warnings generated when compiling for gfx906. In file included from KMatrix.cpp:23: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from BiasFieldEstimatorImpl.cpp:31: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from MoveBySuscCF.cpp:30: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ 21 warnings generated when compiling for gfx906. In file included from CPUStackResampler.cpp:16: In file included from ./CPUStackResampler.h:22: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ 12 warnings generated when compiling for gfx906. In file included from fmriPredictor.cpp:25: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from EddyHelperClasses.cpp:22: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ 16 warnings generated when compiling for gfx906. ./EddyUtils.h:332:63: warning: 'setinterpolationmethod' is deprecated: Calling setinterpolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getinterpolationmethod() != NEWIMAGE::spline) vol.setinterpolationmethod(NEWIMAGE::spline); ^ PostEddyAlignShellsFunctions.cpp:258:14: note: in instantiation of function template specialization 'EDDY::EddyUtils::SetSplineInterp>' requested here EddyUtils::SetSplineInterp(ima); ^ /workspace/FSL-install/include/newimage/newimage.h:855:7: note: 'setinterpolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setinterpolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:333:40: warning: 'setsplineorder' is deprecated: Calling setsplineorder on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getsplineorder() != 3) vol.setsplineorder(3); ^ /workspace/FSL-install/include/newimage/newimage.h:863:7: note: 'setsplineorder' has been explicitly marked deprecated here [[deprecated("Calling setsplineorder on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:334:63: warning: 'setextrapolationmethod' is deprecated: Calling setextrapolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /workspace/FSL-install/include/newimage/newimage.h:851:7: note: 'setextrapolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setextrapolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:327:66: warning: 'setinterpolationmethod' is deprecated: Calling setinterpolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getinterpolationmethod() != NEWIMAGE::trilinear) vol.setinterpolationmethod(NEWIMAGE::trilinear); ^ PostEddyAlignShellsFunctions.cpp:259:14: note: in instantiation of function template specialization 'EDDY::EddyUtils::SetTrilinearInterp>' requested here EddyUtils::SetTrilinearInterp(mask); ^ /workspace/FSL-install/include/newimage/newimage.h:855:7: note: 'setinterpolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setinterpolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:328:63: warning: 'setextrapolationmethod' is deprecated: Calling setextrapolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /workspace/FSL-install/include/newimage/newimage.h:851:7: note: 'setextrapolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setextrapolationmethod on a const volume is not thread safe!")]] ^ In file included from MoveBySuscCF.cpp:30: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from HyParEstimator.cpp:26: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ 16 warnings generated when compiling for gfx906. In file included from DiffusionGP.cpp:25: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ 11 warnings generated when compiling for gfx928. In file included from EddyHelperClasses.cpp:22: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ 11 warnings generated when compiling for gfx928. In file included from ECModels.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from MoveBySuscCF.cpp:30: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from b0Predictor.cpp:18: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ MoveBySuscCF.cpp:60:51: warning: void function is missing a return statement [-Wreturn-type] void SetLambda(double lambda) { _lmbd = lambda; } ^ 24 warnings generated when compiling for gfx926. MoveBySuscCF.cpp:66:53: warning: void function is missing a return statement [-Wreturn-type] void ResetCache() { _utd = false; _m_utd = false; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ 10 warnings generated when compiling for gfx906. 4 warnings generated when compiling for gfx928. In file included from fmriPredictor.cpp:25: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from HyParEstimator.cpp:26: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from DiffusionGP.cpp:25: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ 16 warnings generated when compiling for gfx926. 24 warnings generated when compiling for gfx928. In file included from cuda/StackResampler.cpp:37: cuda/CudaVolume.h:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/CudaVolume.h:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/CudaVolume.h:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from fmriPredictor.cpp:25: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from KMatrix.cpp:24: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ 19 warnings generated when compiling for gfx906. In file included from BiasFieldEstimatorImpl.cpp:32: In file included from ./BiasFieldEstimator.h:25: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from HyParEstimator.cpp:26: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from DiffusionGP.cpp:25: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ MoveBySuscCF.cpp:60:51: warning: void function is missing a return statement [-Wreturn-type] void SetLambda(double lambda) { _lmbd = lambda; } ^ MoveBySuscCF.cpp:66:53: warning: void function is missing a return statement [-Wreturn-type] void ResetCache() { _utd = false; _m_utd = false; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ cuda/StackResampler.cpp:38:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from cuda/StackResampler.cpp:40: cuda/StackResampler.h:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/StackResampler.h:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/StackResampler.h:32:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ 4 warnings generated when compiling for gfx906. 11 warnings generated when compiling for gfx926. BiasFieldEstimatorImpl.cpp:104:3: warning: void function is missing a return statement [-Wreturn-type] } ^ 6 warnings generated when compiling for gfx926. BiasFieldEstimatorImpl.cpp:216:14: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] static int cnt = 0; ^ 24 warnings generated when compiling for gfx906. 10 warnings generated when compiling for gfx928. cuda/StackResampler.cpp:564:16: warning: unused variable 'ys' [-Wunused-variable] unsigned int ys = z.Size(1); ^ In file included from CPUStackResampler.cpp:16: In file included from ./CPUStackResampler.h:22: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from EddyCommandLineOptions.cpp:80: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from KMatrix.cpp:24: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from BiasFieldEstimatorImpl.cpp:31: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from b0Predictor.cpp:19: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from KMatrix.cpp:24: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ fmriPredictor.cpp:129:26: warning: variable 'i' is uninitialized when used here [-Wuninitialized] for (unsigned int i; i<_slist.size(); i++) _Kmats[i]->Reset(); ^ fmriPredictor.cpp:129:24: note: initialize the variable 'i' to silence this warning for (unsigned int i; i<_slist.size(); i++) _Kmats[i]->Reset(); ^ = 0 ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::NoLongECModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1117:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new NoLongECModel()); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::NoLongECModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1117:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new NoLongECModel()); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::IndividualWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1120:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::IndividualWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1120:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::JointWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1123:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::JointWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1123:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::IndividualTimeConstantsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1126:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualTimeConstantsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::IndividualTimeConstantsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1126:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualTimeConstantsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::JointTimeConstantModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1129:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointTimeConstantModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::JointTimeConstantModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1129:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointTimeConstantModel(*this)); ^ 11 warnings generated when compiling for gfx906. ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from LongECModels.cpp:26: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ 4 warnings generated when compiling for gfx926. In file included from b0Predictor.cpp:19: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from PostEddyCF.cpp:25: In file included from ./EddyUtils.h:26: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ 10 warnings generated when compiling for gfx926. 4 warnings generated when compiling for gfx926. 6 warnings generated when compiling for gfx928. 4 warnings generated when compiling for gfx906. In file included from b0Predictor.cpp:19: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ 4 warnings generated when compiling for gfx928. cuda/DiffusionGP.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/DiffusionGP.cpp:22:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/DiffusionGP.cpp:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ 11 warnings generated when compiling for gfx928. 1 warning generated when compiling for gfx936. In file included from EddyCommandLineOptions.cpp:81: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from BiasFieldEstimatorImpl.cpp:32: In file included from ./BiasFieldEstimator.h:25: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ 4 warnings generated when compiling for gfx928. In file included from cuda/DerivativeCalculator.cpp:46: cuda/DerivativeCalculator.h:95:30: warning: private field '_fwhm' is not used [-Wunused-private-field] float _fwhm; /// FWHM of optional smoothing of derivative images ^ cuda/DerivativeCalculator.h:96:30: warning: private field '_whichp' is not used [-Wunused-private-field] ParametersType _whichp; /// Specifies whis parameters to calculate derivatives for ^ In file included from ECModels.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ 13 warnings generated when compiling for gfx906. ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from cuda/StackResampler.cpp:37: cuda/CudaVolume.h:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/CudaVolume.h:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/CudaVolume.h:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ cuda/PostEddyCF.cpp:16:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/PostEddyCF.cpp:17:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/PostEddyCF.cpp:18:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ 11 warnings generated when compiling for gfx928. BiasFieldEstimatorImpl.cpp:104:3: warning: void function is missing a return statement [-Wreturn-type] } ^ In file included from HyParEstimator.cpp:25: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ BiasFieldEstimatorImpl.cpp:216:14: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] static int cnt = 0; ^ 11 warnings generated when compiling for gfx906. In file included from LongECModels.cpp:28: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from cuda/StackResampler.cpp:37: cuda/CudaVolume.h:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/CudaVolume.h:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/CudaVolume.h:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from EddyCommandLineOptions.cpp:81: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from cuda/DerivativeCalculator.cpp:46: cuda/DerivativeCalculator.h:95:30: warning: private field '_fwhm' is not used [-Wunused-private-field] float _fwhm; /// FWHM of optional smoothing of derivative images ^ cuda/DerivativeCalculator.h:96:30: warning: private field '_whichp' is not used [-Wunused-private-field] ParametersType _whichp; /// Specifies whis parameters to calculate derivatives for ^ cuda/StackResampler.cpp:38:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from cuda/StackResampler.cpp:40: cuda/StackResampler.h:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/StackResampler.h:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/StackResampler.h:32:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ cuda/EddyGpuUtils.cpp:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyGpuUtils.cpp:24:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/EddyGpuUtils.cpp:25:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from EddyCommandLineOptions.cpp:81: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from cuda/DerivativeCalculator.cpp:46: cuda/DerivativeCalculator.h:95:30: warning: private field '_fwhm' is not used [-Wunused-private-field] float _fwhm; /// FWHM of optional smoothing of derivative images ^ cuda/DerivativeCalculator.h:96:30: warning: private field '_whichp' is not used [-Wunused-private-field] ParametersType _whichp; /// Specifies whis parameters to calculate derivatives for ^ In file included from PostEddyCF.cpp:25: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ 21 warnings generated when compiling for gfx926. ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ cuda/StackResampler.cpp:38:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from cuda/StackResampler.cpp:40: cuda/StackResampler.h:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/StackResampler.h:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/StackResampler.h:32:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from KMatrix.cpp:23: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ cuda/StackResampler.cpp:564:16: warning: unused variable 'ys' [-Wunused-variable] unsigned int ys = z.Size(1); ^ cuda/EddyCudaHelperFunctions.cpp:9:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ cuda/EddyCudaHelperFunctions.cpp:44:5: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result] hipFree(q); ^~~~~~~ ~ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ 1 warning generated when compiling for gfx936. cuda/StackResampler.cpp:564:16: warning: unused variable 'ys' [-Wunused-variable] unsigned int ys = z.Size(1); ^ In file included from b0Predictor.cpp:18: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ 6 warnings generated when compiling for gfx926. In file included from PostEddyCF.cpp:25: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ 5 warnings generated when compiling for gfx906. ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from MoveBySuscCF.cpp:27: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from PostEddyCF.cpp:25: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from HyParEstimator.cpp:26: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from EddyHelperClasses.cpp:21: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ 6 warnings generated when compiling for gfx906. In file included from LSResampler.cpp:29: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ 4 warnings generated when compiling for gfx926. 6 warnings generated when compiling for gfx928. ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ 117 warning warningss generated generated when compiling for when compiling for gfx936gfx936. . 12 warnings generated when compiling for gfx936. 11 warnings generated when compiling for gfx936. 6 warnings generated when compiling for gfx906. In file included from KMatrix.cpp:24: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ 1 warning generated when compiling for gfx936. In file included from HyParEstimator.cpp:26: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ 11 warnings generated when compiling for gfx936. In file included from HyParEstimator.cpp:26: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from b0Predictor.cpp:19: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ 11 warnings generated when compiling for gfx936. In file included from LongECModels.cpp:26: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from DiffusionGP.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from KMatrix.cpp:24: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ 4 warnings generated when compiling for gfx906. ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from LSResampler.cpp:30: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ 4 warnings generated when compiling for gfx936. In file included from fmriPredictor.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from KMatrix.cpp:24: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ 4 warnings generated when compiling for gfx906. ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ 10 warnings generated when compiling for gfx928. In file included from EddyHelperClasses.cpp:22: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ cuda/EddyInternalGpuUtils.cpp:33:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyInternalGpuUtils.cpp:34:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/EddyInternalGpuUtils.cpp:35:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ In file included from b0Predictor.cpp:19: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ 13 warnings generated when compiling for gfx928. ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ 11 warnings generated when compiling for gfx926. In file included from MoveBySuscCF.cpp:30: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from b0Predictor.cpp:19: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ cuda/fmriPredictor.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/fmriPredictor.cpp:22:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/fmriPredictor.cpp:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from LSResampler.cpp:30: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ 6 warnings generated when compiling for gfx928. ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from EddyCommandLineOptions.cpp:80: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ 11 warnings generated when compiling for gfx906. ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ 13 warnings generated when compiling for gfx926. In file included from LSResampler.cpp:30: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ cuda/GpuPredictorChunk.cpp:24:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 7 warnings generated when compiling for gfx936. 4 warnings generated when compiling for gfx928. In file included from EddyUtils.cpp:29: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from LongECModels.cpp:28: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from DiffusionGP.cpp:25: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from EddyHelperClasses.cpp:22: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from MoveBySuscCF.cpp:30: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ 11 warnings generated when compiling for gfx936. In file included from eddy.cpp:23: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from EddyHelperClasses.cpp:22: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ 1 warning generated when compiling for gfx936. In file included from fmriPredictor.cpp:25: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from MoveBySuscCF.cpp:30: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ MoveBySuscCF.cpp:60:51: warning: void function is missing a return statement [-Wreturn-type] void SetLambda(double lambda) { _lmbd = lambda; } ^ MoveBySuscCF.cpp:66:53: warning: void function is missing a return statement [-Wreturn-type] void ResetCache() { _utd = false; _m_utd = false; } ^ In file included from PostEddyAlignShellsFunctions.cpp:16: In file included from ./EddyCommandLineOptions.h:7: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from DiffusionGP.cpp:25: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from DiffusionGP.cpp:25: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ 11 warnings generated when compiling for gfx928. cuda/EddyKernels.cpp:11:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ cuda/EddyKernels.cpp:270:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((epvx || xcoord[id]>0 && xcoord[id]0 && xcoord[id]0 && ycoord[id]0 && ycoord[id]0 && zcoord[id]0 && zcoord[id]Reset(); ^ fmriPredictor.cpp:129:24: note: initialize the variable 'i' to silence this warning for (unsigned int i; i<_slist.size(); i++) _Kmats[i]->Reset(); ^ = 0 ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ 11 warnings generated when compiling for gfx936. 11 warnings generated when compiling for gfx936. In file included from PostEddyAlignShellsFunctions.cpp:16: In file included from ./EddyCommandLineOptions.h:7: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from EddyUtils.cpp:29: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ 11 warnings generated when compiling for gfx936. In file included from eddy.cpp:28: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from ECScanClasses.cpp:29: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ cuda/DiffusionGP.cpp:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from eddy.cpp:28: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ 6 warnings generated when compiling for gfx926. ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ cuda/DerivativeCalculator.cpp:32:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/DerivativeCalculator.cpp:33:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/DerivativeCalculator.cpp:34:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ cuda/PostEddyCF.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from PostEddyAlignShellsFunctions.cpp:16: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from ECScanClasses.cpp:29: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from ECScanClasses.cpp:29: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ cuda/EddyGpuUtils.cpp:28:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from cuda/EddyGpuUtils.cpp:31: cuda/EddyInternalGpuUtils.h:20:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyInternalGpuUtils.h:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ In file included from EddyUtils.cpp:30: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ cuda/CudaVolume.cpp:20:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/CudaVolume.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:6: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from CPUStackResampler.cpp:16: In file included from ./CPUStackResampler.h:22: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from EddyUtils.cpp:30: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from ECScanClasses.cpp:28: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ 19 warnings generated when compiling for gfx936. In file included from eddy.cpp:23: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ 4 warnings generated when compiling for gfx936. ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from EddyUtils.cpp:30: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ 11 warnings generated when compiling for gfx936. 11 warnings generated when compiling for gfx936. In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ 5 warnings generated when compiling for gfx936. 12 warnings generated when compiling for gfx936. cuda/StackResampler.cpp:32:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/StackResampler.cpp:33:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ 13 warnings generated when compiling for gfx936. In file included from MoveBySuscCF.cpp:27: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from ECScanClasses.cpp:29: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from eddy.cpp:24: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./EddyUtils.h:332:63: warning: 'setinterpolationmethod' is deprecated: Calling setinterpolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getinterpolationmethod() != NEWIMAGE::spline) vol.setinterpolationmethod(NEWIMAGE::spline); ^ PostEddyAlignShellsFunctions.cpp:258:14: note: in instantiation of function template specialization 'EDDY::EddyUtils::SetSplineInterp>' requested here EddyUtils::SetSplineInterp(ima); ^ /workspace/FSL-install/include/newimage/newimage.h:855:7: note: 'setinterpolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setinterpolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:333:40: warning: 'setsplineorder' is deprecated: Calling setsplineorder on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getsplineorder() != 3) vol.setsplineorder(3); ^ /workspace/FSL-install/include/newimage/newimage.h:863:7: note: 'setsplineorder' has been explicitly marked deprecated here [[deprecated("Calling setsplineorder on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:334:63: warning: 'setextrapolationmethod' is deprecated: Calling setextrapolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /workspace/FSL-install/include/newimage/newimage.h:851:7: note: 'setextrapolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setextrapolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:327:66: warning: 'setinterpolationmethod' is deprecated: Calling setinterpolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getinterpolationmethod() != NEWIMAGE::trilinear) vol.setinterpolationmethod(NEWIMAGE::trilinear); ^ PostEddyAlignShellsFunctions.cpp:259:14: note: in instantiation of function template specialization 'EDDY::EddyUtils::SetTrilinearInterp>' requested here EddyUtils::SetTrilinearInterp(mask); ^ /workspace/FSL-install/include/newimage/newimage.h:855:7: note: 'setinterpolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setinterpolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:328:63: warning: 'setextrapolationmethod' is deprecated: Calling setextrapolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /workspace/FSL-install/include/newimage/newimage.h:851:7: note: 'setextrapolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setextrapolationmethod on a const volume is not thread safe!")]] ^ cuda/EddyInternalGpuUtils.cpp:39:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from ECScanClasses.cpp:29: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from ECModels.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ cuda/fmriPredictor.cpp:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from ECScanClasses.cpp:29: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from fmriPredictor.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ 16 warnings generated when compiling for gfx936. In file included from HyParEstimator.cpp:25: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ cuda/GpuPredictorChunk.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/GpuPredictorChunk.cpp:22:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ In file included from CPUStackResampler.cpp:16: In file included from ./CPUStackResampler.h:22: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ cuda/EddyKernels.cpp:8:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyKernels.cpp:9:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ In file included from b0Predictor.cpp:18: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from DiffusionGP.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from eddy.cpp:28: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from BiasFieldEstimatorImpl.cpp:31: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from MoveBySuscCF.cpp:30: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ 11 warnings generated when compiling for gfx936. In file included from cuda/EddyGpuUtils.cpp:31: In file included from cuda/EddyInternalGpuUtils.h:22: cuda/CudaVolume.h:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/CudaVolume.h:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/CudaVolume.h:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from eddy.cpp:28: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ 11 warnings generated when compiling for gfx936. ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from KMatrix.cpp:23: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from fmriPredictor.cpp:25: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from MoveBySuscCF.cpp:30: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from HyParEstimator.cpp:26: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from MoveBySuscCF.cpp:30: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from b0Predictor.cpp:19: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from cuda/EddyGpuUtils.cpp:31: cuda/EddyInternalGpuUtils.h:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type]In file included from fmriPredictor.cpp:25: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from DiffusionGP.cpp:25: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from BiasFieldEstimatorImpl.cpp:32: In file included from ./BiasFieldEstimator.h:25: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ 1 warning generated when compiling for host. In file included from fmriPredictor.cpp:25: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from HyParEstimator.cpp:26: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ MoveBySuscCF.cpp:60:51: warning: void function is missing a return statement [-Wreturn-type] void SetLambda(double lambda) { _lmbd = lambda; } ^ MoveBySuscCF.cpp:66:53: warning: void function is missing a return statement [-Wreturn-type] void ResetCache() { _utd = false; _m_utd = false; } ^ ./EddyUtils.h:332:63: warning: 'setinterpolationmethod' is deprecated: Calling setinterpolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getinterpolationmethod() != NEWIMAGE::spline) vol.setinterpolationmethod(NEWIMAGE::spline); ^ PostEddyAlignShellsFunctions.cpp:258:14: note: in instantiation of function template specialization 'EDDY::EddyUtils::SetSplineInterp>' requested here EddyUtils::SetSplineInterp(ima); ^ /workspace/FSL-install/include/newimage/newimage.h:855:7: note: 'setinterpolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setinterpolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:333:40: warning: 'setsplineorder' is deprecated: Calling setsplineorder on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getsplineorder() != 3) vol.setsplineorder(3); ^ /workspace/FSL-install/include/newimage/newimage.h:863:7: note: 'setsplineorder' has been explicitly marked deprecated here [[deprecated("Calling setsplineorder on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:334:63: warning: 'setextrapolationmethod' is deprecated: Calling setextrapolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /workspace/FSL-install/include/newimage/newimage.h:851:7: note: 'setextrapolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setextrapolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:327:66: warning: 'setinterpolationmethod' is deprecated: Calling setinterpolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getinterpolationmethod() != NEWIMAGE::trilinear) vol.setinterpolationmethod(NEWIMAGE::trilinear); ^ PostEddyAlignShellsFunctions.cpp:259:14: note: in instantiation of function template specialization 'EDDY::EddyUtils::SetTrilinearInterp>' requested here EddyUtils::SetTrilinearInterp(mask); ^ /workspace/FSL-install/include/newimage/newimage.h:855:7: note: 'setinterpolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setinterpolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:328:63: warning: 'setextrapolationmethod' is deprecated: Calling setextrapolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /workspace/FSL-install/include/newimage/newimage.h:851:7: note: 'setextrapolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setextrapolationmethod on a const volume is not thread safe!")]] ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ BiasFieldEstimatorImpl.cpp:104:3: warning: void function is missing a return statement [-Wreturn-type] } ^ In file included from HyParEstimator.cpp:26: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ cuda/LSResampler.cpp:35:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from b0Predictor.cpp:19: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ BiasFieldEstimatorImpl.cpp:216:14: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] static int cnt = 0; ^ In file included from KMatrix.cpp:24: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from BiasFieldEstimatorImpl.cpp:31: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ cuda/EddyCudaHelperFunctions.cpp:9:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ cuda/EddyCudaHelperFunctions.cpp:44:5: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result] hipFree(q); ^~~~~~~ ~ In file included from DiffusionGP.cpp:25: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from b0Predictor.cpp:19: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ 16 warnings generated when compiling for gfx936. In file included from EddyHelperClasses.cpp:21: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from DiffusionGP.cpp:25: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ fmriPredictor.cpp:129:26: warning: variable 'i' is uninitialized when used here [-Wuninitialized] for (unsigned int i; i<_slist.size(); i++) _Kmats[i]->Reset(); ^ fmriPredictor.cpp:129:24: note: initialize the variable 'i' to silence this warning for (unsigned int i; i<_slist.size(); i++) _Kmats[i]->Reset(); ^ = 0 In file included from EddyCommandLineOptions.cpp:80: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from KMatrix.cpp:24: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from KMatrix.cpp:24: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ cuda/EddyInternalGpuUtils.cpp:515:10: warning: unused variable 'total_key' [-Wunused-variable] double total_key = prof.StartEntry("Total"); ^ In file included from ECModels.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ cuda/EddyInternalGpuUtils.cpp:684:32: warning: variable 'mean_masksum' set but not used [-Wunused-but-set-variable] double mean_masksum = 0.0; ^ ECScanClasses.cpp:2282:16: warning: unused variable 'lnthreads' [-Wunused-variable] unsigned int lnthreads = std::min(nthreads,NScans(st)); // In case we are writing very few volumes ^ ECScanClasses.cpp:2333:16: warning: unused variable 'lnthreads' [-Wunused-variable] unsigned int lnthreads = std::min(nthreads,NScans(st)); // In case we are writing very few volumes ^ ECScanClasses.cpp:2427:16: warning: unused variable 'lnthreads' [-Wunused-variable] unsigned int lnthreads = std::min(nthreads,NLSRPairs(st)); // In case we are writing very few pairs ^ 11 warnings generated when compiling for gfx936. 11 warnings generated when compiling for gfx936. In file included from BiasFieldEstimatorImpl.cpp:32: In file included from ./BiasFieldEstimator.h:25: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ cuda/DerivativeCalculator.cpp:38:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from EddyHelperClasses.cpp:22: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ BiasFieldEstimatorImpl.cpp:104:3: warning: void function is missing a return statement [-Wreturn-type] } ^ 4 warnings generated when compiling for host. In file included from EddyCommandLineOptions.cpp:81: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ BiasFieldEstimatorImpl.cpp:216:14: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] static int cnt = 0; ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from PostEddyCF.cpp:25: In file included from ./EddyUtils.h:26: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::NoLongECModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1117:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new NoLongECModel()); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::NoLongECModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1117:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new NoLongECModel()); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::IndividualWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1120:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualWeightsModel(*this)); ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::IndividualWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1120:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::JointWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1123:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::JointWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1123:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointWeightsModel(*this)); ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::IndividualTimeConstantsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1126:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualTimeConstantsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::IndividualTimeConstantsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1126:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualTimeConstantsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::JointTimeConstantModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1129:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointTimeConstantModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::JointTimeConstantModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1129:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointTimeConstantModel(*this)); ^ 1 warning generated when compiling for host. In file included from EddyHelperClasses.cpp:22: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from b0Predictor.cpp:18: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from HyParEstimator.cpp:25: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from EddyCommandLineOptions.cpp:81: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from EddyHelperClasses.cpp:22: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from EddyCommandLineOptions.cpp:81: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from KMatrix.cpp:23: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ cuda/CudaVolume.cpp:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 1 warning generated when compiling for host. In file included from PostEddyCF.cpp:25: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from LongECModels.cpp:26: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from cuda/CudaVolume.cpp:36: cuda/CudaVolume.h:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/CudaVolume.h:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/CudaVolume.h:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from b0Predictor.cpp:19: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ 11 warnings generated when compiling for host. In file included from HyParEstimator.cpp:26: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ 21 warnings generated when compiling for gfx936. In file included from LSResampler.cpp:29: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from PostEddyCF.cpp:25: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from KMatrix.cpp:24: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from PostEddyCF.cpp:25: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from b0Predictor.cpp:19: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from HyParEstimator.cpp:26: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from b0Predictor.cpp:19: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from HyParEstimator.cpp:26: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from KMatrix.cpp:24: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from LongECModels.cpp:28: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from KMatrix.cpp:24: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from LSResampler.cpp:30: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ 4 warnings generated when compiling for gfx936. cuda/GpuPredictorChunk.cpp:24:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h./ECScanClasses.h::561782::92109:: warning: warning: void function is missing a return statement [-Wreturn-type]void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from cuda/StackResampler.cpp:37: cuda/CudaVolume.h:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/CudaVolume.h:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/CudaVolume.h:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 12 warnings generated when compiling for host. 13 warnings generated when compiling for gfx936. 4 warnings generated when compiling for gfx936. In file included from LSResampler.cpp:30: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ cuda/StackResampler.cpp:38:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from cuda/StackResampler.cpp:40: cuda/StackResampler.h:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/StackResampler.h:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/StackResampler.h:32:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from DiffusionGP.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from LSResampler.cpp:30: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ 11 warnings generated when compiling for host. 10 warnings generated when compiling for gfx936. cuda/StackResampler.cpp:564:16: warning: unused variable 'ys' [-Wunused-variable] unsigned int ys = z.Size(1); ^ In file included from fmriPredictor.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ 7 warnings generated when compiling for host. 11 warnings generated when compiling for host. cuda/EddyKernels.cpp:11:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from EddyCommandLineOptions.cpp:80: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ cuda/EddyKernels.cpp:270:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((epvx || xcoord[id]>0 && xcoord[id]0 && xcoord[id]0 && ycoord[id]0 && ycoord[id]0 && zcoord[id]0 && zcoord[id]::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1117:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new NoLongECModel()); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::NoLongECModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1117:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new NoLongECModel()); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::IndividualWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1120:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::IndividualWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1120:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::JointWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1123:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::JointWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1123:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::IndividualTimeConstantsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1126:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualTimeConstantsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::IndividualTimeConstantsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1126:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualTimeConstantsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::JointTimeConstantModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1129:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointTimeConstantModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::JointTimeConstantModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1129:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointTimeConstantModel(*this)); ^ In file included from fmriPredictor.cpp:25: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ cuda/PostEddyCF.cpp:16:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/PostEddyCF.cpp:17:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/PostEddyCF.cpp:18:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ cuda/GpuPredictorChunk.cpp:49:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result] hipFree(skrutt); ^~~~~~~ ~~~~~~ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from EddyCommandLineOptions.cpp:81: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from DiffusionGP.cpp:25: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ 11 warnings generated when compiling for host. ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from DiffusionGP.cpp:25: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ In file included from fmriPredictor.cpp:25: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from PostEddyAlignShellsFunctions.cpp:16: In file included from ./EddyCommandLineOptions.h:7: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ 19 warnings generated when compiling for host. ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ 7 warnings generated when compiling for host. In file included from fmriPredictor.cpp:25: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from cuda/DerivativeCalculator.cpp:46: cuda/DerivativeCalculator.h:95:30: warning: private field '_fwhm' is not used [-Wunused-private-field] float _fwhm; /// FWHM of optional smoothing of derivative images ^ cuda/DerivativeCalculator.h:96:30: warning: private field '_whichp' is not used [-Wunused-private-field] ParametersType _whichp; /// Specifies whis parameters to calculate derivatives for ^ In file included from LongECModels.cpp:28: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ 4 warnings generated when compiling for gfx936. In file included from EddyCommandLineOptions.cpp:81: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from EddyCommandLineOptions.cpp:81: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ cuda/EddyGpuUtils.cpp:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyGpuUtils.cpp:24:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/EddyGpuUtils.cpp:25:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ 11 warnings generated when compiling for host. In file included from PostEddyAlignShellsFunctions.cpp:16: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ 24 warnings generated when compiling for gfx936. 6 warnings generated when compiling for gfx936. ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from MoveBySuscCF.cpp:30: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ fmriPredictor.cpp:129:26: warning: variable 'i' is uninitialized when used here [-Wuninitialized] for (unsigned int i; i<_slist.size(); i++) _Kmats[i]->Reset(); ^ fmriPredictor.cpp:129:24: note: initialize the variable 'i' to silence this warning for (unsigned int i; i<_slist.size(); i++) _Kmats[i]->Reset(); ^ = 0 In file included from EddyUtils.cpp:29: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ 6 warnings generated when compiling for gfx936. ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from EddyHelperClasses.cpp:21: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ 11 warnings generated when compiling for host. 4 warnings generated when compiling for gfx936. In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:6: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from MoveBySuscCF.cpp:30: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from MoveBySuscCF.cpp:30: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ MoveBySuscCF.cpp:60:51: warning: void function is missing a return statement [-Wreturn-type] void SetLambda(double lambda) { _lmbd = lambda; } ^ MoveBySuscCF.cpp:66:53: warning: void function is missing a return statement [-Wreturn-type] void ResetCache() { _utd = false; _m_utd = false; } ^ 11 warnings generated when compiling for gfx936. In file included from PostEddyAlignShellsFunctions.cpp:16: In file included from ./EddyCommandLineOptions.h:7: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from EddyUtils.cpp:30: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from EddyHelperClasses.cpp:22: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ 11 warnings generated when compiling for host. 10 warnings generated when compiling for gfx936. 11 warnings generated when compiling for host. ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ 4 warnings generated when compiling for host. In file included from EddyUtils.cpp:30: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ 11 warnings generated when compiling for host. ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from EddyUtils.cpp:30: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from PostEddyAlignShellsFunctions.cpp:16: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from EddyHelperClasses.cpp:22: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ cuda/fmriPredictor.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/fmriPredictor.cpp:22:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/fmriPredictor.cpp:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ In file included from EddyHelperClasses.cpp:22: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from EddyUtils.cpp:29: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from eddy.cpp:23: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:6: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ 11 warnings generated when compiling for host. ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from EddyUtils.cpp:30: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ 11 warnings generated when compiling for host. ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from eddy.cpp:24: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from EddyUtils.cpp:30: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ 5 warnings generated when compiling for host. In file included from EddyUtils.cpp:30: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ 12 warnings generated when compiling for host. 6 warnings generated when compiling for gfx936. cuda/DiffusionGP.cpp:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ cuda/LSResampler.cpp:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/LSResampler.cpp:32:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/LSResampler.cpp:33:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ 11 warnings generated when compiling for host. ./EddyUtils.h:332:63: warning: 'setinterpolationmethod' is deprecated: Calling setinterpolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getinterpolationmethod() != NEWIMAGE::spline) vol.setinterpolationmethod(NEWIMAGE::spline); ^ PostEddyAlignShellsFunctions.cpp:258:14: note: in instantiation of function template specialization 'EDDY::EddyUtils::SetSplineInterp>' requested here EddyUtils::SetSplineInterp(ima); ^ /workspace/FSL-install/include/newimage/newimage.h:855:7: note: 'setinterpolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setinterpolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:333:40: warning: 'setsplineorder' is deprecated: Calling setsplineorder on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getsplineorder() != 3) vol.setsplineorder(3); ^ /workspace/FSL-install/include/newimage/newimage.h:863:7: note: 'setsplineorder' has been explicitly marked deprecated here [[deprecated("Calling setsplineorder on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:334:63: warning: 'setextrapolationmethod' is deprecated: Calling setextrapolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /workspace/FSL-install/include/newimage/newimage.h:851:7: note: 'setextrapolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setextrapolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:327:66: warning: 'setinterpolationmethod' is deprecated: Calling setinterpolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getinterpolationmethod() != NEWIMAGE::trilinear) vol.setinterpolationmethod(NEWIMAGE::trilinear); ^ PostEddyAlignShellsFunctions.cpp:259:14: note: in instantiation of function template specialization 'EDDY::EddyUtils::SetTrilinearInterp>' requested here EddyUtils::SetTrilinearInterp(mask); ^ /workspace/FSL-install/include/newimage/newimage.h:855:7: note: 'setinterpolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setinterpolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:328:63: warning: 'setextrapolationmethod' is deprecated: Calling setextrapolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /workspace/FSL-install/include/newimage/newimage.h:851:7: note: 'setextrapolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setextrapolationmethod on a const volume is not thread safe!")]] ^ cuda/PostEddyCF.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from eddy.cpp:28: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from ECScanClasses.cpp:28: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from eddy.cpp:28: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ cuda/EddyInternalGpuUtils.cpp:33:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyInternalGpuUtils.cpp:34:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/EddyInternalGpuUtils.cpp:35:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ In file included from MoveBySuscCF.cpp:27: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ cuda/DerivativeCalculator.cpp:32:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/DerivativeCalculator.cpp:33:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/DerivativeCalculator.cpp:34:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ ./EddyUtils.h:332:63: warning: 'setinterpolationmethod' is deprecated: Calling setinterpolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getinterpolationmethod() != NEWIMAGE::spline) vol.setinterpolationmethod(NEWIMAGE::spline); ^ PostEddyAlignShellsFunctions.cpp:258:14: note: in instantiation of function template specialization 'EDDY::EddyUtils::SetSplineInterp>' requested here EddyUtils::SetSplineInterp(ima); ^ /workspace/FSL-install/include/newimage/newimage.h:855:7: note: 'setinterpolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setinterpolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:333:40: warning: 'setsplineorder' is deprecated: Calling setsplineorder on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getsplineorder() != 3) vol.setsplineorder(3); ^ /workspace/FSL-install/include/newimage/newimage.h:863:7: note: 'setsplineorder' has been explicitly marked deprecated here [[deprecated("Calling setsplineorder on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:334:63: warning: 'setextrapolationmethod' is deprecated: Calling setextrapolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /workspace/FSL-install/include/newimage/newimage.h:851:7: note: 'setextrapolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setextrapolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:327:66: warning: 'setinterpolationmethod' is deprecated: Calling setinterpolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getinterpolationmethod() != NEWIMAGE::trilinear) vol.setinterpolationmethod(NEWIMAGE::trilinear); ^ PostEddyAlignShellsFunctions.cpp:259:14: note: in instantiation of function template specialization 'EDDY::EddyUtils::SetTrilinearInterp>' requested here EddyUtils::SetTrilinearInterp(mask); ^ /workspace/FSL-install/include/newimage/newimage.h:855:7: note: 'setinterpolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setinterpolationmethod on a const volume is not thread safe!")]] ^ In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:328:63: warning: 'setextrapolationmethod' is deprecated: Calling setextrapolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations] if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /workspace/FSL-install/include/newimage/newimage.h:851:7: note: 'setextrapolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setextrapolationmethod on a const volume is not thread safe!")]] ^ cuda/EddyGpuUtils.cpp:28:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from cuda/EddyGpuUtils.cpp:31: cuda/EddyInternalGpuUtils.h:20:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/EddyInternalGpuUtils.h:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ In file included from ECScanClasses.cpp:29: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ 5 warnings generated when compiling for host. 16 warnings generated when compiling for host. ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from MoveBySuscCF.cpp:30: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ cuda/StackResampler.cpp:32:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/StackResampler.cpp:33:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from ECScanClasses.cpp:29: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from eddy.cpp:23: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from ECScanClasses.cpp:29: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from MoveBySuscCF.cpp:30: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from MoveBySuscCF.cpp:30: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ MoveBySuscCF.cpp:60:51: warning: void function is missing a return statement [-Wreturn-type] void SetLambda(double lambda) { _lmbd = lambda; } ^ MoveBySuscCF.cpp:66:53: warning: void function is missing a return statement [-Wreturn-type] void ResetCache() { _utd = false; _m_utd = false; } ^ In file included from eddy.cpp:24: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ 16 warnings generated when compiling for host. ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ cuda/fmriPredictor.cpp:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from eddy.cpp:28: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ In file included from ECScanClasses.cpp:28: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from eddy.cpp:28: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ In file included from EddyHelperClasses.cpp:21: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ In file included from cuda/EddyGpuUtils.cpp:31: In file included from cuda/EddyInternalGpuUtils.h:22: cuda/CudaVolume.h:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/CudaVolume.h:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/CudaVolume.h:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 13 warnings generated when compiling for host. cuda/CudaVolume.cpp:20:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/CudaVolume.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ In file included from ECScanClasses.cpp:29: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ In file included from cuda/EddyGpuUtils.cpp:31: cuda/EddyInternalGpuUtils.h:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from EddyHelperClasses.cpp:22: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ In file included from ECScanClasses.cpp:29: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from ECScanClasses.cpp:29: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ In file included from EddyHelperClasses.cpp:22: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; } ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ In file included from EddyHelperClasses.cpp:22: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ cuda/LSResampler.cpp:35:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 11 warnings generated when compiling for host. cuda/EddyInternalGpuUtils.cpp:39:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ cuda/DerivativeCalculator.cpp:38:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 11 warnings generated when compiling for host. 11 warnings generated when compiling for host. In file included from cuda/StackResampler.cpp:37: cuda/CudaVolume.h:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/CudaVolume.h:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/CudaVolume.h:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ ECScanClasses.cpp:2282:16: warning: unused variable 'lnthreads' [-Wunused-variable] unsigned int lnthreads = std::min(nthreads,NScans(st)); // In case we are writing very few volumes ^ ECScanClasses.cpp:2333:16: warning: unused variable 'lnthreads' [-Wunused-variable] unsigned int lnthreads = std::min(nthreads,NScans(st)); // In case we are writing very few volumes ^ 4 warnings generated when compiling for host. ECScanClasses.cpp:2427:16: warning: unused variable 'lnthreads' [-Wunused-variable] unsigned int lnthreads = std::min(nthreads,NLSRPairs(st)); // In case we are writing very few pairs ^ cuda/StackResampler.cpp:38:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from cuda/StackResampler.cpp:40: cuda/StackResampler.h:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/StackResampler.h:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/StackResampler.h:32:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ cuda/StackResampler.cpp:564:16: warning: unused variable 'ys' [-Wunused-variable] unsigned int ys = z.Size(1); ^ 4 warnings generated when compiling for host. cuda/EddyInternalGpuUtils.cpp:515:10: warning: unused variable 'total_key' [-Wunused-variable] double total_key = prof.StartEntry("Total"); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::NoLongECModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1117:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new NoLongECModel()); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::NoLongECModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1117:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new NoLongECModel()); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::IndividualWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1120:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::IndividualWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1120:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::JointWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1123:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::JointWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1123:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::IndividualTimeConstantsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1126:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualTimeConstantsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::IndividualTimeConstantsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1126:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualTimeConstantsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::JointTimeConstantModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1129:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointTimeConstantModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::JointTimeConstantModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1129:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointTimeConstantModel(*this)); ^ cuda/EddyInternalGpuUtils.cpp:684:32: warning: variable 'mean_masksum' set but not used [-Wunused-but-set-variable] double mean_masksum = 0.0; ^ 13 warnings generated when compiling for host. cuda/CudaVolume.cpp:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 10 warnings generated when compiling for host. In file included from cuda/CudaVolume.cpp:36: cuda/CudaVolume.h:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^ cuda/CudaVolume.h:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/CudaVolume.h:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from cuda/DerivativeCalculator.cpp:46: cuda/DerivativeCalculator.h:95:30: warning: private field '_fwhm' is not used [-Wunused-private-field] float _fwhm; /// FWHM of optional smoothing of derivative images ^ cuda/DerivativeCalculator.h:96:30: warning: private field '_whichp' is not used [-Wunused-private-field] ParametersType _whichp; /// Specifies whis parameters to calculate derivatives for ^ 11 warnings generated when compiling for host. 10 warnings generated when compiling for host. In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::NoLongECModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1117:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new NoLongECModel()); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::NoLongECModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1117:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new NoLongECModel()); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::IndividualWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1120:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::IndividualWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1120:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::JointWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1123:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::JointWeightsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1123:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointWeightsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::IndividualTimeConstantsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1126:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualTimeConstantsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::IndividualTimeConstantsModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1126:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new IndividualTimeConstantsModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:600:8: warning: delete called on non-final 'EDDY::JointTimeConstantModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete __p; ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1129:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointTimeConstantModel(*this)); ^ In file included from ECScanClasses.cpp:18: In file included from /workspace/FSL-install/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:53: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:348:9: warning: delete called on non-final 'EDDY::JointTimeConstantModel' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] { delete _M_ptr; } ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:343:7: note: in instantiation of member function 'std::_Sp_counted_ptr::_M_dispose' requested here _Sp_counted_ptr(_Ptr __p) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:596:20: note: in instantiation of member function 'std::_Sp_counted_ptr::_Sp_counted_ptr' requested here _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p); ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:607:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : __shared_count(__p) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1099:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count' requested here : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type()) ^ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:160:25: note: in instantiation of function template specialization 'std::__shared_ptr::__shared_ptr' requested here shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { } ^ ECScanClasses.cpp:1129:13: note: in instantiation of function template specialization 'std::shared_ptr::shared_ptr' requested here _lecm = std::shared_ptr(new JointTimeConstantModel(*this)); ^ 4 warnings generated when compiling for host. 6 warnings generated when compiling for host. 4 warnings generated when compiling for host. 11 warnings generated when compiling for host. 11 warnings generated when compiling for host. 6 warnings generated when compiling for host. 6 warnings generated when compiling for host. 21 warnings generated when compiling for host. hipcc -isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g -fexpensive-optimizations -Wall -pedantic -Wno-long-long -g -O0 -std=c++17 -fPIC -g -O0 -pthread -o eddy_cpu cpubuild/eddy.o cpubuild/b0Predictor.o cpubuild/BiasFieldEstimatorImpl.o cpubuild/CPUStackResampler.o cpubuild/DiffusionGP.o cpubuild/fmriPredictor.o cpubuild/ECModels.o cpubuild/LongECModels.o cpubuild/ECScanClasses.o cpubuild/EddyCommandLineOptions.o cpubuild/EddyHelperClasses.o cpubuild/EddyUtils.o cpubuild/HyParEstimator.o cpubuild/KMatrix.o cpubuild/MoveBySuscCF.o cpubuild/PostEddyAlignShellsFunctions.o cpubuild/LSResampler.o cpubuild/PostEddyCF.o -rdynamic -L /workspace/FSL-install/lib -L/workspace/FSL-install/lib -L/workspace/FSL-install/lib -L /workspace/FSL-install/lib -lfsl-topup -lfsl-warpfns -lfsl-meshclass -lfsl-basisfield -lfsl-newimage -lfsl-miscmaths -lfsl-cprob -lfsl-NewNifti -lfsl-znz -lfsl-utils -llapack -lblas -lz -lm -fvisibility=default -fPIC -L /workspace/FSL-install/lib -lfsl-topup -lfsl-warpfns -lfsl-meshclass -lfsl-basisfield -lfsl-newimage -lfsl-miscmaths -lfsl-cprob -lfsl-NewNifti -lfsl-znz -lfsl-utils 24 warnings generated when compiling for host. hipcc -isystem /include -isystem /targets/x86_64-linux/include "-isystem /workspace/FSL-install/include -isystem /workspace/FSL-install/include -I /workspace/FSL-install/include -I . -g" "-fexpensive-optimizations -Wall -pedantic -Wno-long-long" " -g -O0 " -DARMA_ALLOW_FAKE_GCC -std=c++17 -fPIC -g -O0 "-fPIC -g -O0 -pthread" -DCOMPILE_GPU -Icuda "" -o eddy_cuda cudabuild/eddy.o cudabuild/b0Predictor.o cudabuild/BiasFieldEstimatorImpl.o cudabuild/CPUStackResampler.o cudabuild/DiffusionGP.o cudabuild/fmriPredictor.o cudabuild/ECModels.o cudabuild/LongECModels.o cudabuild/ECScanClasses.o cudabuild/EddyCommandLineOptions.o cudabuild/EddyHelperClasses.o cudabuild/EddyUtils.o cudabuild/HyParEstimator.o cudabuild/KMatrix.o cudabuild/MoveBySuscCF.o cudabuild/PostEddyAlignShellsFunctions.o cudabuild/cuda/CudaVolume.o cudabuild/cuda/DerivativeCalculator.o cudabuild/cuda/DiffusionGP.o cudabuild/cuda/fmriPredictor.o cudabuild/cuda/EddyCudaHelperFunctions.o cudabuild/cuda/EddyGpuUtils.o cudabuild/cuda/EddyInternalGpuUtils.o cudabuild/cuda/EddyKernels.o cudabuild/cuda/EddyMatrixKernels.o cudabuild/cuda/GpuPredictorChunk.o cudabuild/cuda/LSResampler.o cudabuild/cuda/PostEddyCF.o cudabuild/cuda/StackResampler.o -L /opt/dtk/lib -l hipblas -l hipblaslt -l galaxyhip -l amdhip64 -DARMA_ALLOW_FAKE_GCC -std=c++17 -fPIC -g -O0 -L /workspace/FSL-install/lib -lfsl-cudabasisfield_cuda11.8 -lhipblas -L/workspace/FSL-install/lib -L/workspace/FSL-install/lib -lfsl-topup -lfsl-warpfns -lfsl-meshclass -lfsl-basisfield -lfsl-newimage -lfsl-miscmaths -lfsl-cprob -lfsl-NewNifti -lfsl-znz -lfsl-utils -llapack -lblas -lz -lm -fvisibility=default -fPIC