https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84269
David Malcolm <dmalcolm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|C++ FE does not suggest |More suggestions for |which #include to use for |missing #include |"memset" | --- Comment #4 from David Malcolm <dmalcolm at gcc dot gnu.org> --- And another, as reported at https://www.reddit.com/r/cpp/comments/84op5c/usability_improvements_in_gcc_8/dvtl76x/ > const auto s = strlen("test"); > with gcc (trunk) gives the following error: > [x86-64 gcc (trunk) #1] error: 'strlen' was not declared in this scope > [x86-64 gcc (trunk) #1] note: suggested alternative: 'struct' Many of these likely apply to the C frontend as well.