[yoshimi] Re: More firefighting :(

  • From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Thu, 11 Feb 2016 19:48:25 +0000

On Thu, 11 Feb 2016 19:09:29 +0100
Kristian Amlie <kristian@xxxxxxxxxx> wrote:

'complex' is a standard class type in the C++ libraries. In order for
the left hand side to be assignable, the function call 'real()' has to
return a reference value (denoted by '&' in C++), but I think the
library spec says specifically that it should not return a reference. So
it was probably a mistake from the gcc people to make it assignable in
the first place.

Ah Ha! That makes sense!

So presumably in GCC6 they've cleaned up their act, which is why this was now
declared as an error. 

With that, I think I'll move both of these updates into master. I don't think
it is worth doing another bugfix release, as by the time GCC6 goes mainstream we
should have another full release ready.

-- 
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
Yoshimi source code is available from either: 
http://sourceforge.net/projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx

Other related posts: