Martin, you are seeing a variant of bug 312966 which was filed against JDT. This bug (at the SWT level) has indeed been fixed, but we have these other cases that result in similar black-text-on-black-background situations. You should probably file a new bug against CDT (and reference the existing bugs for context) to make them aware of the problem.
As a workaround, you could try to set a different "Source hover background" color, for the Java editor that's under Preferences > Java > Editor. I hope CDT has an equivalent preference page for their editors.
Martin, you are seeing a variant of bug 312966 which was filed against JDT. This bug (at the SWT level) has indeed been fixed, but we have these other cases that result in similar black-text- on-black- background situations. You should probably file a new bug against CDT (and reference the existing bugs for context) to make them aware of the problem.
As a workaround, you could try to set a different "Source hover background" color, for the Java editor that's under Preferences > Java > Editor. I hope CDT has an equivalent preference page for their editors.