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.22
TRX 0.20
JST 0.034
BTC 98923.04
ETH 3381.66
USDT 1.00
SBD 3.09