开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜