Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pyverbs: Fix compilation error in Fedora 39
Error compiling Cython file: ------------------------------------------------------------ ... """ super().__init__() self.pd = pd self.init_attr.pd = <v.ibv_pd*>pd.pd if pd_context: self.init_attr.alloc = pd_alloc ^ ------------------------------------------------------------ /home/leonro/src/rdma-core/pyverbs/pd.pyx:230:35: Cannot assign type 'void *(ibv_pd *, void *, size_t, size_t, uint64_t) except? NULL' to 'void *(*)(ibv_pd *, void *, size_t, size_t, uint64_t) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void *(ibv_pd *, void *, size_t, size_t, uint64_t) except? NULL'. Error compiling Cython file: ------------------------------------------------------------ ... super().__init__() self.pd = pd self.init_attr.pd = <v.ibv_pd*>pd.pd if pd_context: self.init_attr.alloc = pd_alloc self.init_attr.free = pd_free ^ ------------------------------------------------------------ Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Edward Srouji <[email protected]>
- Loading branch information