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.

https://objfw.nil.im/home

https://github.com/ObjFW/ObjFW

It requires MSYS2 on Windows which is now a whole new userspace to deal with. In addition, the MSYS2 compilers will output DWARF debug symbols (right?), which means none of the graphical debuggers (Visual Studio, RemedyBG, RADDbg, etc.) will work.

EDIT: Apparently, MSYS2's Clang has an option "-gcodeview" that can generate PDBs. Would try it tomorrow and see how it goes.