Re: pre-init / strings ...

2017-12-13 Thread Stephan Bergmann
On 12/11/2017 11:06 PM, Michael Meeks wrote: On 08/12/17 16:20, Stephan Bergmann wrote: So, it would be interesting to know whether the issue indeed is mostly with such rtl_uString instances, so that the mechanism I outlined above would be going to sufficiently solve your issue. [...]

Re: pre-init / strings ...

2017-12-11 Thread Michael Meeks
Hi Stephan On 08/12/17 16:20, Stephan Bergmann wrote: >>> So, it would be interesting to know whether the issue indeed is mostly >>> with such rtl_uString instances, so that the mechanism I outlined above >>> would be going to sufficiently solve your issue. > > That's why I mentioned that it is

Re: pre-init / strings ...

2017-12-08 Thread Stephan Bergmann
On 12/08/2017 03:06 PM, Michael Meeks wrote: On 08/12/17 09:26, Stephan Bergmann wrote: I think that with "String literals as non-type template parameters" potentially making it into C++20 (and potentially being available in

pre-init / strings ...

2017-12-07 Thread Michael Meeks
ddr) + 4; +rtl_uString *str = reinterpret_cast(inner); +str->refCount |= SAL_STRING_STATIC_FLAG; +} +} // extern "C" + +void SAL_CALL rtl_alloc_preInit (sal_Bool start) SAL_THROW_EXTERN_C() +{ +if (getenv("SAL_DISABLE_PREINIT")) +return; + +