在 2019/1/5 0:50, Johannes Pfau 写道: > > I see. Thanks for the hint to use GetFileAttributesA instead of > GetFileAttributes. To summarize, you think this is something that should > be fixed in GCC by explicitly using GetFileAttributesA instead of using > the access function? >
Personally, I think this is a bug in MSVCR120. There are a few resolution to this at different levels. The most ideal solution would be providing an `access()` function that behaves expectedly in gnulib or libiberty, so this recipe can be ported elsewhere. Modifying GCC source should be considered the least preferred and last option. > Best regards, > > Johannes -- Best regards, LH_Mouse
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public