With msvcr{100,110,120}.dll , `errno` is set to EINVAL when entering main.
This may also be true for msvcr{80,90}.dll, but I can't figure out how to run
executables linked against those CRTs, since they are installed as side-by-side
assemblies.
The following code should reproduce the issue:
```
#include <assert.h>
#include <errno.h>
Int main (void) {
assert (errno == 0);
return 0;
}
```
I wanted to quickly test whether library I'm working on builds and works with
msvcr*.dll, and when I was running the tests, I noticed that all tests for
C89/C95/uchar.h conversion functions failed. After small investigation I
realized that errno was to EINVAL upon entry to `main`.
Can anyone look into this?
- Kirill Makurin
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public