Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error C2872: “byte”: 不明确的符号 #49

Closed
brinkqiang opened this issue Feb 4, 2021 · 3 comments
Closed

error C2872: “byte”: 不明确的符号 #49

brinkqiang opened this issue Feb 4, 2021 · 3 comments

Comments

@brinkqiang
Copy link

1>util.cpp
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\shared\rpcndr.h(192,14): error C2872: “byte”: 不明确的符号
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\shared\rpcndr.h(191,23): message : 可能是“unsigned char byte”
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\include\cstddef(29,12): message : 或 “std::byte”
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\shared\rpcndr.h(962,25): error C2872: “byte”: 不明确的符号
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\shared\rpcndr.h(191,23): message : 可能是“unsigned char byte”

@brinkqiang
Copy link
Author

vs2019/WIN10

@brinkqiang
Copy link
Author

与编译选项 ADD_COMPILE_OPTIONS("/std:c++latest") 冲突

@wasphin
Copy link
Member

wasphin commented Jun 26, 2022

长时间没有更新, 也比较久远了, 先关闭了.

@wasphin wasphin closed this as completed Jun 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants