Closed janbiedermann closed 1 year ago
I renamed the functions to avoid the issue. I hope now it works.
I have some issues with MingW on Windows hopefully visible in the MingW CI PR, ill fix them
I'm pushing a possible fix for the issue of double-patching Windows with MinGW.
Hi @janbiedermann,
Thank you for highlighting the problem.
However the issue is more of a symptom than a cause. The
FIO_STR_NAME
module shouldn't have any knowledge about the patches module.The way I see it is that I either:
Shadow the
write
function with a localized static function (the same would be done for all macro names).use a function style(can't be done, as sometimes we need a pointer to the function).MACRO(...)
insteadAlso, if we
#undef write
we might end up with errors further down stream.What do you think?