This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
As I said in the audit trail, -Winit-self is broken for C++ (PR c++/34772)
Even if -Winit-self wasn't broken I don't think it applies here, there's no valid reason to initialize a member with itself, if you really want to leave a member uninitialized then don't use a mem-initializer in the constructor (which will work at least until someone fixes PR c++/2972)
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |