[Bug c++/95917] coroutine functions leak under freestanding mode causing dependencies and binary bloat.
euloanty at live dot com
gcc-bugzilla@gcc.gnu.org
Fri Jun 26 19:03:37 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95917
--- Comment #5 from fdlbxtqi <euloanty at live dot com> ---
(In reply to Iain Sandoe from comment #4)
> (In reply to fdlbxtqi from comment #3)
> > Jonathan. I am MAD at you. This is absolutely your fault. I told you to
> > always write inline and you guys do not then allow Herb Sutter to ban me.
> > Here is the fault in your own controlled codebase. Are you satisfied?
> >
> > https://github.com/isocpp/CppCoreGuidelines/issues/1630
> >
> > YES! INLINE ALL YOUR FUNCTIONS. AVOID function pointers and virtual
> > functions as plagues.
>
> 1. jonathan did not write this header - I did,
> 2. we all make mistakes, shouting at folks isn't the optimum way to get them
> fixed
> 3. this bloat can only occur IF you include a header you are NOT using.
>
> i.e.
> #include <coroutine>
> in a source that has no coroutines.
Sorry. It is not your fault. What I am complaining about is that GCC now has
the
exactly the problem I talked about 10 days ago and he and Herb Sutter banned
me on C++ Core Guideline.
C++ Core Guideline is absolutely wrong here.
More information about the Gcc-bugs
mailing list