vtil-project / VTIL-Core

Virtual-machine Translation Intermediate Language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error while compiling

archercreat opened this issue · comments

commented

vtil\VTIL-NativeLifters\Dependencies\VTIL-Core\VTIL-Compiler\includes\vtil../../common/auxiliaries.hpp(37,38): error C2149: 'vtil::optimizer::aux::branch_analysis_flags::pack': named bit field cannot have zero width
\vtil\VTIL-NativeLifters\Dependencies\VTIL-Core\VTIL-Compiler\includes\vtil../../common/auxiliaries.hpp(38,38): error C2106: '=': left operand must be l-value

commented

Btw, I use msvc toolchain.

I think you have to update your compiler, current code passes CI (w/ Clang and MSVC) whereas your fix fails and will introduce UD behaviour anyways since we need the default initialization.

Feel free to open again if you can reproduce with latest MSVC.