Good news.
Now with g++ released today (aug 8, 2025) version 15.2, gtkmm 4.0 header units compile without errors!