@bagder thank you very much for the fix, but I tried to implement it on my local machine and I still get the error. (i mean this change: 73b55e4)
Maybe I should change something in my building flags? I am using them for years without any problem.
Btw, the error occurs only I use --enable-debug flag.
We have and provide Curl_strerror() internally for a reason: strerror()
is not necessarily thread-safe so we should always try to avoid it.
Extended checksrc to warn for this, but feature the check disabled by
default and only enable it in lib/