[Libreoffice-bugs] [Bug 38835] strip out non-trivial globals before main

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun May 3 06:24:15 UTC 2020


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

--- Comment #53 from Buovjaga <ilmari.lauhakangas at libreoffice.org> ---
(In reply to ibarkleyyeung from comment #52)
> Quick question, is comment 9 still valid?
> 
> That is, is LibreOffice still supposed to be compatible with C++03? I don't
> know what the minimum C++ version is across the various compilers. Is the
> C++ version documented somewhere? 
> 
> I see uses of unique_ptr and unordered_map, so I'm assuming at least C++11.
> And C++11 ensures function-local statics are initialized exactly once even
> if multiple threads call the function. 
> 
> Just checking before I make a change.

Please refer to the compiler baseline:
https://git.libreoffice.org/core/+/master/README.md
Cross-check it with https://en.cppreference.com/w/cpp/compiler_support
LibreOffice can use the vast majority of features in C++17 and its standard
library.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200503/cdb64e4a/attachment.htm>


More information about the Libreoffice-bugs mailing list