Error when compiling BlackBone source
Closed this issue · 3 comments
fnielson1 commented
When I try to compile the blackbone solution, I get this error:
error C2275: 'blackbone::_UNICODE_STRING_T<uint64_t>::type': expected an expression instead of a type
...
ot-reload-main\build\build\_deps\blackbone-src\src\BlackBone\BlackBone.vcxproj]
with
[
_T1=blackbone::_UNICODE_STRING64
]```
I'm on Windows 10 with Visual Studio Community 2022
ba0f3 commented
On VS 2022, disable standards conformance with /permissive
flag by go to BlackBone project's Properties -> Configuration Properties -> C/C++ -> Conformance mode => No (/permissive)
fnielson1 commented
Thank you! Worked like a charm!
…On Sun, Feb 19, 2023 at 5:38 PM Huy Doan ***@***.***> wrote:
On VS 2022, disable standards conformance with /permissive flag by go to
BlackBone project's Properties -> Configuration Properties -> C/C++ ->
Conformance mode => *No (/permissive)*
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA4PVN6N7DBKXRRIDS57CRDWYK4JDANCNFSM6AAAAAAVBHF3T4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
ergrelet commented
Hi!
Thanks for the report, it seems permissive mode is indeed required on recent VS 2022 versions. I've pushed a fix on main
!