The problem is only reproducible if the same namespace and a different class is defined in an include from the first included file from the cpp I will attach a testcase proving exactly what the issue is and all known workarounds from me. Reproducible: Always
Created attachment 97289 [details] testcase for this bugreport a ultra-minimalistic testcase showing all observed behaviours
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.
I can confirm that this problem still occurs on master.