Category : abi

I am peeking into a shared library using the nm tool. I have two versions of this library, and on each version, I have a definition for an overloaded typecast, namely Version 1 [email protected]:~frameworkPath1/lib $ nm -D libcomm.so | c++filt | grep comm::InstanceID::operator 000cda80 T comm::InstanceID::operator std::__cxx11::basic_string<char, std::char_traits, std::allocator () const Version 2 [email protected]:~frameworkPath2/lib $ ..

Read more

I’m trying to check if C++ still have issues with a stable ABI. I need a stable way to export / import an example API like this: class MY_API SomeBase { public: // … virtual std::vector<std::string> foo(const std::string& param) = 0; }; class MY_API SomeImpl : public SomeBase { public: std::vector<std::string> foo(const std::string& param) override ..

Read more