Re: [Firebird-devel] Linking re2 and libstdc++ in Linux

2019-08-27 Thread Alex Peshkoff via Firebird-devel
On 26.08.2019 18:25, Adriano dos Santos Fernandes wrote: You noted situation above and I could give more reasons: - re2 has it interface in C++, i.e., there is not C wrapper function receiving C objects like ICU, so when we use shared re2, we'll using libstdc++ in our code, and it could be inlin

Re: [Firebird-devel] Attaching non-pooled memory or other resources to memory pool lifecycle

2019-08-27 Thread Dimitry Sibiryakov
27.08.2019 2:59, Adriano dos Santos Fernandes wrote: If the main object is not explicitly destroyed, i.e., destroyed by pool, the embedded objects leak. Because of this embedded objects must use pooled https://en.cppreference.com/w/cpp/named_req/Allocator -- WBR, SD. Firebird-Devel ma