Makefile:137: warning: overriding recipe for target 'clean' /datav/wkx/fsl/FSL-install-new/config/rules.mk:13: warning: ignoring old recipe for target 'clean' hipcc -isystem /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 hipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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] hipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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] hipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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] 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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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] 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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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] dcchipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 : 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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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] hipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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] 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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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] hipcc -isystem /include -isystem /targets/x86_64-linux/include -isystem /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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] 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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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] hipcc -isystem /include -isystem /targets/x86_64-linux/include "-isystem /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] hipcc -isystem /include -isystem /targets/x86_64-linux/include "-isystem /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 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] hipcc -isystem /include -isystem /targets/x86_64-linux/include "-isystem /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 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 /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 hipcc -isystem /include -isystem /targets/x86_64-linux/include "-isystem /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 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: hipcc -isystem /include -isystem /targets/x86_64-linux/include "-isystem /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 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] dccdcc: 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] dcchipcc -isystem /include -isystem /targets/x86_64-linux/include "-isystem /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 dcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] : warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] dccdcc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] : warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] : 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] 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: dccwarning: : optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]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] 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/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 ^ 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: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 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 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 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 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: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 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 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 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(); } ^ 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 ^ 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 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 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 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 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 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 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 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 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 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 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: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: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:23: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ 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 ^ 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 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 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 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 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 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; } ^ ./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: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 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/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 ^ ./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; } ^ In file included from EddyCommandLineOptions.cpp:81: In file included from ./EddyCommandLineOptions.h:243:114: warning: void function is missing a return statement [-Wreturn-type] ./EddyUtils.h void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ :27: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./ECScanClasses.h./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; } ^ :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; } ^ 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 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] } ^ ./ECScanClasses.h:758:5: 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] ./ECScanClasses.h:782:109: warning: void function is missing a return statement [-Wreturn-type]#pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ cuda/fmriPredictor.cpp:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} }#pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ ^ ./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: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; } ^ ./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 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] 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 ^ void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ 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 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/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/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: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: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] } ^ ./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: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: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/EddyMatrixKernels.cpp:626:1: warning: void function is missing a return statement [-Wreturn-type] } ^ 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; } ^ ./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: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; } ^ 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 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 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: ./EddyCommandLineOptions.hvoid 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; } ^ :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: In file included from 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] } ^ 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; } 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(); } ^ ./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: In file included from ECScanClasses.cpp:28: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] warning: void Start() { _start = std::chrono::steady_clock::now(); }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(); } ^ 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: 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:104:3: warning: void function is missing a return statement [-Wreturn-type] } ^ 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:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; }./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: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; } ^ 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; } ^ ./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: 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(); } ^ void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ ./EddyCommandLineOptions.h:243./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ :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;} } ^ BiasFieldEstimatorImpl.cpp:216:14: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] static int cnt = 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; } ^ ./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] In file included from void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ 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 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 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 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 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 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 eddy.cpp:24: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ 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 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; } ^ ./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: 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 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; } ^ 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 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; } ^ ./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;} } ^ ./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: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:In file included from 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; } ^ 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;} } ^ 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;} } ^ ./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: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: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;} } ^ ./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;} } ^ 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: ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ initialize the variable 'i' to silence this warning for (unsigned int i; i<_slist.size(); i++) _Kmats[i]->Reset(); ^ = 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 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; } ^ ./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/EddyMatrixKernels.cpp:281:10: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] EddyUtils.cpp else *(int*)0 = 0; // Throw a fit ^~~~~~~~ cuda/EddyMatrixKernels.cpp:281:10: note: consider using __builtin_trap() or qualifying pointer with 'volatile' :30: In file included from ./EddyUtils.h:28: ./EddyCommandLineOptions.h:198:58: warning: void function is missing a return statement [-Wreturn-type] cuda/EddyMatrixKernels.cpp void SetNVoxHp(unsigned int n) { _nvoxhp_internal = n; }: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' ^ ./EddyCommandLineOptions.h:200:66: warning: void function is missing a return statement [-Wreturn-type] void SetHyParFudgeFactor(double ff) { _hypar_ff_internal = ff; } ^cuda/EddyMatrixKernels.cpp:351:1: warning: void function is missing a return statement [-Wreturn-type] } ^ ./EddyCommandLineOptions.h:202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ cuda/EddyMatrixKernels.cpp:626:1: 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 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; } ^ 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 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: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; } ^ 114: warning: In file included from void function is missing a return statement [-Wreturn-type] void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; } ^ 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; } ^ 1 warning 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]fmriPredictor.cpp static void SetbRange(double val) { b_range = val; } ^ :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 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; } ^ 11 warning generated when compiling for gfx928. warning 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; } ^ 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 ^ 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(); } ^ ./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: In file included from void function is missing a return statement [-Wreturn-type] } ^ 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: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(); } ^ 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 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 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; } ^ ./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.hIn 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(); }: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 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 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 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 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 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/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 ^ ./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: 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./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] : void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ 202:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ./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: 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 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; } ^ ./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; } ^ ./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 gfx928. 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 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; } ^ 1 warning generated when compiling for gfx926. 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(); } ^ 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/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/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 ^ 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; } ^ 1 warning generated when compiling for gfx906. 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; } ^ 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; } ^ 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 ^ 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(); } ^ ./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; } ^ In file included from 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; } ^ 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; } ^ ./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(); } ^ cuda/PostEddyCF.cppcuda/fmriPredictor.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 gfx906. :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.h11 warnings generated when compiling for gfx926. :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] } ^ 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 ^ ./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 gfx928. 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 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; } ^ ./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 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 ^ ./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; } ^ ./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 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;} } ^ 7 warnings generated when compiling for gfx906. 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; } ^ 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(); } ^ 11 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; } ^ 4 warnings generated when compiling for gfx926. cuda/GpuPredictorChunk.cpp:24:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 12 warnings generated when compiling for gfx928. 11 warnings generated when compiling for gfx926. 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 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; } ^ 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: 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(); } ^ 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 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; } ^ 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 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; } ^ ./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: ./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/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 ^ 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 ^ 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 ^ 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: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;} } ^ ./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; } ^ ./EddyUtils.h:332:63: warning: 'setinterpolationmethod' is deprecated: Calling setinterpolationmethod on a const volume is not thread safe! [-Wdeprecated-declarations]./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ 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); ^ /datav/wkx/fsl/FSL-install-new/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!")]] ^./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: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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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 ^ :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: In file included from unknown pragma ignored [-Wunknown-pragmas] 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]#pragma diag_suppress = expr_has_no_effect // Supress warnings from boost ^ 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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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!")]] ^ ./ECScanClasses.h:758:5In file included from b0Predictor.cpp:19: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:: 208warning: :51void function is missing a return statement [-Wreturn-type]: warning: void function is missing a return statement [-Wreturn-type] } ^ void SetRegLambda(double lambda) { _mrl=lambda; } ^ ./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:25: In file included from ./EddyUtils.h:In file included from PostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h28: ./EddyCommandLineOptions.h:198:6: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^: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.hIn 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; } ^ :758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.hBiasFieldEstimatorImpl.cpp:104:3: warning: void function is missing a return statement [-Wreturn-type] } ^ :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; } ^ BiasFieldEstimatorImpl.cpp:216:14: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] static int cnt = 0; ^ 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 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; } ^ ./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: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: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: ./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; } ^ ^ 16 warnings generated when compiling for gfx926. 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; } ^ ./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;} } ^ 11 warnings generated when compiling for gfx928. ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ 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 ^ ./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 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 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; } ^ ./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 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 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; } ^ 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(); } ^ 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 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; } ^ ./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 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 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; } ^ 12 warnings generated when compiling for gfx906. 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; } ^ ./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 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: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; }./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; } ^ 11 warnings generated when compiling for gfx906. 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/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/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 ^ 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 ^ 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 ^ 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/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 cuda/GpuPredictorChunk.cpp:49:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result] hipFree(skrutt); ^~~~~~~ ~~~~~~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: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(); } ^ 11 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(); } ^ 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: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; } ^ 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 ^ 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: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: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] } ^ BiasFieldEstimatorImpl.cppIn 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(); }:216:14: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] static int cnt = 0; ^ ^ 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/CudaVolume.cpp:20:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma push ^In file included from cuda/CudaVolume.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] b0Predictor.cpp#pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ :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 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: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 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: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: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;} } ^ 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:758:5: warning: void function is missing a return statement [-Wreturn-type] In file included from }LongECModels.cpp:28: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] 11 warnings generated when compiling for gfx928. void SetRegLambda(double lambda) { _mrl=lambda; } ^ ^ ./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: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; } ^ ./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 ^ :./EddyCommandLineOptions.h242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ :202./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; }:61: warning: void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = val; } ^ ^ cuda/EddyMatrixKernels.cppIn file included from :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] } ^ 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; } ^ 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/EddyMatrixKernels.cpp:626:1: warning: void function is missing a return statement [-Wreturn-type] } ^ 11 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(); } ^ 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; } ^ 11 warnings generated when compiling for gfx926. 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 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: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 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 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(); } ^ 11 warnings generated when compiling for gfx926. 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; } ^ 11 warnings generated when compiling for gfx906. 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(); } ^ 11 warnings generated when compiling for gfx928. 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: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 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; } ^ 11 warnings generated when compiling for gfx906. 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: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; } ^ 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 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;} } ^ 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 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 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; } ^ 5 warnings generated when compiling for gfx906. In file included from ECScanClasses.cpp:18: In file included from /datav/wkx/fsl/FSL-install-new/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:13In 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(); } ^ : 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 /datav/wkx/fsl/FSL-install-new/include/nlohmann/json.hpp:29: ./ECScanClasses.hIn 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.hcuda/PostEddyCF.cpp: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 :21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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: In file included from /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 KMatrix.cpp _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)); ^ :23: ./EddyHelperClasses.h:114:61: warning: In file included from ECScanClasses.cpp:18: In file included from /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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)); ^ 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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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: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: 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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 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 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 gfx928. 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; } ^ ./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 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 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.hIn file included from :MoveBySuscCF.cpp782::30109: :In file included from ./EddyUtils.h:warning: void function is missing a return statement [-Wreturn-type]27 : ./ECScanClasses.h:208:51: 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 SetRegLambda(double lambda) { _mrl=lambda; } ^ ^ 11 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; } ^ ./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: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 ECScanClasses.cpp:29: In file included from ./EddyUtils.h:27: ./ECScanClasses.h:208:51: In file included from warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ 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:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.hIn 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 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: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;} } ^ :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: ./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]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; } ^ 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: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: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: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.h11 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;} } ^ :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 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 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 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; } ^ ./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(); } ^ MoveBySuscCF.cpp:60:51: warning: void function is missing a return statement [-Wreturn-type] void SetLambda(double lambda) { _lmbd = 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; } ^ MoveBySuscCF.cpp:66:53: warning: void function is missing a return statement [-Wreturn-type] void ResetCache() { _utd = false; _m_utd = false; } ^ 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 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; } ^ ./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/EddyInternalGpuUtils.cpp:39:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 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; } ^ ./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;} } ^ 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; } ^ 11 warnings generated when compiling for gfx928. 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: ./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] } ^ 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 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: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; } ^ BiasFieldEstimatorImpl.cpp:216:14: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] static int cnt = 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 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 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 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; } ^ cuda/PostEddyCF.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 11 warnings generated when compiling for gfx906. 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 ^ 21 warnings generated when compiling for gfx928. 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; } ^ ./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; } ^ 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 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; } ^ 11 warnings generated when compiling for gfx926. cuda/GpuPredictorChunk.cpp:24:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from ECScanClasses.cpp:18: In file included from /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 In file included from ECScanClasses.cpp:18: In file included from /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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)); ^ 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: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: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/EddyCudaHelperFunctions.cpp:9:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ 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; } ^ 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] } ^ 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: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;} } ^ ./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./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ :758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ ./ECScanClasses.hIn 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: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 gfx926. :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: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 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] ./ECScanClasses.h void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; } ^ :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:564:16: warning: unused variable 'ys' [-Wunused-variable] unsigned int ys = z.Size(1); ^ 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; } ^ ./ECScanClasses.h:561:92: warning: void function is missing a return statement [-Wreturn-type] In file included from void SetUseB0sToInformDWIRegistration(bool use_b0_4_dwi) { _use_b0_4_dwi = use_b0_4_dwi; }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; } ^ ^ ./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 gfx926. 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;} } ^ 12 warnings generated when compiling for gfx926. BiasFieldEstimatorImpl.cpp:104:3: warning: void function is missing a return statement [-Wreturn-type] } ^ 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; } ^ 11 warnings generated when compiling for gfx926. 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./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;} } ^ :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: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; }7 warnings generated when compiling for gfx928. ^ ./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 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; } ^ ./EddyCommandLineOptions.hcuda/DiffusionGP.cpp:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ :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: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 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;} } ^ ./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; } ^ In file included from KMatrix.cpp./EddyCommandLineOptions.h:24: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ :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: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 ^ 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/DerivativeCalculator.cpp:38:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ In file included from 1 warning generated when compiling for gfx936. 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; } ^ 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 11 warnings generated when compiling for gfx906. 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 ./EddyCommandLineOptions.hPostEddyAlignShellsFunctions.cpp:18: In file included from ./PostEddyAlignShellsFunctions.h:9: ./EddyUtils.h:289:54: ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ ./ECScanClasses.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; } ^ ./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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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] 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;} } if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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 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 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: ./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; } ^ 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; } ^ 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 ^ 21 warnings generated when compiling for gfx906. 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] } ^ 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; } ^ ./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. 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 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:24: ./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 ^ 4 warnings generated when compiling for gfx928. 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; } ^ 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]0 && xcoord[id]0 && xcoord[id]0 && ycoord[id]0 && ycoord[id]0 && zcoord[id]0 && zcoord[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 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 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 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; } ^ ./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 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;} } ^ 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 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:26: ./EddyHelperClasses.h:114:11 warnings generated when compiling for gfx928. 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: 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; } ^ ./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; } ^ 13 warnings generated when compiling for gfx926. ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ 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; } ^ ./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/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]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(); } ^ #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 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 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/PostEddyCF.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ cuda/GpuPredictorChunk.cpp./EddyCommandLineOptions.h::49242:101: warning: void function is missing a return statement [-Wreturn-type] : void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; }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 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: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; } ^ cuda/fmriPredictor.cpp:26: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; } ^ 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; } ^ 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; } ^ 11 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; } ^ ./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; } ^ cuda/fmriPredictor.cpp:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 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(); } ^ ./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 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; } ^ cuda/DiffusionGP.cpp:26: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 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: ./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; } ^ 1 warning generated when compiling for gfx928. 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 LongECModels.cpp:28: ./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 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(); } ^ 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: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; } ^ ./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. 4 warnings generated when compiling for host. 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 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 ^ 11 warnings generated when compiling for gfx926. 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: 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 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 ^ 11 warnings generated when compiling for gfx926. 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; } ^ 10 warnings generated when compiling for gfx906. 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; } ^ ./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;} } ^ 11 warnings generated when compiling for gfx926. cuda/StackResampler.cpp:564:16: warning: unused variable 'ys' [-Wunused-variable] unsigned int ys = z.Size(1); ^ 11 warnings generated when compiling for gfx926. 1 warning generated when compiling for gfx936. 11 warnings generated when compiling for gfx928. 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; } ^ 7 warnings generated when compiling for gfx906. 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: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 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 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: ./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: 5warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ warnings generated when compiling for gfx906. ./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 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 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 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 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 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 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 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; } ^ 12 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; } ^ cuda/LSResampler.cpp:35: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 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 warning./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; } ^ s 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; } ^ cuda/EddyInternalGpuUtils.cpp:39:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 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; } ^ 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 ^ ./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 gfx928. 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: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(); } ^ 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:39:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ cuda/LSResampler.cpp4 warnings generated when compiling for gfx926. :35:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 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;} } ^ 11 warnings generated when compiling for gfx926. 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:./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; } ^ warning: unknown pragma ignored [-Wunknown-pragmas] #pragma diag_suppress = code_is_unreachable // Supress warnings from armawrap ^ 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;} } ^ 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 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 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; } ^ ./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 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 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: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 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; } ^ ./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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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/DiffusionGP.cpp:26: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; } ^ 13 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 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 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 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;} } ^ 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; } ^ ./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 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; } ^ 11 warnings generated when compiling for gfx928. ./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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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!")]] ^ 5 warnings generated when compiling for gfx928. 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; } ^ 19 warnings generated when compiling for gfx928. 7 warnings generated when compiling for gfx926. 6 warnings generated when compiling for gfx926. 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 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; } ^ ./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:9: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ 16cuda/EddyGpuUtils.cpp:28:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ warnings generated when compiling for gfx906. 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 ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ cuda/GpuPredictorChunk.cpp:24:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ ./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(); } ^ 4 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;} } ^ 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; } ^ 16 warnings generated when compiling for gfx906. 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; }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; } ^ ^ ./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: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; } ^ ./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: ./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: 12 warnings generated when compiling for gfx928. 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 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(); } ^ 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; } ^ 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 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(); } ^ 4 warnings generated when compiling for gfx906. 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; } ^ 13 warnings generated when compiling for gfx906. 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:18: In file included from /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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:1099In 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 ^ :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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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) ^./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; } ^ /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 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;} } ^ 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; } ^ ./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/DerivativeCalculator.cpp:38:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 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 ^ 6 warnings generated when compiling for gfx926. 19 warnings generated when compiling for gfx906. ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ 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: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;} } ^ 5 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; } ^ 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:515:10: warning: unused variable 'total_key' [-Wunused-variable] double total_key = prof.StartEntry("Total"); ^ 11 warnings generated when compiling for gfx936. 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 DiffusionGP.cpp:24: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] 4 warnings generated when compiling for gfx928. void Start() { _start = std::chrono::steady_clock::now(); } ^ ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ cuda/EddyInternalGpuUtils.cpp:684:32: warning: ./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;} } ^ variable 'mean_masksum' set but not used [-Wunused-but-set-variable] double mean_masksum = 0.0; ^ cuda/GpuPredictorChunk.cpp:49:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result] hipFree(skrutt); ^~~~~~~ ~~~~~~ 13 warnings generated when compiling for gfx926. 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 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;} } ^ 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(); } ^ 10 warnings generated when compiling for gfx926. 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:31: ./EddyHelperClasses.h:114:61: warning: void function is missing a return statement [-Wreturn-type] void Start() { _start = std::chrono::steady_clock::now(); } ^ 12 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 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 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; } ^ 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 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; } ^ cuda/EddyGpuUtils.cpp:31: cuda/EddyInternalGpuUtils.h:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ cuda/EddyCudaHelperFunctions.cpp:9:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ cuda/EddyCudaHelperFunctions.cpp:./EddyCommandLineOptions.h44:5:: 242warning: :ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]101 : warning: void function is missing a return statement [-Wreturn-type] hipFree(q); ^~~~~~~ ~ 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: 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; } ^ 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 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; } ^ ./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 gfx926. 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; } ^ ./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] } ^ 4 warnings generated when compiling for gfx926. ./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 11 warnings generated when compiling for gfx926. 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 gfx906. 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(); }5 warnings generated when compiling for gfx928. ^ 11 warnings generated when compiling for gfx926. 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 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: 11 warnings generated when compiling for gfx926. 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 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; } ^ 24 warnings generated when compiling for gfx928. 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 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 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 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 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; } ^ ./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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ 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(); }/datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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 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;} } ^ ./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 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; } ^ ./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;} } ^ 11 warnings generated when compiling for gfx936. 1 warning generated when compiling for gfx906. 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; } ^ cuda/EddyInternalGpuUtils.cpp:515:10: warning: unused variable 'total_key' [-Wunused-variable] double total_key = prof.StartEntry("Total"); ^ 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(); } ^ ./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; } ^ cuda/EddyInternalGpuUtils.cpp:684:32: warning: variable 'mean_masksum' set but not used [-Wunused-but-set-variable] double mean_masksum = 0.0; ^ 11 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 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 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 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; } ^ ./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:./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ 243:114./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; } ^ : 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; } ^ 12 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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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.cppIn file included from :259:14: note: in instantiation of function template specialization 'EDDY::EddyUtils::SetTrilinearInterp>' requested here EddyUtils::SetTrilinearInterp(mask); ^ /datav/wkx/fsl/FSL-install-new/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!")]] ^ ECScanClasses.cpp:29In file included from : ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ PostEddyAlignShellsFunctions.cpp:18In file included from : 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] b0Predictor.cpp:19: ./EddyUtils.h: if (vol.getextrapolationmethod() != NEWIMAGE::mirror) vol.setextrapolationmethod(NEWIMAGE::mirror); ^ /datav/wkx/fsl/FSL-install-new/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!")]] ^ 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: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;} } ^ 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; } ^ 16 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/DiffusionGP.cpp:21:MoveBySuscCF.cpp9:60:51: warning: void function is missing a return statement [-Wreturn-type] void SetLambda(double lambda) { _lmbd = lambda; } ^ : 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 ^ 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 gfx926. BiasFieldEstimatorImpl.cpp:104:3: warning: void function is missing a return statement [-Wreturn-type] } ^ 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; } ^ BiasFieldEstimatorImpl.cpp:216:14: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] static int cnt = 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; } ^ ./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 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 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 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;} } ^ 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: 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 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 ^ 4 warnings generated when compiling for gfx936. 11 warnings generated when compiling for gfx928. 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 ^ 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 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 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(); } ^ ./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. ./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: 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] } ^ 4 warnings generated when compiling for gfx926. 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; } ^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; } ^ 1 warning 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;} } ^ ./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; } ^ ./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 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; } ^ 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.hBiasFieldEstimatorImpl.cpp:216:14: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] static int cnt = 0; ^ :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;} } ^ ./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] ./ECScanClasses.h void Reset() { if (_rawfield != nullptr) { _rawfield.reset(); _field.reset(); _offset=0.0; _scale=1.0;} } ^ :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 gfx928. 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 ^ 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 ^ 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 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; } ^ cuda/DerivativeCalculator.cpp:38: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 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 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; } ^ 4 warnings generated when compiling for gfx906. In file included from EddyHelperClasses.cpp:22: 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; } ^ ./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 ./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; } ^ 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 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 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] } ^ 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: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 ECScanClasses.cpp:129: ./EddyUtils.h:289:54: warning: void function is missing a return statement [-Wreturn-type] static void SetbRange(double val) { b_range = val; } ^ warning 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: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: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/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 LSResampler.cpp:30: ./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; } ^ ./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. 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; } ^ ./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: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: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; } ^ 1 warning generated when compiling for gfx936. 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; } ^ 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 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 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; } ^ 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; } ^ 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 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: 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; } ^ 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: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; } ^ 11 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 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 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. 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 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; } ^ 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 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; } ^ ./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;} } ^ 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 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 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; } ^ ./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 gfx926. 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 ^ 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.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 ^ ./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. 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 cuda/EddyGpuUtils.cpp:31: cuda/EddyInternalGpuUtils.h:23: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 ^ 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; } ^ 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;} } ^ 6 warnings generated when compiling for gfx928. 11 warnings generated when compiling for gfx936. 11 warnings generated when compiling for gfx936. 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 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; } ^fmriPredictor.cpp:129:26: warning: variable 'i' is uninitialized when used here [-Wuninitialized] for (unsigned int i; i<_slist.size(); i++) _Kmats[i]->Reset(); ./EddyCommandLineOptions.h:202:61: ^ warning: 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 void function is missing a return statement [-Wreturn-type] void SetHyperParFixed(bool val=true) { _fixed_hpar = 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(); } ^ 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; } ^ 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; } ^ 10 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 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(); } ^ 7 warnings generated when compiling for gfx928. 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;} } ^ 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 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; } ^ 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 /datav/wkx/fsl/FSL-install-new/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()); ^ ./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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/include/newimage/newimage.hIn file included from :851:7: note: 'setextrapolationmethod' has been explicitly marked deprecated here [[deprecated("Calling setextrapolationmethod on a const volume is not thread safe!")]] ^ ECScanClasses.cpp:18: In file included from /datav/wkx/fsl/FSL-install-new/include/nlohmann/json.hpp:29: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/memory:77In 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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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 /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 /datav/wkx/fsl/FSL-install-new/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 13 warnings generated when compiling for gfx928. 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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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: ./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; } ^ 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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 LongECModels.cpp:28: ./ECScanClasses.h:208:51: warning: void function is missing a return statement [-Wreturn-type] void SetRegLambda(double lambda) { _mrl=lambda; } ^ 6 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; } ^ ./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: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 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; } ^ ./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/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 ^ ./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 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: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; } ^ ./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 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; } ^ ./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;} } ^ BiasFieldEstimatorImpl.cpp:104:3: warning: void function is missing a return statement [-Wreturn-type] } ^ 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(); } ^ BiasFieldEstimatorImpl.cpp:216:14: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] static int cnt = 0; ^ 16 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(); } ^ cuda/DiffusionGP.cpp:26: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; } ^ 4 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 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; } ^ 11 warnings generated when compiling for gfx936. 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; } ^ 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 ^ ./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; } ^ 6 warnings generated when compiling for gfx906. 4 warnings generated when compiling for gfx928. 12 warnings generated when compiling for gfx936. 21 warnings generated when compiling for gfx926. 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/PostEddyCF.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 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 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: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 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; } ^ 10 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; } ^ 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 ^ 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: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 gfx906. 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; } ^ ./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;} } ^ 6 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 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; } ^ 1 warning 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; } ^ ./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; } ^ 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 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 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(); } ^ 11 warnings generated when compiling for gfx906. In file included from ECScanClasses.cpp:18: In file included from /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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)); ^ 19 warnings generated when compiling for gfx936. In file included from ECScanClasses.cpp:18: In file included from /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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:24: ./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 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 ^ 11 warnings generated when compiling for gfx936. 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/LSResampler.cpp:35:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 6 warnings generated when compiling for gfx928. 11 warnings generated when compiling for gfx928. 6 warnings generated when compiling for gfx926. cuda/StackResampler.cpp:564:16: warning: unused variable 'ys' [-Wunused-variable] unsigned int ys = z.Size(1); ^ 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 ECScanClasses.cpp:18: In file included from /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 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: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; } ^ cuda/GpuPredictorChunk.cpp:24:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 7 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; } ^ 11 warnings generated when compiling for gfx936. cuda/EddyInternalGpuUtils.cpp:39:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 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; } ^ 1 warning 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;} } ^ ./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 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 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; } ^ 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;} } ^ 13 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; } ^ 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 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 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; } ^ 24 warnings generated when compiling for gfx926. In file included from ECScanClasses.cpp:18: In file included from /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 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:18: In file included from /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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)); ^ ./EddyCommandLineOptions.h:242:101: warning: void function is missing a return statement [-Wreturn-type] void SetSecondLevelModel(EDDY::SecondLevelECModelType slm) { if (IsDiffusion()) _diff._slm = slm; } ^ In file included from ECScanClasses.cpp:18: In file included from /datav/wkx/fsl/FSL-install-new/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] ./EddyCommandLineOptions.h delete __p;: 243 ^: 114: warning: void function is missing a return statement [-Wreturn-type] /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: void Set_b0_SecondLevelModel(EDDY::SecondLevelECModelType b0_slm) { if (IsDiffusion()) _diff._b0_slm = b0_slm; }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 /datav/wkx/fsl/FSL-install-new/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: ./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; } ^ 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; } ^ cuda/DerivativeCalculator.cpp:38:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 21 warnings generated when compiling for gfx936. 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; } ^ 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 ^ 5 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; } ^ ./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 gfx936. 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;} } ^ 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: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. cuda/fmriPredictor.cpp:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 10 warnings generated when compiling for gfx928. 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 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(); } ^ 4 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; } ^ ./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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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: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 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 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; } ^ 24 warnings generated when compiling for gfx906. cuda/GpuPredictorChunk.cpp:49:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result] hipFree(skrutt); ^~~~~~~ ~~~~~~ 11 warnings generated when compiling for gfx936. 16 warnings generated when compiling for gfx936. 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 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/EddyInternalGpuUtils.cpp:515:10: warning: unused variable 'total_key' [-Wunused-variable] double total_key = prof.StartEntry("Total"); ^ 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; } ^ 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 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: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/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; } ^ ./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; } ^ 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(); } ^ 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 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: In file included from void function is missing a return statement [-Wreturn-type] 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; } ^ 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; } ^ 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: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;} } ^ 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 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 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; } ^ ./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: ./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 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(); } ^ 4 warnings generated when compiling for host. 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 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 host. 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 ^ ./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; } ^ ./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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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!")]] ^ ./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 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: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 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; } ^ BiasFieldEstimatorImpl.cpp:216:14: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] static int cnt = 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 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; } ^ 1 warning generated when compiling for host. 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; } ^ 13 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; } ^ ./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 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; } ^ cuda/CudaVolume.cpp:31:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 4 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;} } ^ 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 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(); } ^ 4 warnings generated when compiling for gfx936. 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 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: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; } ^ ./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: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: ./EddyUtils.h:289:54:./ECScanClasses.h warning: :void function is missing a return statement [-Wreturn-type]758 :5: warning: void function is missing a return statement [-Wreturn-type] } ^ static void SetbRange(double val) { b_range = 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;} } ^ ./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 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 ^ ./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 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 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 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 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; } ^ ./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 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 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.hIn 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(); } ^ :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 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 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; } ^ 16 warnings generated when compiling for host. 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 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(); } ^ cuda/EddyKernels.cpp:11: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; } ^ 6 warnings generated when compiling for gfx936. 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 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; } ^ 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 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 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; } ^ ./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. 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;} } ^ 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 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: 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: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;} } ^ ./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 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 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: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;} } ^ BiasFieldEstimatorImpl.cpp:104:3: warning: void function is missing a return statement [-Wreturn-type] } ^ 19 warnings generated when compiling for host. ./ECScanClasses.h:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ 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; } ^ 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;} } ^ ./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; } ^ 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:758:5: warning: void function is missing a return statement [-Wreturn-type] } ^ 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; } ^ ./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 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 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 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: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(); } ^ ./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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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: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. 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 ^ 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 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; } ^ 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(); } ^ 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; } ^ 6 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(); } ^ 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; } ^ 7 warnings generated when compiling for host. 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; } ^ 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;} } ^ ./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 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: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;} } ^ ./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: 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/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 ^ ./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. ./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; } ^ 24 warnings generated when compiling for gfx936. 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 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: ./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; } ^ 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: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;} } ^ 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;} } ^ 12 warnings generated when compiling for host. 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 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; } ^ 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 ^ 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; } ^ ./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; } ^ 10 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(); } ^ cuda/DiffusionGP.cpp:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 7 warnings generated when compiling for host. 11 warnings generated when compiling for host. 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; } ^ ./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;} } ^ 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 ^ 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; } ^ 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 ^ ./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/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/StackResampler.cpp:38:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 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 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/PostEddyCF.cpp:21:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 11 warnings generated when compiling for host. cuda/StackResampler.cpp:564:16: warning: unused variable 'ys' [-Wunused-variable] unsigned int ys = z.Size(1); ^ ./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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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); ^ /datav/wkx/fsl/FSL-install-new/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!")]] ^ 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; } ^ cuda/LSResampler.cpp:35:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 16 warnings generated when compiling for host. 6 warnings generated when compiling for gfx936. cuda/DerivativeCalculator.cpp:38:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ cuda/fmriPredictor.cpp:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 5 warnings generated when compiling for host. In file included from ECScanClasses.cpp:18: In file included from /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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)); ^ 5 warnings generated when compiling for host. 11 warnings generated when compiling for host. 10 warnings generated when compiling for host. 11 warnings generated when compiling for host. 13 warnings generated when compiling for host. 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:28: ./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:39:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 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 ^ 11 warnings generated when compiling for host. 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; } ^ ./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 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 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; } ^ ./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 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 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; } ^ 4 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 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/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 ^ 11 warnings generated when compiling for host. 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 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 ^ cuda/EddyInternalGpuUtils.cpp:515:10: warning: unused variable 'total_key' [-Wunused-variable] double total_key = prof.StartEntry("Total"); ^ 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 cuda/EddyGpuUtils.cpp:31: cuda/EddyInternalGpuUtils.h:23:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pop ^ 4 warnings generated when compiling for host. 6 warnings generated when compiling for host. 13 warnings generated when compiling for host. 4 warnings generated when compiling for host. 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 host. 4 warnings generated when compiling for host. 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 ^ 21 warnings generated when compiling for host. hipcc -isystem /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 -L /usr/local/lib/python3.10/dist-packages/ray/core -ljemalloc -rdynamic -L /workspace/FSL-install/lib -L/datav/wkx/fsl/FSL-install-new/lib -L/datav/wkx/fsl/FSL-install-new/lib -lfsl-topup -lfsl-warpfns -lfsl-meshclass -lfsl-basisfield -lfsl-newimage -lfsl-miscmaths -lfsl-cprob -lfsl-NewNifti -lfsl-znz -lfsl-utils -L /usr/local/lib/python3.10/dist-packages/ray/core -ljemalloc -llapack -lblas -lz -lm -fvisibility=default -fPIC In file included from ECScanClasses.cpp:18: In file included from /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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 /datav/wkx/fsl/FSL-install-new/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)); ^ 10 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. 24 warnings generated when compiling for host. hipcc -isystem /include -isystem /targets/x86_64-linux/include "-isystem /datav/wkx/fsl/FSL-install-new/include -isystem /datav/wkx/fsl/FSL-install-new/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 ld.lld: error: undefined symbol: Utilities::FSLProfiler::SetProfilingOn(std::__cxx11::basic_string, std::allocator> const&) >>> referenced by eddy.cpp:75 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:75) >>> cudabuild/eddy.o:(main) ld.lld: error: undefined symbol: Utilities::FSLProfiler::FSLProfiler(std::__cxx11::basic_string, std::allocator> const&) >>> referenced by eddy.cpp:76 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:76) >>> cudabuild/eddy.o:(main) >>> referenced by eddy.cpp:660 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:660) >>> cudabuild/eddy.o:(EDDY::DoVolumeToVolumeRegistration(EDDY::EddyCommandLineOptions const&, EDDY::ECScanManager&)) >>> referenced by eddy.cpp:831 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:831) >>> cudabuild/eddy.o:(EDDY::EstimateLongEC(EDDY::EddyCommandLineOptions const&, EDDY::ECScanManager&, EDDY::ReplacementManager*)) >>> referenced 17 more times ld.lld: error: undefined symbol: Utilities::FSLProfiler::StartEntry(std::__cxx11::basic_string, std::allocator> const&) >>> referenced by eddy.cpp:77 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:77) >>> cudabuild/eddy.o:(main) >>> referenced by eddy.cpp:124 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:124) >>> cudabuild/eddy.o:(main) >>> referenced by eddy.cpp:154 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:154) >>> cudabuild/eddy.o:(main) >>> referenced 57 more times ld.lld: error: undefined symbol: Utilities::FSLProfiler::EndEntry(double) >>> referenced by eddy.cpp:139 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:139) >>> cudabuild/eddy.o:(main) >>> referenced by eddy.cpp:173 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:173) >>> cudabuild/eddy.o:(main) >>> referenced by eddy.cpp:201 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:201) >>> cudabuild/eddy.o:(main) >>> referenced 57 more times ld.lld: error: undefined symbol: Utilities::NoOfThreads::NoOfThreads(long) >>> referenced by eddy.cpp:303 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:303) >>> cudabuild/eddy.o:(main) >>> referenced by eddy.cpp:469 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:469) >>> cudabuild/eddy.o:(main) >>> referenced by eddy.cpp:493 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:493) >>> cudabuild/eddy.o:(main) >>> referenced 167 more times ld.lld: error: undefined symbol: NEWIMAGE::volume::volume(Utilities::NoOfThreads) >>> referenced by eddy.cpp:303 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:303) >>> cudabuild/eddy.o:(main) >>> referenced by eddy.cpp:469 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:469) >>> cudabuild/eddy.o:(main) >>> referenced by eddy.cpp:493 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:493) >>> cudabuild/eddy.o:(main) >>> referenced 62 more times ld.lld: error: undefined symbol: Utilities::NoOfThreads::~NoOfThreads() >>> referenced by eddy.cpp:303 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:303) >>> cudabuild/eddy.o:(main) >>> referenced by eddy.cpp:303 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:303) >>> cudabuild/eddy.o:(main) >>> referenced by eddy.cpp:469 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:469) >>> cudabuild/eddy.o:(main) >>> referenced 351 more times ld.lld: error: undefined symbol: NEWIMAGE::volume::operator[](long) >>> referenced by eddy.cpp:306 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:306) >>> cudabuild/eddy.o:(main) >>> referenced by eddy.cpp:515 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:515) >>> cudabuild/eddy.o:(main) >>> referenced by eddy.cpp:515 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:515) >>> cudabuild/eddy.o:(main) >>> referenced 77 more times ld.lld: error: undefined symbol: NEWIMAGE::volume::~volume() >>> referenced by eddy.cpp:308 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:308) >>> cudabuild/eddy.o:(main) >>> referenced by eddy.cpp:308 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:308) >>> cudabuild/eddy.o:(main) >>> referenced by eddy.cpp:481 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:481) >>> cudabuild/eddy.o:(main) >>> referenced 946 more times ld.lld: error: undefined symbol: MISCMATHS::nonlin(MISCMATHS::NonlinParam const&, MISCMATHS::NonlinCF const&) >>> referenced by eddy.cpp:348 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:348) >>> cudabuild/eddy.o:(main) >>> referenced by eddy.cpp:378 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:378) >>> cudabuild/eddy.o:(main) >>> referenced by HyParEstimator.cpp:305 (/datav/wkx/fsl/fsl-eddy/HyParEstimator.cpp:305) >>> cudabuild/HyParEstimator.o:(EDDY::FullMontyHyParEstimator::Estimate(std::shared_ptr, bool)) >>> referenced 2 more times ld.lld: error: undefined symbol: NEWIMAGE::volume::operator/=(float) >>> referenced by eddy.cpp:507 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:507) >>> cudabuild/eddy.o:(main) >>> referenced by eddy.cpp:513 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:513) >>> cudabuild/eddy.o:(main) >>> referenced by eddy.cpp:524 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:524) >>> cudabuild/eddy.o:(main) >>> referenced 8 more times ld.lld: error: undefined symbol: NEWIMAGE::volume::operator=(float) >>> referenced by eddy.cpp:511 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:511) >>> cudabuild/eddy.o:(main) >>> referenced by eddy.cpp:834 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:834) >>> cudabuild/eddy.o:(EDDY::EstimateLongEC(EDDY::EddyCommandLineOptions const&, EDDY::ECScanManager&, EDDY::ReplacementManager*)) >>> referenced by eddy.cpp:1273 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:1273) >>> cudabuild/eddy.o:(EDDY::FinalOLCheck(EDDY::EddyCommandLineOptions const&, EDDY::ReplacementManager*, EDDY::ECScanManager&)) >>> referenced 82 more times ld.lld: error: undefined symbol: Utilities::FSLProfiler::~FSLProfiler() >>> referenced by eddy.cpp:630 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:630) >>> cudabuild/eddy.o:(main) >>> referenced by eddy.cpp:630 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:630) >>> cudabuild/eddy.o:(main) >>> referenced by eddy.cpp:660 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:660) >>> cudabuild/eddy.o:(EDDY::DoVolumeToVolumeRegistration(EDDY::EddyCommandLineOptions const&, EDDY::ECScanManager&)) >>> referenced 18 more times ld.lld: error: undefined symbol: MISCMATHS::write_ascii_matrix(std::__cxx11::basic_string, std::allocator> const&, armawrap::AWMatrix const&, int) >>> referenced by eddy.cpp:747 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:747) >>> cudabuild/eddy.o:(EDDY::DoVolumeToVolumeRegistration(EDDY::EddyCommandLineOptions const&, EDDY::ECScanManager&)) >>> referenced by eddy.cpp:748 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:748) >>> cudabuild/eddy.o:(EDDY::DoVolumeToVolumeRegistration(EDDY::EddyCommandLineOptions const&, EDDY::ECScanManager&)) >>> referenced by eddy.cpp:751 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:751) >>> cudabuild/eddy.o:(EDDY::DoVolumeToVolumeRegistration(EDDY::EddyCommandLineOptions const&, EDDY::ECScanManager&)) >>> referenced 30 more times ld.lld: error: undefined symbol: NEWIMAGE::volume::volume(NEWIMAGE::volume const&, NEWIMAGE::constructionMode) >>> referenced by eddy.cpp:834 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:834) >>> cudabuild/eddy.o:(EDDY::EstimateLongEC(EDDY::EddyCommandLineOptions const&, EDDY::ECScanManager&, EDDY::ReplacementManager*)) >>> referenced by eddy.cpp:1273 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:1273) >>> cudabuild/eddy.o:(EDDY::FinalOLCheck(EDDY::EddyCommandLineOptions const&, EDDY::ReplacementManager*, EDDY::ECScanManager&)) >>> referenced by eddy.cpp:1580 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:1580) >>> cudabuild/eddy.o:(EDDY::GetPredictionsForResampling(EDDY::EddyCommandLineOptions const&, EDDY::ScanType, EDDY::ECScanManager const&, NEWIMAGE::volume&)) >>> referenced 114 more times ld.lld: error: undefined symbol: NEWIMAGE::volume::reinitialize(long, long, long, long, float*, bool, Utilities::NoOfThreads) >>> referenced by eddy.cpp:1578 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:1578) >>> cudabuild/eddy.o:(EDDY::GetPredictionsForResampling(EDDY::EddyCommandLineOptions const&, EDDY::ScanType, EDDY::ECScanManager const&, NEWIMAGE::volume&)) >>> referenced by eddy.cpp:1652 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:1652) >>> cudabuild/eddy.o:(EDDY::GetScatterBrainPredictions(EDDY::EddyCommandLineOptions const&, EDDY::ScanType, EDDY::ECScanManager&, std::vector> const&, NEWIMAGE::volume&, bool)) >>> referenced by ECScanClasses.cpp:2285 (/datav/wkx/fsl/fsl-eddy/ECScanClasses.cpp:2285) >>> cudabuild/ECScanClasses.o:(EDDY::ECScanManager::write_jac_registered_images(std::__cxx11::basic_string, std::allocator> const&, std::__cxx11::basic_string, std::allocator> const&, bool, unsigned int, EDDY::ScanType) const) >>> referenced 5 more times ld.lld: error: undefined symbol: NEWIMAGE::volume::volume(long, long, long, long, Utilities::NoOfThreads) >>> referenced by eddy.cpp:1871 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:1871) >>> cudabuild/eddy.o:(EDDY::WriteCNRMaps(EDDY::EddyCommandLineOptions const&, EDDY::ECScanManager const&, std::__cxx11::basic_string, std::allocator> const&, std::__cxx11::basic_string, std::allocator> const&, std::__cxx11::basic_string, std::allocator> const&)) >>> referenced by eddy.cpp:1879 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:1879) >>> cudabuild/eddy.o:(EDDY::WriteCNRMaps(EDDY::EddyCommandLineOptions const&, EDDY::ECScanManager const&, std::__cxx11::basic_string, std::allocator> const&, std::__cxx11::basic_string, std::allocator> const&, std::__cxx11::basic_string, std::allocator> const&)) >>> referenced by new_allocator.h:162 (/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/ext/new_allocator.h:162) >>> cudabuild/eddy.o:(void __gnu_cxx::new_allocator>::construct, long, long, long, unsigned int>(NEWIMAGE::volume*, long&&, long&&, long&&, unsigned int&&)) >>> referenced 19 more times ld.lld: error: undefined symbol: NEWIMAGE::volume::operator*=(NEWIMAGE::volume const&) >>> referenced by eddy.cpp:1396 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:1396) >>> cudabuild/eddy.o:(EDDY::LoadPredictionMaker(EDDY::EddyCommandLineOptions const&, EDDY::ScanType, EDDY::ECScanManager const&, unsigned int, float, NEWIMAGE::volume&, bool)) >>> referenced by eddy.cpp:1991 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:1991) >>> cudabuild/eddy.o:(EDDY::SetUnwarpedScanWrapper(unsigned int, unsigned int, EDDY::EddyCommandLineOptions const&, EDDY::ECScanManager const&, EDDY::ScanType, bool, std::shared_ptr, NEWIMAGE::volume&)) >>> referenced by eddy.cpp:1804 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:1804) >>> cudabuild/eddy.o:(EDDY::CalculateCNRMaps(EDDY::EddyCommandLineOptions const&, EDDY::ECScanManager const&, std::shared_ptr>, std::shared_ptr>, std::shared_ptr>, std::shared_ptr>)) >>> referenced 32 more times ld.lld: error: undefined symbol: NEWIMAGE::volume::operator*(NEWIMAGE::volume const&) const >>> referenced by eddy.cpp:1417 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:1417) >>> cudabuild/eddy.o:(EDDY::LoadPredictionMaker(EDDY::EddyCommandLineOptions const&, EDDY::ScanType, EDDY::ECScanManager const&, unsigned int, float, NEWIMAGE::volume&, bool)) >>> referenced by eddy.cpp:1759 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:1759) >>> cudabuild/eddy.o:(EDDY::CalculateCNRMaps(EDDY::EddyCommandLineOptions const&, EDDY::ECScanManager const&, std::shared_ptr>, std::shared_ptr>, std::shared_ptr>, std::shared_ptr>)) >>> referenced by eddy.cpp:1762 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:1762) >>> cudabuild/eddy.o:(EDDY::CalculateCNRMaps(EDDY::EddyCommandLineOptions const&, EDDY::ECScanManager const&, std::shared_ptr>, std::shared_ptr>, std::shared_ptr>, std::shared_ptr>)) >>> referenced 32 more times ld.lld: error: undefined symbol: NEWIMAGE::volume::operator+=(NEWIMAGE::volume const&) >>> referenced by eddy.cpp:1533 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:1533) >>> cudabuild/eddy.o:(EDDY::ReplaceOutliers(EDDY::EddyCommandLineOptions const&, EDDY::ScanType, std::shared_ptr, NEWIMAGE::volume const&, EDDY::ReplacementManager const&, bool, EDDY::ECScanManager&)) >>> referenced by eddy.cpp:2080 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:2080) >>> cudabuild/eddy.o:(EDDY::SetAsOutliersWrapper(unsigned int, unsigned int, std::shared_ptr, NEWIMAGE::volume const&, EDDY::ReplacementManager const&, EDDY::ScanType, bool, bool, EDDY::ECScanManager&)) >>> referenced by eddy.cpp:1751 (/datav/wkx/fsl/fsl-eddy/eddy.cpp:1751) >>> cudabuild/eddy.o:(EDDY::CalculateCNRMaps(EDDY::EddyCommandLineOptions const&, EDDY::ECScanManager const&, std::shared_ptr>, std::shared_ptr>, std::shared_ptr>, std::shared_ptr>)) >>> referenced 30 more times ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) dcc: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:165: eddy_cuda] Error 1