ipbus / ipbus-software

Software that implements a reliable high-performance control link for particle physics electronics, based on the IPbus protocol
https://ipbus.web.cern.ch
GNU General Public License v3.0
22 stars 24 forks source link

gcc 13 fails to compile #294

Closed rhauser closed 1 year ago

rhauser commented 1 year ago

We (ATLAS + LCG) are doing first tests with gcc 13 (and c++20). ipbus v2.8.9 fails to compile due to the use uintX_t types in pybind11/attr.h. The required header is nowhere included except in the numpy.h file

A full log can be found in the attached errors.txt file. I updated the pybind11 version locally to 2.10.4 (the latest) and that seems to fix the problem.

error.txt

tswilliams commented 1 year ago

Hi

I've updated the pybind submodule to v2.10.4 in pull request #295 - it was in fact also required to support Python 3.11 on Alma9. This change is now included in the v2.8.10 tag of this repo.

Cheers, Tom