On Thursday 30 April 2020 17:22:52 Liu Hao wrote: > 在 2020/4/30 17:14, Pali Rohár 写道: > > > > So problem is only with 80, not 90. > > > > Anyway, that error message is issued by msvcr80.dll library itself, so I > > think it could be possible to do some link-time workaround in mingw-w64 > > or gcc to make msvcr80.dll happy. > > > > I am not clear about details about this error.
Me neither, I just saw in debugger that when error message was printed, caller in stacktrace was msvcr80.dll. So I though that there could be some init/workaround to "skip" that check even when manifest is not provided. But I do not have PDB debug symbols for msvcr80 library to see exactly what and when issue that fatal error message. And without it, it is probably impossible to figure out details about this fatal error message. > The only suggestion I > would come up with is to link against MSVCR100 which doesn't suffer from > this issue. > > Also I dislike the idea to provide default manifests, because there are > many, many versions of MSVCR80 and 90 in your 'C:\Windows\WinSxS' > directory, and there would be varieties of preferences, so it is up to > the user that which version should be used (which is exactly what > manifests do). Yes, I understand that default manifest does not have to be a good solution. That is why I was thinking about some init code which could instruct crt to skip manifest check. -- Pali Rohár pali.ro...@gmail.com _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public