fix clang-cl build with -Zc:dllexportInlines-
This hack causes undefined references to those dllimport symbols, and it doesn't seem to be necessary for clang-cl (I've checked both normal and mergelibs build with -Zc:dllexportInlines-). Change-Id: Iaa336989507344442b59cec2e6c5078f91a42980 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126149 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
namespace com::sun::star::task { class XInteractionContinuation; }
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_MSC_VER) && !defined(__clang__)
|
||||
// MSVC automatically applies dllexport to template instantiations if they are a base class
|
||||
// of a dllexport class, and this template instantiation is a case of that. If we don't
|
||||
// dllimport here, MSVC will complain about duplicate symbols in a mergelibs build.
|
||||
|
||||
Reference in New Issue
Block a user