Skip to content

Fix compiler error with fmt 10.0.0

Juan Miguel Carceller requested to merge jcarcell/Gaudi:fix-fmt into master

Gaudi doesn't compile with the recent version 10.0.0 of fmt. I think this should also be fine with older versions of fmt but I haven't tested it, let's see if the CI agrees.

This is the error message when compiling:

  >> 1157    /cvmfs/sw-nightlies.hsf.org/key4hep/releases/2023-05-20/x86_64-cen
             tos7-gcc12.2.0-opt/fmt/10.0.0-yvhlcm/include/fmt/core.h:1691:7: er
             ror: static assertion failed: Cannot format an argument. To make t
             ype T formattable provide a formatter<T> specialization: https://f
             mt.dev/latest/api.html#udt

Merge request reports