UBod / msa

R package for multiple sequence alignment
https://github.com/UBod/msa
17 stars 11 forks source link

fix extern GC_jmp_buf for GCC 10 #10

Closed fizwit closed 3 years ago

fizwit commented 3 years ago

resolves #11 msa build fails with GCC 10

error: multiple definition of 'GC_jmp_buf' GCC 10 defaults to -fno-common, which means a linker error will now be reported. To fix this, use extern in header files when declaring global variables, and ensure each global is defined in exactly one C file.

fizwit commented 3 years ago

tested with GCC 10.2.0 R 4.0.3 BioCondutor 3.12

UBod commented 3 years ago

Great, thanks!