bareos: master 01cbf13f

Author Committer Branch Timestamp Parent
arogge arogge master 2022-11-07 14:54 master b1c6f2ce Pending
Changeset python-fd: force C++17 for python modules

C++20 supports designated initializers. However, it doesn't allow
mixing of named and unnamed initialization. As we need to use the
PyVarObject_HEAD_INIT() macro, which doesn't name the attributes it
sets, we have to downgrade the compiler to C++17, so designated
initializers are handled as compiler extension, which will allow the
mixing that occurs here.

See also: https://github.com/python/cpython/issues/99202
mod - core/src/plugins/filed/python/CMakeLists.txt Diff File