Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

非中文环境可能出现C4566警告 #27

Closed
mingkuang-Chuyu opened this issue Apr 22, 2018 · 2 comments
Closed

非中文环境可能出现C4566警告 #27

mingkuang-Chuyu opened this issue Apr 22, 2018 · 2 comments
Labels

Comments

@mingkuang-Chuyu
Copy link
Collaborator

mingkuang-Chuyu commented Apr 22, 2018

反馈者:@myfreeer
影响:低

相关信息:

_CRT_DEPRECATE_TEXT("温馨提示:VC-LTL中该函数功能并不生效,仅作编译通过处理。任何abort调用都将静默退出程序。")

warning C4566: character represented by universal-character-name '\u529F' cannot be represented in the current code page (1252)
@myfreeer
Copy link

#pragma warning(push)
#pragma warning(disable: 4566)
// Your function
#pragma warning(pop)

@mingkuang-Chuyu
Copy link
Collaborator Author

mingkuang-Chuyu commented Apr 22, 2018

已经显式指定使用Unicode,而不是使用ANSI

_CRT_DEPRECATE_TEXT(L"温馨提示:VC-LTL中该函数功能并不生效,仅作编译通过处理。任何abort调用都将静默退出程序。")

_CRT_DEPRECATE_TEXT(L"温馨提示:VC-LTL中该函数功能并不生效,仅作编译通过处理。任何abort调用都将静默退出程序。")

_CRT_DEPRECATE_TEXT(L"温馨提示:VC-LTL中该函数功能并不生效,仅作编译通过处理。任何abort调用都将静默退出程序。")

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants