There seems to have been an update to the warnings emitted by GCC in version 16.1.1 (not an issue with my previous GCC 15.2.1). In particular, the warning/error -Werror=sfinae-incomplete seems to be an issue.
I get compilation errors in namespace.h.
....
error: defining ‘namespacet’, which previously failed to be complete in a SFINAE context [-Werror=sfinae-incomplete=]
line 92 | class namespacet:public namespace_baset
....
Limited googling has shown that other software projects are experiencing the same issue with the new behavior in GCC. There seem to a couple of possible (fairly simple) fixes, but I am not sure which is preferred.
On a similar note, I am also getting a compilation error for -Werror=unused-but-set-variable since GCC 16.1.1. Issue is self-explanatory, I guess.
There seems to have been an update to the warnings emitted by GCC in version 16.1.1 (not an issue with my previous GCC 15.2.1). In particular, the warning/error
-Werror=sfinae-incompleteseems to be an issue.I get compilation errors in
namespace.h.Limited googling has shown that other software projects are experiencing the same issue with the new behavior in GCC. There seem to a couple of possible (fairly simple) fixes, but I am not sure which is preferred.
On a similar note, I am also getting a compilation error for
-Werror=unused-but-set-variablesince GCC 16.1.1. Issue is self-explanatory, I guess.