Re: [Synfig-devl] c++11 : lvalue required as unary '&' operand << stack allocation ?

2016-01-21 Thread d . j . a . y
> From: Ivan Mahonin - 2016-01-20 21:27:29 > > Hello! > > I think following code will save us: > > - Array arr_surface(&surface.front().real()); > + Array arr_surface((Real*)&surface.front()); Now i can do a full c++11 synfig-core build ! Thank's Ivan... let's do it again ... https://www.youtub

Re: [Synfig-devl] c++11 : lvalue required as unary '&' operand << stack allocation ?

2016-01-20 Thread Ivan Mahonin
Hello! I think following code will save us: - Array arr_surface(&surface.front().real()); + Array arr_surface((Real*)&surface.front()); In previous implementation of GCC real() returns reference instead of value. But anyway old and new standards says what real() should returns value (not referen

Re: [Synfig-devl] c++11 : lvalue required as unary '&' operand << stack allocation ?

2016-01-20 Thread Konstantin Dmitriev
2016-01-20 14:44 GMT+06:00 : > Hello here... > > I'm taking care of the "#904 - C++11 and libsigc++ 2.6.0 support"[1] and i'm > front a problem i need help to solve. > > Firstly in this branch, i have enable c++11 support by adding some M4 and > converting isnan & isinf to std::' [2] > > Now i'm

[Synfig-devl] c++11 : lvalue required as unary '&' operand << stack allocation ?

2016-01-20 Thread d . j . a . y
Hello here... I'm taking care of the "#904 - C++11 and libsigc++ 2.6.0 support"[1] and i'm front a problem i need help to solve. Firstly in this branch, i have enable c++11 support by adding some M4 and converting isnan & isinf to std::' [2] Now i'm front face of "lvalue required as unary '&'