Try ObjFW instead, a largely self contained set of tools and framework, and if I recall correctly it contains its own base root class.
I certainly managed to use it for some test programs a number of years ago.
I certainly managed to use it for some test programs a number of years ago.
EDIT: Apparently, MSYS2's Clang has an option "-gcodeview" that can generate PDBs. Would try it tomorrow and see how it goes.