summaryrefslogtreecommitdiff
path: root/solenv/gbuild
AgeCommit message (Collapse)Author
2024-04-24windows: set CONFIG_SHELL for external configure runsChristian Lohmaier
Change-Id: I9cb03692524eced35935ad1979027f7b196e5ed6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166329 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-04-22add undefining FORTIFY_SOURCE to the gcc no-opt flagsCaolán McNamara
We build non-optimized files by adding the no-opt flags to the compiler options that include the optimized flags, so add undefining FORTIFY_SOURCE to the -O0 line motivation here to have --enable-hardening-flags not add unhelpful extra warnings to the build for the parts built with -O0 Change-Id: Ib5416ad7f9f5ef907d7c767a5ebff6343b035cfe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166458 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-04-22add generic %/.dir target that can be used in order-only prerequisitesChristian Lohmaier
Change-Id: I7a919004100ff6319806bbdf016fda6a3a39661a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166327 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-04-22avoid exceeding command-line length limits when using zipChristian Lohmaier
to package an Extension. With all languages enabled one can reach the limit with longish buildpaths Change-Id: I8943d6570ded57761350311fb34a0cf469d3ce83 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166326 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-04-22com_MSC_class: set MAKE=nmake in gb_NMAKE_VARSChristian Lohmaier
Change-Id: I485a486efba39c12c52d7461f4b235163f009042 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166325 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-04-22help: don't use clean targets as .PHONY targetsChristian Lohmaier
Change-Id: Ic86270980823efb8dafd9d00ce33f986203cd975 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166323 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-04-22configure already sets TMPDIR to mixed pathChristian Lohmaier
Change-Id: I72070b054fb505c25f03ff46e7e663d1c1733ad8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166322 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-04-22generic is x86_64-specificCaolán McNamara
Change-Id: Ic9912cdebfc75816c54495db4fef68ebeed32c50 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166417 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-04-19Emscripten: Drop unused, deprecated EXPORTED_RUNTIME_METHODSStephan Bergmann
Linking Executable/soffice.html kept warning about > warning: JS library symbol '$allocateUTF8' is deprecated. Please open a bug if you have a continuing need for this symbol [-Wdeprecated] > warning: deprecated item in EXPORTED_RUNTIME_METHODS: printErr use err instead. > em++: warning: warnings in JS library compilation [-Wjs-compiler] printErr had been introduced in f090004c5f236275ca5142fc578f0375872c0336 "WASM adapt link and debug flags" and allocateUTF8 had been introduced in ce60a3dd4dbff0dcb5b82c9053ae5d90f8ac929d "Add LOKit functions and whitelist export for it to WASM", but in both cases no code seems to ever have made use of either of those two methods, before or after. Change-Id: I1e81ca6ddad748d91653f709c272328cc8f2b679 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166296 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-04-19add --enable-hardening-flags to enable compiler hardening flagsCaolán McNamara
distros typically have their own set via C[XX]FLAGS, so make this an optional argument some notes on the options: -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 https://www.redhat.com/en/blog/enhance-application-security-fortifysource (I see Fedora has recently bumped to to 3 since Jan 2024 https://fedoraproject.org/wiki/Changes/Add_FORTIFY_SOURCE%3D3_to_distribution_build_flags but here use 2 for now instead) -Wp,-D_GLIBCXX_ASSERTIONS https://fedoraproject.org/wiki/Changes/HardeningFlags28 -fstack-protector-strong (We already apply this by default) -fstack-clash-protection https://fedoraproject.org/wiki/Changes/HardeningFlags28 -fcf-protection https://fedoraproject.org/wiki/Changes/HardeningFlags28 https://cgit.freedesktop.org/libreoffice/core/commit/?id=af55dc3891f7950d392175004b2090cb0e54828e and record the compiler flags in debuginfo -grecord-gcc-switches Change-Id: Ib05387bad8324b188bd4ed0ee327d6a7cf83973b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163312 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 33483058f6e27f39633114721f7329c90571101d) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166289 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-04-18move writerfilter inside swNoel Grandin
writerfilter wants to convert incoming RTF and OOXML files into writer's document model. But it currently has to do so by manipulating the limited subset that we expose through the UNO API. This is both slower and less accurate than having access to the full document model. So move it inside, and then we can strip out various hacks, and optimise imports. Change-Id: Ie1114d28130ef5f9a786531bc552cb8ee7768015 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165953 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-22Determine OSL_DEBUG_LEVEL directly from dbglevelStephan Bergmann
...and reorder the code a bit, so that the dbglevel-releated code is separated from the gb_ENABLE_SYMBOLS_FOR-related code Change-Id: I80649b32fd6cceb8df1e4e2e29e98508e28f338b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165136 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-03-22$(ENABLE_DBGUTIL) implies $(debug) (aka $(ENABLE_DEBUG))Stephan Bergmann
...so no need to check the former in addition to the latter (which is done a few lines up) Change-Id: Iefe1ccbd3d22ca4e97425d20d1ff21f68d641b2c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165135 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-03-22Drop upper-case ENABLE_SYMBOLS, consolidate on lower-case enable_symbolsStephan Bergmann
Change-Id: I6bb6046968a74c49cc8441a1529f9934c90ed50c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165134 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-03-22Drop upper-case DEBUG, consolidate on lower-case debugStephan Bergmann
Change-Id: I352a7c7659e11a4c0800d1a9d73468123b8a5654 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165133 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-03-22Drop redundant gb_ENABLE_DBGUTILStephan Bergmann
Change-Id: I284e3601ad3d8fe7489e21182a98df40e8d9dbb5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165132 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-03-21Fix text layout in gbuild.help.txtStephan Bergmann
...left inconsistent by recent 76a986da868c52e9bd1cc6d219ed8f9441afd32b "Drop upper-case DBGLEVEL, consolidate on lower-case dbglevel" Change-Id: Ie10c011f2942a013e90c75e0fadd123695d97374 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165131 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-03-21Drop C/C++ DEBUG macroStephan Bergmann
...(that was defined iff OSL_DEBUG_LEVEL >= 2) and replace its uses with OSL_DEBUG_LEVEL directly Change-Id: I807c15a02cc8ced9852287df0afb4808761d19d2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165067 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-03-21Use ENABLE_DEBUG as a better indicator for "debug build"Stephan Bergmann
...than gb_DEBUGLEVEL as had been chosen by 448008d64c643d5a1aa2dc5cccc479efcd709a50 "only enable windows incremental linking for debug builds" Change-Id: Iabd2904596b3ac2a9d1c55d074cc929572615265 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165077 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-03-21Assume this hack is actually needed for --enable-optimizedStephan Bergmann
...and not for whatever dbglevel is set. (The latest claim that this hack is still needed at all is in the 2020-12-14 commit message e0a90aa3239621958bddbb30f98163e8c1ef857f "The workaround for MSVC C4702 is still needed".) Change-Id: Ia73be9417f2d738b0356e36b978beff019388ae1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165073 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-03-21Tie javac -g option to --enable-symbols instead of gb_DEBUGLEVELStephan Bergmann
...which appears to be a better fit. Now, gb_JavaClassSet_JAVACDEBUG is unconditionally defined as -g, but conditionally only used if gb_target_symbols_enabled is true for the given target (where the target is spelled "Jar/..." resp. "CustomTarget_jvmfwk/jreproperties" for the --enable-sybmols=... mini-language in configure.ac). Also, the odd special case to "force debug information for OOoRunner" has just been dropped. Change-Id: Ief10efc689d65e2f50888d3e96cb40f43cbb1b2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165071 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-03-21Drop upper-case DBGLEVEL, consolidate on lower-case dbglevelStephan Bergmann
Change-Id: I89e0121ba3d63852e39bf4d6141b0dc15b2408f2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165057 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-03-19Exclude Library_postgresql-sdbc-impl from --enable-mergelibs=more againStephan Bergmann
...which had been added there with ae17922b7d0f797129dd5fbd5514d691ac9ebeaa "add more libs into --enable-mergelibs=more build". But: For one, I'm not quite sure why the postgresql-sdbc functionality is split into two libraries Library_postgresql-sdbc and Library_postgresql-sdbc-impl, but there's supposedly a reason why the latter should stay in a dynamic library of its own? And for another, at least my --enable-ldap --enable-mergelibs=more --without-system-openldap etc. Linux build now started to crash during exit of CppunitTest_sd_export_tests-ooxml2 with > Invalid free() / delete / delete[] / realloc() > at 0x4845B2C: free (vg_replace_malloc.c:985) > by 0x1C5C11E3: ber_memfree_x (memory.c:152) > by 0x62895DC6: ldap_int_destroy_global_options (init.c:543) > by 0x40010F1: _dl_call_fini (dl-call_fini.c:43) > by 0x400506D: _dl_fini (dl-fini.c:114) > by 0x4EE7FD5: __run_exit_handlers (exit.c:111) > by 0x4EE811D: exit (exit.c:141) > by 0x4ECF150: (below main) (libc_start_call_main.h:74) > Address 0x103070f1f7f00 is not stack'd, malloc'd or (recently) free'd apparently because there are two competing at-exit calls to ldap_int_destroy_global_options in both LO's workdir/UnpackedTarball/openldap/libraries/libldap/init.c in instdir/program/libmergedlo.so (where that code ends up now, instead of in a library of its own that would apparently not happen to be loaded for this test) and in /usr/src/debug/openldap-2.6.6-1.fc39.x86_64/openldap-2.6.6/libraries/libldap/init.c in my (Fedora 39) system's /usr/lib64/libldap.so.2 (which apparently happens to get loaded into the process due to whatever other dependency). Change-Id: I5f4b944dfe2e09df2c6d33fc31d4dded4a453c60 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165025 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-03-16Revert "make skia into static library"Noel Grandin
This reverts commit 806b6014db796a3970332f9cefaaabf9355d0d8f. Reverting for now, this does not work with --enable-mergelib Change-Id: Ib44f819d0da9ed3769f76fc40b5c15ce097390a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164872 Tested-by: René Engelhard <rene@debian.org> Reviewed-by: René Engelhard <rene@debian.org>
2024-03-16make skia into static libraryNoel Grandin
We only need it inside one library, and this reduces the symbols we export from libmerged by over 1000. Change-Id: I8bf1b2479ba61e931dab0a5cfa81484d534c5658 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164846 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-12Revert "add sm to --enable-mergelibs=more"Noel Grandin
This reverts commit 87d3f768f3ecded1e1392442181edb287aed9e2e. The unit test at starmath/CppunitTest_starmath_qa_cppunit.mk is doing $(eval $(call gb_CppunitTest_use_library_objects,starmath_qa_cppunit,\ sm \ )) which it is using to access to all the internal functions of starmath. Unfortunately that linking trick is just not compatible with the mergelib linking. Change-Id: Ie3c81a0eeea5bed192de18981463497f251531a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164730 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-11add rpt libs to enable-mergelibs=moreNoel Grandin
Change-Id: I2b9acf1a897c962a60ec0c955ae6e9c6bea8ff8d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164656 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-07add sm to --enable-mergelibs=moreNoel Grandin
Which means (1) We need to extend the weak linkage magic for the sfx2 SFX_TYPEMAP stuff. Just make it unconditional, since it makes no difference for the individual items. (2) The initialisation of global const Sequence data in starmath stops working, because it runs too early. Use function-local static to initialise it on-demand Change-Id: Idc397515cd1d9621a06d237606c19acee600081a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164532 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-05add sdbt to --enable-mergelibs=moreNoel Grandin
Change-Id: Ib916270a32aa6f3c0f2d6a8ec43f99241f74b972 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164426 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-05add dbase,dbaxml to --enable-mergelibs=moreNoel Grandin
Change-Id: Ia0898c820cfcddf981f414b33a2854c3917edca2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164424 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-05add dbu to --enable-mergelibs=moreNoel Grandin
Change-Id: I04e6516c0bd8d4e0c08c93c59f7c5b0aea88b0ea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164420 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-05add dbahsql,dba to --enable-mergelibs=moreNoel Grandin
Change-Id: Iaabb3356ced33186eeb2bd545bebb20918010638 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164419 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-04add wpftcalc to --enable-mergelibs=moreNoel Grandin
Change-Id: I3f3bba92202e833066b1ef2e9f76ae34698a6b16 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164361 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-02Allow building with Java 8Fridrich Štrba
Change-Id: Ib1af1a98993aabb8a03f4ef19d8da4d9a71fdbc0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164226 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-02add wpft* to --enable-mergedlibs=moreNoel Grandin
Change-Id: I1168eb43638c3b18e3b9de96d89646420f80b52e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164218 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-02add OGLTrans to --enable-mergedlibs=moreNoel Grandin
Change-Id: I6df8cd8a11681cac971d53ec52b6dd97c18fd459 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164217 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-02add solver to --enable-mergedlibs=moreNoel Grandin
Change-Id: Ib3de04a85332430895bb6096a2cfaf1463f33b79 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164216 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-02add ado to --enable-mergedlibs=moreNoel Grandin
Change-Id: I0d04eb2ab9b6384576194dc2c6421310da227b8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164215 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-01add accessibility to --enable-mergedlibs=moreNoel Grandin
Also (*) fix the definition of ENABLE_MERGELIBS_MORE in configure.ac (*) Remove the dummy accessible factory in vcl, it creates more problems than it solves, because code will break when trying to use it, and then I get crashes far removed from the source of the problem (failure to find the acc factory). Change-Id: I969481d5ad2cfd7104d8240fdd0dce9d285fdb61 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164176 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-29add writerfilter to --enable-mergedlibs=moreNoel Grandin
Change-Id: I5b04b5e4a1023fc4da61bdcf148829f899e501d2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164152 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-29add cui to --enable-mergedlibs=moreNoel Grandin
Change-Id: I124b60d91491b4fecc8c564728f4d36c23845a68 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164151 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-28Revert "gbuild: WASM: try to fix "Missing generated source file *_embind.cxx""Stephan Bergmann
This reverts commit e4717342e5bea23f590a42d565a09ace600e2ca5. cppumaker no longer generates *_embind.cxx files since b2ade3e63e34556cad8157e25f8c75d29e79537d "Extract embindmaker from cppumaker into its own tool ...that directly generates one large .cxx." Change-Id: Ic4f60a502f3e592489cf0cee86878c327bbb4894 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164055 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-02-27remove hsqldb from mergedlibsNoel Grandin
regression from commit ae17922b7d0f797129dd5fbd5514d691ac9ebeaa Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Wed Feb 14 09:33:05 2024 +0200 add more libs into --enable-mergelibs=more build sberg is seeing This breaks e.g. dbaccess_hsqldb_test with java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: likely because the jar file is trying to load libhsqldb.so instead of libmerged.so Change-Id: I9f42aea6471dbe35b27a584465b333a1d30caf5b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164022 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-27Remove unused gb_CppunitTest_localized_runStephan Bergmann
...that appears to be unused ever since it got introduced in d8a8ed04b14390d4469ea19b079778fa6f074bb2 "gbuild allow unitest to run once per lang in WITH_LANG_LIST" Change-Id: Id43b8498ca68c274902dfb3dfd4b035e199cb9b3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163993 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-02-26Fix --enable-coredumpctl in CppunitTestStephan Bergmann
...which 533e993f2d11814252c40d60bdab469de03b14db "Don't reuse --unit values across (sequential, even) systemd-run invocations" had broken by moving the setting of the LIBO_TEST_UNIT var to a place where the use of that env var would no longer see it. Fix it by making the individual LO_TEST_LOCALE=* tests of gb_CppunitTest_localized more autonomous. Each one now has an individual log file and gets an individual gb_CppunitTest_postprocess treatment. Change-Id: Ie6875dda874e357426370d4d5166c05e36881210 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163967 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-02-24Fix typoAndrea Gelmini
Change-Id: Ibf6edff9b32cb28f5410991493a95d0cc916209d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163872 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2024-02-23Undo "move selection of UNO header variant to platform"Stephan Bergmann
...from 86f4727920ae515987005e3c414f1d6056079be1, as all the platforms define gb_UnoApiHeadersTarget_select_variant in effectively the same way, anyway. (And whether or not any of this actually makes any sense the way it is currently done.) Change-Id: I3b53ed3ee58b1115da31839aba5b2852dfe40920 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163826 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-02-23Fix dead linksMike Kaganski
Change-Id: I5c42fa227401e271bf8d4ce84f42a0667b37a6c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163803 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-02-23Suppress linker warnings for CLR objectsMike Kaganski
climaker_app.o : /DEBUG:FASTLINK is not supported when managed code is present; restarting link with /DEBUG:FULL Change-Id: Ia4c8ef862999650b317629273996166908232494 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163804 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-02-23Do not suppress newer compiler warnings on WindowsMike Kaganski
This partially reverts commit 133610669b8707a278d9b3b0af025779044fd8c5 (windows: silence new warning for now, 2016-02-21). That commit had disabled warnings introduced after VS 2013 (compiler major version 18). For now, it was impossible to remove the -Wv:18 from CLR flags. Also, some warnings in Boost were suppressed in vcl/source/window/layout.cxx: C:\lo\build\workdir\UnpackedTarball\boost\boost/multi_array/multi_array_ref.hpp(615): error C2220: the following warning is treated as an error C:\lo\build\workdir\UnpackedTarball\boost\boost/multi_array/multi_array_ref.hpp(615): warning C4459: declaration of 'extents' hides global declaration C:\lo\build\workdir\UnpackedTarball\boost\boost/multi_array/base.hpp(69): note: see declaration of 'boost::`anonymous-namespace'::extents' C:\lo\build\workdir\UnpackedTarball\boost\boost/multi_array/multi_array_ref.hpp(612): note: while compiling class template member function 'boost::multi_array_ref<T,2>::multi_array_ref(T *,const boost::general_storage_order<2> &,const __int64 *,const unsigned __int64 *)' with [ T=`anonymous-namespace'::GridEntry ] C:\lo\build\workdir\UnpackedTarball\boost\boost/multi_array.hpp(153): note: see reference to function template instantiation 'boost::multi_array_ref<T,2>::multi_array_ref(T *,const boost::general_storage_order<2> &,const __int64 *,const unsigned __int64 *)' being compiled with [ T=`anonymous-namespace'::GridEntry ] C:\lo\build\workdir\UnpackedTarball\boost\boost/multi_array.hpp(122): note: see reference to class template instantiation 'boost::multi_array_ref<T,2>' being compiled with [ T=`anonymous-namespace'::GridEntry ] C:/lo/core/vcl/source/window/layout.cxx(905): note: see reference to class template instantiation 'boost::multi_array<`anonymous-namespace'::GridEntry,2,std::allocator<T>>' being compiled with [ T=`anonymous-namespace'::GridEntry ] Change-Id: Ibf89e3d3e5a2f6a747bb7fbd214a9b27d8068901 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163717 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>