Re: Error when passing struct by value