When compiling with -fno-common linking fails,
because log_level_t is a global variable instead of a typedef
as was probably intended given the name.
gcc 10 changed the default from -fcommon to -fno-common,
but this change is enough for gcc 10.2.0 to compile on my machine,
without having to set -fcommon manually.
When compiling with -fno-common linking fails, because log_level_t is a global variable instead of a typedef as was probably intended given the name.
gcc 10 changed the default from -fcommon to -fno-common, but this change is enough for gcc 10.2.0 to compile on my machine, without having to set -fcommon manually.