- 
                Notifications
    
You must be signed in to change notification settings  - Fork 91
 
Open
Description
Build fails:
In file included from /disk-samsung/freebsd-ports/science/tomviz/work/tomviz-1.10.0/tomviz/PythonUtilities.cxx:18:
In file included from /disk-samsung/freebsd-ports/science/tomviz/work/tomviz-1.10.0/thirdparty/pybind11/include/pybind11/pybind11.h:44:
In file included from /disk-samsung/freebsd-ports/science/tomviz/work/tomviz-1.10.0/thirdparty/pybind11/include/pybind11/attr.h:13:
In file included from /disk-samsung/freebsd-ports/science/tomviz/work/tomviz-1.10.0/thirdparty/pybind11/include/pybind11/cast.h:16:
/disk-samsung/freebsd-ports/science/tomviz/work/tomviz-1.10.0/thirdparty/pybind11/include/pybind11/detail/internals.h:254:39: error: cannot assign to non-static data member 'state' with const-qualified type 'const PyGILState_STATE'
        ~gil_scoped_acquire_local() { PyGILState_Release(state); }
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/paraview-5.10/vtkPython.h:110:43: note: expanded from macro 'PyGILState_Release'
#define PyGILState_Release(state) (state) = ((PyGILState_STATE)0)
                                  ~~~~~~~ ^
/disk-samsung/freebsd-ports/science/tomviz/work/tomviz-1.10.0/thirdparty/pybind11/include/pybind11/detail/internals.h:255:32: note: non-static data member 'state' declared const here
        const PyGILState_STATE state;
        ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
1 error generated.
Version-1.10.0
clang-13.1
FreeBSD 13.1
Metadata
Metadata
Assignees
Labels
No labels