Alright, I'll give dwarf a try. Have no other option anyway, except disabling debug info entirely, or changing to Lazarus.
@Thaddy:
We may have a slight misunderstanding. I did not leave out any information, I just stumbled into this problem, tried to find the root cause, asked for some help with it, and finally described what I found. Summarising:
- The compiler freezes when compiling my code.
- This was after I had changed a base class but that is essentially without importance. It has nothing to do with the act of changing the code, or the compiler using a wrong object file or such, or bad code. It happens on a clean fresh build.
- The issue is triggered by the specific code, but the code is correct. The units alone compile fine. There are no error messages when compiling the whole program, but just before generating the exe, the compiler feezes. Except when disabling debug info generation or using dwarf format for debug information.
-> The compiler has a bug which makes it freeze when compiling this specific piece of code with debug information in default format (presumably stabs). I would file this as bug report but I cannot throw the entire program at the developers, and I did not succeed in chopping it down to a small piece of code which still reproduces the issue.