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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Robert Durkacz from comment #0)
> My personal interest in reporting this as a
> bug, whether it is or not, is to get any advice what is a better way to do
> what I am trying to do.

Get more memory, and use const char* in your structs, not std::string.

It compiles easily if you have an array with trivial types.

Reply via email to