New gcc 4.7 c++ error

Orion Poplawski orion at cora.nwra.com
Thu Feb 2 23:27:48 UTC 2012


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<int>(Clear) | static_cast<int>(Select)

That compiled at least.  Thanks!

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder Office                  FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


More information about the devel mailing list