This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/77367] Duck-typing error not detected when using CRTP
- From: "yuhang_tang at brown dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 24 Aug 2016 14:07:26 +0000
- Subject: [Bug c++/77367] Duck-typing error not detected when using CRTP
- Auto-submitted: auto-generated
- References: <bug-77367-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77367
Yu-Hang Tang <yuhang_tang at brown dot edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Yu-Hang Tang <yuhang_tang at brown dot edu> ---
I just realized that this resulted in Base::B() calling itself indefinitely and
hence is not a compiler bug. However maybe it would nice for GCC to throw out a
warning in this case?