-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
Description
Required prerequisites
- Make sure you've read the documentation. Your issue may be addressed there.
- Search the issue tracker and Discussions to verify that this hasn't already been reported. +1 or comment there if it has.
- Consider asking first in the Gitter chat room or in a Discussion.
Problem description
when i build with pybind11, it failed to build
i use Visual Studio 2022 and C++ 20
##Errors
Severity Code Description Project File Line Suppression State
Error C2678 binary '-': no operator found which takes a left-hand operand of type 'const L' (or there is no acceptable conversion) VTIL-Python J:\My_Projects\VTIL-Python\external\pybind11\include\pybind11\operators.h 115
Error C2672 'pybind11::class_<vtil::symbolic::directive::instance>::def': no matching overloaded function found VTIL-Python J:\My_Projects\VTIL-Python\external\pybind11\include\pybind11\operators.h 52
Error C2893 Failed to specialize function template 'pybind11::class_<vtil::symbolic::directive::instance> &pybind11::class_<vtil::symbolic::directive::instance>::def(const char *,Func &&,const Extra &...)' VTIL-Python J:\My_Projects\VTIL-Python\external\pybind11\include\pybind11\operators.h 47
Error C2678 binary '*': no operator found which takes a left-hand operand of type 'const L' (or there is no acceptable conversion) VTIL-Python J:\My_Projects\VTIL-Python\external\pybind11\include\pybind11\operators.h 117
Error C2088 '*': illegal for struct VTIL-Python J:\My_Projects\VTIL-Python\external\pybind11\include\pybind11\operators.h 117
Reproducible example code
No response