temporary_allocator.cpp contains a check for __MINGW64__ to decide whether or not to use temporary_stack_initializer.
If it does decide to use it, it emits a #warning. However, the file is compiled with -Werror -Wall, making this warning effectively an error. Furthermore, -Wno-error=cpp will probably not work, because GCC emits another warning ("#warning is a GCC extension", which is enabled by -pedantic and cannot be silenced independently).
To make this work, one would probably have to either remove the #warning or disable -Werror for that source file.
However, glancing over the comments on the issues that seem to be requiring this temporary_stack_initializer in the first place, it appears that this bug may have been fixed a few years ago:
Thus, potentially, the check could be removed completely.
temporary_allocator.cppcontains a check for__MINGW64__to decide whether or not to usetemporary_stack_initializer.If it does decide to use it, it emits a
#warning. However, the file is compiled with-Werror -Wall, making this warning effectively an error. Furthermore,-Wno-error=cppwill probably not work, because GCC emits another warning ("#warning is a GCC extension", which is enabled by-pedanticand cannot be silenced independently).To make this work, one would probably have to either remove the
#warningor disable-Werrorfor that source file.However, glancing over the comments on the issues that seem to be requiring this
temporary_stack_initializerin the first place, it appears that this bug may have been fixed a few years ago:Thus, potentially, the check could be removed completely.