# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # # # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # $(eval $(call gb_Library_Library,scn)) $(eval $(call gb_Library_use_externals,scn,\ boost_headers \ $(if $(filter-out WNT,$(OS)),sane_headers) \ )) $(eval $(call gb_Library_set_include,scn,\ -I$(SRCDIR)/extensions/inc \ $$(INCLUDE) \ )) $(eval $(call gb_Library_set_componentfile,scn,extensions/source/scanner/scn,services)) $(eval $(call gb_Library_use_sdk_api,scn)) $(eval $(call gb_Library_use_libraries,scn,\ comphelper \ cppu \ cppuhelper \ i18nlangtag \ sal \ $(if $(filter WNT,$(OS)),salhelper) \ svt \ $(if $(filter WNT,$(OS)),tk) \ tl \ utl \ vcl \ )) $(eval $(call gb_Library_add_exception_objects,scn,\ extensions/source/scanner/scanner \ )) ifeq ($(OS),WNT) $(eval $(call gb_Library_add_exception_objects,scn,\ extensions/source/scanner/scanwin \ )) else ifneq ($(OS),WNT) $(eval $(call gb_Library_add_exception_objects,scn,\ extensions/source/scanner/grid \ extensions/source/scanner/sane \ extensions/source/scanner/sanedlg \ extensions/source/scanner/scanunx \ )) ifeq ($(OS),LINUX) $(eval $(call gb_Library_add_libs,scn,\ -ldl \ )) endif endif endif # vim:set noet sw=4 ts=4: e='distro/cib/libreoffice-5-2'>distro/cib/libreoffice-5-2 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/cli_ure
AgeCommit message (Collapse)Author
2023-04-17Avoid MSVC error C2039Stephan Bergmann
At least with VS 2022 Preview 17.6.0 Preview 3.0 and (if that makes a difference here) --with-latest-c++, the build started to fail now for me with > cli_ure/source/climaker/climaker_app.cxx(603): error C2039: '{dtor}': is not a member of 'System::IDisposable' Originally, in 4c937bbdbbfd954936fdc92c4b35d90c2233719e "#107130# new", TypeEmitter in cli_ure/source/climaker/climaker_share.h had been defined as > __gc class TypeEmitter : public ::System::IDisposable with an overriding Dispose member function (and no user-declared dtor), and the code in cli_ure/source/climaker/climaker_app.cxx had called > type_emitter->Dispose(); when done. Then, in 6fa1a74ec4bb5820d1638ff3b872476f8652efe0 "convert climaker to new syntax", the definition of TypeEmitter had been changed to > ref class TypeEmitter : public ::System::IDisposable with a dtor instead of the overriding Dispose member function, and the code in cli_ure/source/climaker/climaker_app.cxx had been changed to call > type_emitter->~TypeEmitter(); instead. I have no deep understanding of the Managed C++/CLI stuff at play here, but it looks reasonable to avoid all this by not deriving from IDisposable (and relying on GC to clean up all instances) and introducing some explicit finish() protocol. Change-Id: I8ebfba9d9f9c32b65a50104d200306e06dc69f73 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150387 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-04-11allow native compile for windows aarch64Christian Lohmaier
using both --host=aarch64-pc-cygwin and --build=aarch64-pc-cygwin on a suitable system. Change-Id: Id11e25b03de8dd8dd52c63e7a06d57d44e3fce33 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150053 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2023-02-28Drop 'using namespace ::std' in Windows-specific filesGabor Kelemen
Change-Id: Id66d42f2139fbcac0fed56fe534107f65d198f02 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147877 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2022-06-13Drop obsolete preprocessor directives from UNOIDL filesStephan Bergmann
...which were used by ildc, which is gone since a8485d558fab53291e2530fd9a1be581c1628deb "[API CHANGE] Remove deprecated idlc and regmerge from the SDK", and have always been ignored as legacy by its unoidl-write replacement. This change has been carried out (making use of GNU sed extensions) with > for i in $(git ls-files \*.idl); do sed -i -z -E -e 's/\n\n((#[^\n]*\n)+\n)*(#[^\n]*\n)+\n?/\n\n/g' -e 's/\n(#[^\n]*\n)+/\n/g' "$i"; done && git checkout extensions/source/activex/so_activex.idl odk/examples/OLE/activex/so_activex.idl which apparently happened to do the work. (The final two files are not UNOIDL source files.) Change-Id: Ic9369e05d46e8f7e8a304ab01740b171b92335cd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135683 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04Just use Any ctor instead of makeAny in cli_ureStephan Bergmann
Change-Id: Iae41d9c4b600635bd5e2e61b65ea3859a14e6a1d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133840 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>