------- Comment #3 from mmitchel at gcc dot gnu dot org 2006-01-25 06:32 ------- This is going to be hard to fix. We have two choices: either re-parse the decl-specifiers after we know the class in which the function is being defined, or (better) substitute into the function return type at that point. I'm going to mark this as P2; it's rejects-valid, not wrong-code.
-- mmitchel at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25868