86b86ac87e
...that is not inline, so that RTTI and vtable are not emitted for each dynamic library individually. (Where they would be internal on macOS, which could break optimized uses of dynamic_cast for that final class just checking vtable pointer identity, as could happen for the dynamic_cast at dbaccess/source/core/dataaccess/documenteventnotifier.cxx:232:51, > 232 | const DocumentEventHolder& rEventHolder = dynamic_cast< const DocumentEventHolder& >( _rEvent ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ And with the extern explicit template instantiation, EventHolder needs to be SAL_DLLPUBLIC_TEMPLATE instead of just SAL_DLLPUBLIC_RTTI now, so that Library_comphelper will export the DocumentEventHolder ctors and DocumentEventHolder::getEventObject.) (This would ideally have been caught by an upcoming improvement of loplugin:dyncastvisibility, but might be complicated to check there for template instantiations.) Change-Id: I1e6280b185535968a870fbfadaff6238d38858e2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176547 Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de> Tested-by: Jenkins |
||
---|---|---|
.. | ||
inc/pch | ||
qa | ||
source | ||
util | ||
CppunitTest_comphelper_ifcontainer.mk | ||
CppunitTest_comphelper_parallelsort_test.mk | ||
CppunitTest_comphelper_syntaxhighlight_test.mk | ||
CppunitTest_comphelper_test.mk | ||
CppunitTest_comphelper_threadpool_test.mk | ||
CppunitTest_comphelper_variadictemplates_test.mk | ||
CppunitTest_comphelper_weakbag_test.mk | ||
IwyuFilter_comphelper.yaml | ||
JunitTest_comphelper_complex.mk | ||
Library_comphelper.mk | ||
Makefile | ||
Module_comphelper.mk | ||
PythonTest_comphelper_python.mk | ||
README.md | ||
StaticLibrary_windows_process.mk |
Helpers for Implementing UNO Components
Here goes anything not generic / mature enough to end up in URE's stable interface
at cppuhelper
, etc.