sirzooro

Results 85 comments of sirzooro

One more thing to consider: in my case my custom string class cannot be implicitly converted to std::string. I only have opposite conversion available, from std::string to my string class....

@falbrechtskirchinger my custom string class is something like @agauniyal's `secure_string`. I used `std::wstring` only as an example, to avoid pasting code of my string class here. It is something like...

> I will spend a bit of time this week to try and rough out the code using `__attribute__((visibility(default)))` to see if that works. Methods can stay inline, this should...

I have just recalled that MSVC has special pragma which tells compiler to add specified library to linker library list. This is potential workaround to automatically link extra API lib...

Thanks, this fixed my problem. Libraries compiled from sources usually installs their `config.h` file which stores all defines like this one, so I assumed that I do not have to...

> > BTW, I also had to switch to C++17 - with C++11 I got tons of compilation errors after I added -DHAVE_CPP_STDLIB. > > Yes, that's [expected](https://github.com/open-telemetry/opentelemetry-cpp/blob/b8fae39f81cfe079db84d7c5348b431b54580675/docs/dependencies.md#external-dependencies). It tries...

> Scope object is meant to control the Span reference life cycle inside Context - It attaches Span to Context during creation and detaches during destruction. Creating Scope objects without...

I also encountered this bug. I also found a workaround - create StreamSocket and pass it to HTTPClientSession: ```cpp Poco::Net::SocketAddress socketAddress(Poco::Net::SocketAddress::UNIX_LOCAL, socketPath); Poco::Net::StreamSocket socket(socketAddress); Poco::Net::HTTPClientSession session(socket); ```

Recently I looked how this could be done for NodeJS. At a first glance it seems that it would be enough to create thin NodeJS wrappers for TracerProvider, Tracer, Span,...