ergrelet/dll-hot-reload

Error when compiling BlackBone source

Closed this issue · 3 comments

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)

Hi!
Thanks for the report, it seems permissive mode is indeed required on recent VS 2022 versions. I've pushed a fix on main!