cpp_client_telemetry icon indicating copy to clipboard operation
cpp_client_telemetry copied to clipboard

Build issue with conflicting demangle definition with boost/core/demangle.hpp

Open rramachandra-msft opened this issue 3 years ago • 1 comments
trafficstars

Our product has boost as one of the third party libraries used. The "demangle" defined int typename.hpp is conflicting with boost's definition.

Steps to reproduce. Integration ClientTelemetry lib with boost libs.

rramachandra-msft avatar Sep 01 '22 17:09 rramachandra-msft

Looking into the boost docs, demangle is defined within boost::core: namespace, while 1ds-cpp-sdk defines it as static inline in global namespace. So, unless you are doing namespace pollution in the code (i.e., using namespace boost::core), the conflict shouldn't be there.

lalitb avatar Sep 06 '22 17:09 lalitb