Build failure with gcc10

Siril version: 0.9.12 Operating System: GNU/Linux Fedora 32 Package: fedora upstream

Description of the bug

Siril fails to build from source with gcc 10 with the following error:

/usr/bin/ld: algos/pave.o:/builddir/build/BUILD/siril-0.9.12/src/./algos/Def_Wavelet.h:81: multiple definition of `mallat_plan_des'; algos/io_wave.o:/builddir/build/BUILD/siril-0.9.12/src/./algos/Def_Wavelet.h:81: first defined here
/usr/bin/ld: algos/reconstr.o:/builddir/build/BUILD/siril-0.9.12/src/./algos/Def_Wavelet.h:81: multiple definition of `mallat_plan_des'; algos/io_wave.o:/builddir/build/BUILD/siril-0.9.12/src/./algos/Def_Wavelet.h:81: first defined here
/usr/bin/ld: algos/star_finder.o:/builddir/build/BUILD/siril-0.9.12/src/./algos/Def_Wavelet.h:81: multiple definition of `mallat_plan_des'; algos/io_wave.o:/builddir/build/BUILD/siril-0.9.12/src/./algos/Def_Wavelet.h:81: first defined here
/usr/bin/ld: algos/transform.o:/builddir/build/BUILD/siril-0.9.12/src/./algos/Def_Wavelet.h:81: multiple definition of `mallat_plan_des'; algos/io_wave.o:/builddir/build/BUILD/siril-0.9.12/src/./algos/Def_Wavelet.h:81: first defined here
/usr/bin/ld: core/command.o:/builddir/build/BUILD/siril-0.9.12/src/./algos/Def_Wavelet.h:81: multiple definition of `mallat_plan_des'; algos/io_wave.o:/builddir/build/BUILD/siril-0.9.12/src/./algos/Def_Wavelet.h:81: first defined here
/usr/bin/ld: core/siril.o:/builddir/build/BUILD/siril-0.9.12/src/./algos/Def_Wavelet.h:81: multiple definition of `mallat_plan_des'; algos/io_wave.o:/builddir/build/BUILD/siril-0.9.12/src/./algos/Def_Wavelet.h:81: first defined here
/usr/bin/ld: filters/wavelets.o:/builddir/build/BUILD/siril-0.9.12/src/./algos/Def_Wavelet.h:81: multiple definition of `mallat_plan_des'; algos/io_wave.o:/builddir/build/BUILD/siril-0.9.12/src/./algos/Def_Wavelet.h:81: first defined here
/usr/bin/ld: gui/callbacks.o:/builddir/build/BUILD/siril-0.9.12/src/./algos/Def_Wavelet.h:81: multiple definition of `mallat_plan_des'; algos/io_wave.o:/builddir/build/BUILD/siril-0.9.12/src/./algos/Def_Wavelet.h:81: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:940: siril] Error 1

Please describe your issue with details. Add screenshot or other files if needed.

Reproduction

Build siril with gcc 10 (on Fedora 32).

Reproduction steps:

…

Expected result:

Actual result:

Additional information

Please provide any backtrace or warnings/error you could have, paste it here.

Edited by Nicolas Chauvet