Disable all DLL init functions in libgpg-error, since they're not actually run in statically linked libs. And libtool seems to unconditionally set that flag on all Windows builds. diff -ur libgpg-error.org/src/init.c libgpg-error/src/init.c --- libgpg-error.org/src/init.c 2017-02-28 10:11:05.000000000 +0100 +++ libgpg-error/src/init.c 2017-11-23 16:44:56.850797400 +0100 @@ -88,7 +88,7 @@ _gpg_err_init (void) { #ifdef HAVE_W32_SYSTEM -# ifdef DLL_EXPORT +# ifdef HAVE_DLL_INIT /* We always have a constructor and thus this function is called automatically. Due to the way the C init code of mingw works, the constructors are called before our DllMain function is @@ -130,7 +130,7 @@ void _gpg_err_deinit (int mode) { -#if defined (HAVE_W32_SYSTEM) && !defined(DLL_EXPORT) +#if defined (HAVE_W32_SYSTEM) && !defined(HAVE_DLL_INIT) struct tls_space_s *tls; tls = TlsGetValue (tls_index); @@ -473,7 +473,7 @@ /* Entry point called by the DLL loader. */ -#ifdef DLL_EXPORT +#ifdef HAVE_DLL_INIT int WINAPI DllMain (HINSTANCE hinst, DWORD reason, LPVOID reserved) { diff -ur libgpg-error.org/src/w32-gettext.c libgpg-error/src/w32-gettext.c --- libgpg-error.org/src/w32-gettext.c 2016-12-02 22:51:19.000000000 +0100 +++ libgpg-error/src/w32-gettext.c 2017-11-23 16:43:28.450453000 +0100 @@ -1180,7 +1180,7 @@ DLL. If used as a static lib we can't control the process set; for example it might be used with a main module which is not build with mingw and thus does not know how to call the constructors. */ -#ifdef DLL_EXPORT +#ifdef HAVE_DLL_INIT static void module_init (void) _GPG_ERR_CONSTRUCTOR; #endif static void @@ -1195,7 +1195,7 @@ } } -#if !defined(DLL_EXPORT) || !defined(_GPG_ERR_HAVE_CONSTRUCTOR) +#if !defined(HAVE_DLL_INIT) || !defined(_GPG_ERR_HAVE_CONSTRUCTOR) void _gpg_w32__init_gettext_module (void) { ce-6-3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/configmgr
AgeCommit message (Expand)Author
2023-03-24loplugin:stringadd in c*Noel Grandin
2023-03-16tdf#143148: Use pragma once instead of include guardsUday Sharma
2023-03-15Bump dconf minimum version requirementStephan Bergmann
2023-02-23unlock during dispose in configmgr::configuration_provider::ServiceNoel Grandin
2023-02-21fix locking in configmgr::configuration_provider::ServiceNoel Grandin
2023-02-21BaseMutex->std::mutex in configmgr::configuration_provider::ServiceNoel Grandin
2023-02-17Verify that zh-Hant-TW locale works in configmgr as intendedStephan Bergmann
2023-02-17Verify that es-419 locale works in configmgr as intendedStephan Bergmann
2023-02-17Try an override locale as first fallbackEike Rathke
2023-02-16Do not add empty language tag to fallback stringsEike Rathke
2023-02-16Improve testLocalizedPropertyStephan Bergmann
2023-02-15Use the (first segment of the) original locale value for the workaround againStephan Bergmann
2023-02-15Add a rudimentary test for localized propertiesStephan Bergmann
2023-02-15Remove unused configmgr/qa/unit/urebootstrap.iniStephan Bergmann
2023-02-02osl::Mutex->std::mutex in configmgr::read_write_access::ServiceNoel Grandin
2023-02-02osl::Mutex->std::mutex in configmgr::read_only_access::ServiceNoel Grandin
2023-01-23XUnoTunnel->dynamic_cast in configmgr::ChildAccessNoel Grandin
2022-10-11Deduplicate O(U)StringConcatenationMike Kaganski
2022-09-27Revert some string_view pessimizationStephan Bergmann
2022-09-27use more string_view in accessibility..configmgrNoel Grandin
2022-09-15Clean up color scheme migrationStephan Bergmann
2022-09-13Migrating product name related color schemes between different versionsBalazs Varga
2022-08-18Move tools/diagnose_ex.h to comphelper/diagnose_ex.hxxStephan Bergmann
2022-07-21elide some makeStringAndClear() callsNoel Grandin
2022-05-23clang-tidy modernize-pass-by-value in configmgrNoel Grandin
2022-05-17Revert "use boost::flat_map in config_map"Tor Lillqvist
2022-05-15use boost::flat_map in config_mapNoel Grandin
2022-05-12elide temporary std::vector in Access::getElementNamesNoel Grandin
2022-05-11avoid some ref-counting traffic in configmgr::Access:getNameInternalNoel Grandin
2022-04-26Adapt function's interface to change from OUString to std::u16string_viewStephan Bergmann
2022-04-13use more string_view in configmgrNoel Grandin
2022-04-13loplugin:stringviewparam whitelist some more functionsNoel Grandin
2022-04-11use more string_viewNoel Grandin
2022-04-02loplugin:stringviewparam convert methods using indexOfNoel Grandin
2022-02-08Extend loplugin:stringview to O[U]StringBuffer::toStringStephan Bergmann
2022-01-13Recheck modules [a-c]* with IWYUGabor Kelemen