On 10/17/2016 10:28 AM, Nyall Dawson wrote:
> On 17 October 2016 at 18:24, Matthias Kuhn <matth...@opengis.ch> wrote:
>> Hi Tom,
>> RTTI is some low-level C++ functionality to determine an objects type
>> (roughly equivalent to `type(myobject)` in python). It can be enabled
>> and disabled during compilation. Apparently it was disabled on your QGIS
> Wouldn't that cause a ton of other errors though? It's used pretty
> heavily all throughout QGIS, and there's many other sip classes
> relying on it...
I had the same thoughts. And no final explanation.
Maybe it's something related to how sip bindings are compiled that they
have no access to RTTI. Plus I think it should be enabled on most
systems so issues don't surface too often.
But I think removing RTTI dependency where issues surface cannot hurt
(apart from some performance impacts due to string comparison here but I
guess this code here shouldn't be used so heavily that this will ever
make something feel slow.)
Qgis-developer mailing list
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer