문제

Recently I had some linking issues caused by the presence (or absence) of this flag.

/Zc:wchar_t-

I've read the docs, but they don't mention the trailing minus. But every discussion of it seems to include it. What does it mean?

도움이 되었습니까?

해결책

/Zc:wchar_t- does the opposite of what /Zc:wchar_t does: it causes wchar_t to be treated as the same type as unsigned short, for compatibility with VC6.

/Zc:wchar_t- causes your code to be non-conformant with standard C++, so don't use it unless you must.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top