Re: New gcc 4.7 c++ error

2012-02-02 Thread Orion Poplawski
On 01/30/2012 02:34 PM, Krzesimir Nowak wrote: I guess that Q_DECLARE_FLAGS macro for QItemSelectionModel overrides this operator. Possible workaround for it would be: ClearAndSelect = static_cast(Clear) | static_cast(Select) That compiled at least. Thanks! -- Orion Poplawski Technical Man

Re: New gcc 4.7 c++ error

2012-01-30 Thread Krzesimir Nowak
2012/1/30 Orion Poplawski : > On 01/30/2012 11:49 AM, Kalev Lember wrote: >> >> On 01/30/2012 08:24 PM, Orion Poplawski wrote: >>> >>> I am getting the following error building paraview with gcc 4.7: >>> >>> In file included from >>> /builddir/build/BUILD/ParaView-3.12.0/Qt/Core/pqAnimationScene.cx

Re: New gcc 4.7 c++ error

2012-01-30 Thread Orion Poplawski
On 01/30/2012 11:49 AM, Kalev Lember wrote: On 01/30/2012 08:24 PM, Orion Poplawski wrote: I am getting the following error building paraview with gcc 4.7: In file included from /builddir/build/BUILD/ParaView-3.12.0/Qt/Core/pqAnimationScene.cxx:57:0: /builddir/build/BUILD/ParaView-3.12.0/Qt/Cor

Re: New gcc 4.7 c++ error

2012-01-30 Thread Kalev Lember
On 01/30/2012 08:24 PM, Orion Poplawski wrote: > I am getting the following error building paraview with gcc 4.7: > > In file included from > /builddir/build/BUILD/ParaView-3.12.0/Qt/Core/pqAnimationScene.cxx:57:0: > /builddir/build/BUILD/ParaView-3.12.0/Qt/Core/pqServerManagerSelectionModel.h:75: