https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84993
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-28 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- I noticed this while experimenting with the suggestions. Your idea sounds like a definite improvement. As an aside, the error uses the term "member" in accordance with the standard terminology (both C and C++) but the note refers to the field 'double foo::m_ratio' It would be more consistent to use "member" in both.