Re: [PATCH] remove struct == POD coding convention [PR61339]

2020-03-25 Thread Jeff Law via Gcc-patches
On Wed, 2020-03-25 at 15:46 -0600, Martin Sebor via Gcc-patches wrote: > PR 61339 - mismatch between struct and class [-Wmismatched-tags] > > ChangeLog: > > * htdocs/codingconventions.html (Struct Definitions): Remove > old convention. > (Class Definitions): Same. > * htdo

[PATCH] remove struct == POD coding convention [PR61339]

2020-03-25 Thread Martin Sebor via Gcc-patches
Last July we agreed to remove the convention that declarations of POD classes use the class-key struct (and others class). Attached is a patch to update the GCC Coding Conventions and the rationale to reflect the decision. I replaced it with a mild suggestion to use struct for C structs and clas