在 2021/1/27 上午4:02, Kacvinsky, Tom 写道: > > I am using a stock MSYS2 + MinGW-w64 package for GCC. So if there is a > misconfiguration, > it isn't from me. All I am doing is including cwhar. The thing is, our > product parses the > header files in a TU and "instruments" them, so they end up in the C++ files > we eventually > compile. The problem, therefore, is that cwhar has a bunch of > functions/methods that are > instrumented, but not defined in msvcrt (or the like). I am not sure how to > go about fixing this. >
Those functions shouldn't have been declared for MSVCRT builds. But your code shouldn't call them, either. The linker errors are misleading. I may disable those declarations for MSVCRT, but even then, your code will fail to compile. -- 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