开发者

What does the minus in /Zc:wchar_t- mean?

开发者 https://www.devze.com 2023-04-04 01:37 出处:网络
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

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 inclu开发者_JAVA百科de 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消