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(().real()); + Array arr_surface((Real*)()); In previous implementation of GCC real() returns reference instead of value. But anyway old and new standards says what real() should returns value (not reference). So

[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

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