https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80681

xxie_xd <xxie_xd at 163 dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xxie_xd at 163 dot com

--- Comment #5 from xxie_xd <xxie_xd at 163 dot com> ---
I have submitted a patch to the gcc-patches mailing
list(https://gcc.gnu.org/pipermail/gcc-patches/2025-February/676137.html).

Just a simple idea: Searching all private base classes, check whether there is
a base class which has public or protected const or reference data members. If
so, warn about the use of such a base class, and give additional information
about the data member unable to initialize.

I'm new to GCC, and I need someone to review this patch. Any comment or
suggestion would be appreciated.

Reply via email to