[Bug c++/110186] -Weffc++ does not recognize user defined constructor.

2023-06-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110186 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/110186] -Weffc++ does not recognize user defined constructor.

2023-06-08 Thread amir.ahmed.ansari at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110186 --- Comment #3 from Amir Ansari --- Sorry, it is warning about C::C() = default rather than B::B() = default;

[Bug c++/110186] -Weffc++ does not recognize user defined constructor.

2023-06-08 Thread amir.ahmed.ansari at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110186 --- Comment #2 from Amir Ansari --- The compiler is warning about B::B() = default. That is C++ 11. How can you say it has not been updated for C++11? Meyer's updated book has a slightly different name: Effective Modern C++: 42 Specific Ways t

[Bug c++/110186] -Weffc++ does not recognize user defined constructor.

2023-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110186 Andrew Pinski changed: What|Removed |Added Resolution|--- |WONTFIX Status|UNCONFIRMED