Why disabling RTTI is a bad thing in libraries installed using package manager...steemCreated with Sketch.

in #programming4 years ago

RTTI is run-time type information... It is used in C++ and similar languages when one variable type needs to be converted to another variable type or if the code needs to know the type of the variable.

At least on Ubuntu, there is library packages built without RTTI (most notably librocksdb). This will cause link failure if program that has RTTI enabled tries to link against that library. To avoid these kinds of issues, a lot of third-party programs have compiled the same library from sources instead. This can trigger lengthy rebuild if some of the build files are modified.

Coin Marketplace

STEEM 0.21
TRX 0.25
JST 0.038
BTC 96989.50
ETH 3378.64
USDT 1.00
SBD 3.23