[sal][MSVC] Wrong global variable initialization order

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm doing custom builds (not wiki workflow) on VS2019.
So, the first target to build is sal, then codemaker and it does not
start because of an error during globals initialization by CRT (before
main call).

(sal/rtl/strimp.cxx) rtl_allocateStringFn rtl_allocateString = malloc;
is initialized after const OUString BACKSLASH ("\\");
(sal/osl/w32/path_helper.cxx), so it calls 0 address during dll
initialization.

Any chances to fix this?

See https://bugs.documentfoundation.org/show_bug.cgi?id=124611

-- 
Egor Pugin
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux