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

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jim Michaels from comment #0)
> c++ doesn't allow function to return a struct.

Of course it does.

Please stop reporting a bug every time your code doesn't compile, or you
misunderstand how C++ works.

Reply via email to