vtil-project / VTIL-Core

Virtual-machine Translation Intermediate Language
BSD 3-Clause "New" or "Revised" License
1.35k stars 163 forks source link

error while compiling #36

Closed archercreat closed 4 years ago

archercreat commented 4 years ago

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

archercreat commented 4 years ago

Btw, I use msvc toolchain.

can1357 commented 4 years ago

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.

can1357 commented 4 years ago

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