[Bug c++/55813] Poorly named/documented option Wctor-dtor-privacy

2016-06-09 Thread kyle.strand at beckman dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55813

--- Comment #6 from Kyle J Strand  ---
(In reply to Manuel López-Ibáñez from comment #5)

> Please open a new PR and copy the testcase on it.

Submitted as Bug 71484 .

[Bug c++/55813] Poorly named/documented option Wctor-dtor-privacy

2016-06-09 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55813

Manuel López-Ibáñez  changed:

   What|Removed |Added

 CC||manu at gcc dot gnu.org

--- Comment #5 from Manuel López-Ibáñez  ---
(In reply to Kyle J Strand from comment #4)
> See http://stackoverflow.com/q/33157248/1858225 for discussion and sample
> code.

The first testcase has a public static method.
The second testcase seems like a bug, but this bug  was about documentation.
Please open a new PR and copy the testcase on it.

[Bug c++/55813] Poorly named/documented option Wctor-dtor-privacy

2016-05-31 Thread kyle.strand at beckman dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55813

Kyle J Strand  changed:

   What|Removed |Added

 CC||kyle.strand at beckman dot com

--- Comment #4 from Kyle J Strand  ---
The behavior (even as of 5.1) still seems at odds with the documentation. In
particular, classes with *public* constructors *can* trigger this warning.

See http://stackoverflow.com/q/33157248/1858225 for discussion and sample code.

[Bug c++/55813] Poorly named/documented option Wctor-dtor-privacy

2013-02-28 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55813



Paolo Carlini  changed:



   What|Removed |Added



 Status|NEW |RESOLVED

 Resolution||FIXED

   Target Milestone|--- |4.8.0



--- Comment #3 from Paolo Carlini  2013-02-28 
10:03:03 UTC ---

Done.


[Bug c++/55813] Poorly named/documented option Wctor-dtor-privacy

2013-02-28 Thread paolo at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55813



--- Comment #2 from paolo at gcc dot gnu.org  
2013-02-28 10:01:04 UTC ---

Author: paolo

Date: Thu Feb 28 10:00:54 2013

New Revision: 196334



URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196334

Log:

2013-02-28  Paolo Carlini  



PR c++/55813

* doc/invoke.texi ([-Wctor-dtor-privacy]): Complete.



Modified:

trunk/gcc/ChangeLog

trunk/gcc/doc/invoke.texi


[Bug c++/55813] Poorly named/documented option Wctor-dtor-privacy

2013-02-27 Thread paolo.carlini at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55813



Paolo Carlini  changed:



   What|Removed |Added



 Status|UNCONFIRMED |NEW

   Last reconfirmed||2013-02-27

 AssignedTo|unassigned at gcc dot   |paolo.carlini at oracle dot

   |gnu.org |com

 Ever Confirmed|0   |1



--- Comment #1 from Paolo Carlini  2013-02-27 
18:43:25 UTC ---

Mine.