diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-05-24 11:45:26 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2019-05-24 13:46:03 +0200 |
commit | cb7a39ac64253a6d0e11cfe1837ad3da2465c38e (patch) | |
tree | 300c05bf767b1e1bf6bd8b0f95911fb79054c2b5 /external | |
parent | d6865e5cec34f5f521e0f9ec4ef3c7ad04503cfe (diff) |
disable warnings in external libs
As in, really disable, so that they do not even show. This moreover
avoids tons of D9025 warnings from MSVC about overriding -W4 with -w.
Change-Id: Ia2e72fd72d883d91bdd89e467ee42f259e2ae033
Reviewed-on: https://gerrit.libreoffice.org/72899
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'external')
40 files changed, 40 insertions, 83 deletions
diff --git a/external/boost/StaticLibrary_boost_date_time.mk b/external/boost/StaticLibrary_boost_date_time.mk index 9f871ee164fe..573947fd71ee 100644 --- a/external/boost/StaticLibrary_boost_date_time.mk +++ b/external/boost/StaticLibrary_boost_date_time.mk @@ -11,7 +11,7 @@ $(eval $(call gb_StaticLibrary_StaticLibrary,boost_date_time)) $(eval $(call gb_StaticLibrary_use_unpacked,boost_date_time,boost)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,boost_date_time)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,boost_date_time)) # disable "auto link" "feature" on MSVC $(eval $(call gb_StaticLibrary_add_defs,boost_date_time,\ diff --git a/external/boost/StaticLibrary_boost_filesystem.mk b/external/boost/StaticLibrary_boost_filesystem.mk index 024308abd320..a49f06b6dba5 100644 --- a/external/boost/StaticLibrary_boost_filesystem.mk +++ b/external/boost/StaticLibrary_boost_filesystem.mk @@ -11,7 +11,7 @@ $(eval $(call gb_StaticLibrary_StaticLibrary,boost_filesystem)) $(eval $(call gb_StaticLibrary_use_unpacked,boost_filesystem,boost)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,boost_filesystem)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,boost_filesystem)) # disable "auto link" "feature" on MSVC $(eval $(call gb_StaticLibrary_add_defs,boost_filesystem,\ diff --git a/external/boost/StaticLibrary_boost_iostreams.mk b/external/boost/StaticLibrary_boost_iostreams.mk index f3049ba2570e..0884a5aee2cd 100644 --- a/external/boost/StaticLibrary_boost_iostreams.mk +++ b/external/boost/StaticLibrary_boost_iostreams.mk @@ -9,7 +9,7 @@ $(eval $(call gb_StaticLibrary_StaticLibrary,boost_iostreams)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,boost_iostreams)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,boost_iostreams)) # disable "auto link" "feature" on MSVC $(eval $(call gb_StaticLibrary_add_defs,boost_iostreams,\ diff --git a/external/boost/StaticLibrary_boost_locale.mk b/external/boost/StaticLibrary_boost_locale.mk index 520131fb9174..5481097728bd 100644 --- a/external/boost/StaticLibrary_boost_locale.mk +++ b/external/boost/StaticLibrary_boost_locale.mk @@ -11,7 +11,7 @@ $(eval $(call gb_StaticLibrary_StaticLibrary,boost_locale)) $(eval $(call gb_StaticLibrary_use_unpacked,boost_locale,boost)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,boost_locale)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,boost_locale)) # disable "auto link" "feature" on MSVC $(eval $(call gb_StaticLibrary_add_defs,boost_locale,\ diff --git a/external/boost/StaticLibrary_boost_system.mk b/external/boost/StaticLibrary_boost_system.mk index 03970afa41d3..e4b05d7b5cde 100644 --- a/external/boost/StaticLibrary_boost_system.mk +++ b/external/boost/StaticLibrary_boost_system.mk @@ -11,7 +11,7 @@ $(eval $(call gb_StaticLibrary_StaticLibrary,boost_system)) $(eval $(call gb_StaticLibrary_use_unpacked,boost_system,boost)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,boost_system)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,boost_system)) # disable "auto link" "feature" on MSVC $(eval $(call gb_StaticLibrary_add_defs,boost_system,\ diff --git a/external/breakpad/StaticLibrary_breakpad.mk b/external/breakpad/StaticLibrary_breakpad.mk index 257db329a8b5..fc5d3251f5bd 100644 --- a/external/breakpad/StaticLibrary_breakpad.mk +++ b/external/breakpad/StaticLibrary_breakpad.mk @@ -9,7 +9,7 @@ $(eval $(call gb_StaticLibrary_StaticLibrary,breakpad)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,breakpad)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,breakpad)) $(eval $(call gb_StaticLibrary_use_unpacked,breakpad,breakpad)) diff --git a/external/clucene/Library_clucene.mk b/external/clucene/Library_clucene.mk index f04961398797..a6dc8576f0b1 100644 --- a/external/clucene/Library_clucene.mk +++ b/external/clucene/Library_clucene.mk @@ -13,7 +13,7 @@ $(eval $(call gb_Library_use_external,clucene,zlib)) $(eval $(call gb_Library_use_unpacked,clucene,clucene)) -$(eval $(call gb_Library_set_warnings_not_errors,clucene)) +$(eval $(call gb_Library_set_warnings_disabled,clucene)) $(eval $(call gb_Library_set_include,clucene,\ -I$(call gb_UnpackedTarball_get_dir,clucene)/inc/internal \ @@ -35,15 +35,6 @@ $(eval $(call gb_Library_add_defs,clucene, \ -D_HAS_AUTO_PTR_ETC=1 \ )) -# clucene is riddled with warnings... let's spare use -# the pointless spamming -$(eval $(call gb_Library_add_cxxflags,clucene,\ - -w \ -)) -$(eval $(call gb_Library_add_cflags,clucene,\ - -w \ -)) - ifeq ($(OS),LINUX) $(eval $(call gb_Library_add_libs,clucene,\ -lm \ diff --git a/external/epoxy/Library_epoxy.mk b/external/epoxy/Library_epoxy.mk index 12424b1af13f..81c35d695997 100644 --- a/external/epoxy/Library_epoxy.mk +++ b/external/epoxy/Library_epoxy.mk @@ -11,7 +11,7 @@ $(eval $(call gb_Library_Library,epoxy)) $(eval $(call gb_Library_use_unpacked,epoxy,epoxy)) -$(eval $(call gb_Library_set_warnings_not_errors,epoxy)) +$(eval $(call gb_Library_set_warnings_disabled,epoxy)) $(eval $(call gb_Library_set_include,epoxy,\ -I$(call gb_UnpackedTarball_get_dir,epoxy)/include \ @@ -19,15 +19,6 @@ $(eval $(call gb_Library_set_include,epoxy,\ $$(INCLUDE) \ )) -# epoxy is riddled with warnings... let's spare us -# the pointless spamming -$(eval $(call gb_Library_add_cxxflags,epoxy,\ - -w \ -)) -$(eval $(call gb_Library_add_cflags,epoxy,\ - -w \ -)) - ifeq ($(OS),LINUX) $(eval $(call gb_Library_add_libs,epoxy,\ -ldl \ diff --git a/external/expat/StaticLibrary_expat.mk b/external/expat/StaticLibrary_expat.mk index 31d03d03102e..65b1dcb5568a 100644 --- a/external/expat/StaticLibrary_expat.mk +++ b/external/expat/StaticLibrary_expat.mk @@ -9,7 +9,7 @@ $(eval $(call gb_StaticLibrary_StaticLibrary,expat)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,expat)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,expat)) $(eval $(call gb_StaticLibrary_use_unpacked,expat,expat)) @@ -42,11 +42,6 @@ $(eval $(call gb_StaticLibrary_add_defs,expat,\ )) endif -# suppress warning spam -$(eval $(call gb_StaticLibrary_add_cflags,expat,\ - -w \ -)) - $(eval $(call gb_StaticLibrary_add_generated_cobjects,expat,\ UnpackedTarball/expat/lib/loadlibrary \ UnpackedTarball/expat/lib/xmlparse \ diff --git a/external/expat/StaticLibrary_expat_x64.mk b/external/expat/StaticLibrary_expat_x64.mk index 4f92d0fb284e..e5b1e51ab994 100644 --- a/external/expat/StaticLibrary_expat_x64.mk +++ b/external/expat/StaticLibrary_expat_x64.mk @@ -11,7 +11,7 @@ $(eval $(call gb_StaticLibrary_StaticLibrary,expat_x64)) $(eval $(call gb_StaticLibrary_set_x64,expat_x64,YES)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,expat_x64)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,expat_x64)) $(eval $(call gb_StaticLibrary_use_unpacked,expat_x64,expat)) diff --git a/external/gpgmepp/Library_gpgmepp.mk b/external/gpgmepp/Library_gpgmepp.mk index 8a69e954bf31..a7d0ba349c9b 100644 --- a/external/gpgmepp/Library_gpgmepp.mk +++ b/external/gpgmepp/Library_gpgmepp.mk @@ -19,7 +19,7 @@ $(eval $(call gb_Library_use_externals,gpgmepp,\ $(eval $(call gb_LinkTarget_use_external_project,\ $(call gb_Library_get_linktarget,gpgmepp),gpgmepp,full)) -$(eval $(call gb_Library_set_warnings_not_errors,gpgmepp)) +$(eval $(call gb_Library_set_warnings_disabled,gpgmepp)) $(eval $(call gb_Library_set_include,gpgmepp,\ -I$(call gb_UnpackedTarball_get_dir,gpgmepp)/lang/cpp/src \ diff --git a/external/graphite/StaticLibrary_graphite.mk b/external/graphite/StaticLibrary_graphite.mk index a8f8bce7cc6f..ee233a10b028 100644 --- a/external/graphite/StaticLibrary_graphite.mk +++ b/external/graphite/StaticLibrary_graphite.mk @@ -11,7 +11,7 @@ $(eval $(call gb_StaticLibrary_StaticLibrary,graphite)) $(eval $(call gb_StaticLibrary_use_unpacked,graphite,graphite)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,graphite)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,graphite)) $(eval $(call gb_StaticLibrary_set_include,graphite,\ -I$(call gb_UnpackedTarball_get_dir,graphite/include) \ diff --git a/external/hunspell/StaticLibrary_hunspell.mk b/external/hunspell/StaticLibrary_hunspell.mk index 895d28e29968..02d534f69169 100644 --- a/external/hunspell/StaticLibrary_hunspell.mk +++ b/external/hunspell/StaticLibrary_hunspell.mk @@ -13,7 +13,7 @@ $(eval $(call gb_StaticLibrary_use_unpacked,hunspell,hunspell)) $(eval $(call gb_StaticLibrary_use_external,hunspell,icu_headers)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,hunspell)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,hunspell)) $(eval $(call gb_StaticLibrary_add_defs,hunspell,\ -DHUNSPELL_STATIC \ diff --git a/external/hyphen/StaticLibrary_hyphen.mk b/external/hyphen/StaticLibrary_hyphen.mk index 81eddf17d850..e911feb9bef8 100644 --- a/external/hyphen/StaticLibrary_hyphen.mk +++ b/external/hyphen/StaticLibrary_hyphen.mk @@ -11,7 +11,7 @@ $(eval $(call gb_StaticLibrary_StaticLibrary,hyphen)) $(eval $(call gb_StaticLibrary_use_unpacked,hyphen,hyphen)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,hyphen)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,hyphen)) $(eval $(call gb_StaticLibrary_add_generated_cobjects,hyphen,\ UnpackedTarball/hyphen/hyphen \ diff --git a/external/libcmis/StaticLibrary_libcmis.mk b/external/libcmis/StaticLibrary_libcmis.mk index 9ce87b2398ab..1cdf5f02b6ab 100644 --- a/external/libcmis/StaticLibrary_libcmis.mk +++ b/external/libcmis/StaticLibrary_libcmis.mk @@ -9,7 +9,7 @@ $(eval $(call gb_StaticLibrary_StaticLibrary,libcmis)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,libcmis)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,libcmis)) ifeq ($(COM_IS_CLANG),TRUE) # Avoid narrowing conversion error (even though the option is technically a warning) diff --git a/external/libetonyek/Library_etonyek.mk b/external/libetonyek/Library_etonyek.mk index d4bb5a3e4736..4aa8019d9611 100644 --- a/external/libetonyek/Library_etonyek.mk +++ b/external/libetonyek/Library_etonyek.mk @@ -21,7 +21,7 @@ $(eval $(call gb_Library_use_externals,etonyek,\ zlib \ )) -$(eval $(call gb_Library_set_warnings_not_errors,etonyek)) +$(eval $(call gb_Library_set_warnings_disabled,etonyek)) $(eval $(call gb_Library_set_precompiled_header,etonyek,$(SRCDIR)/external/libetonyek/inc/pch/precompiled_etonyek)) diff --git a/external/libexttextcat/StaticLibrary_libexttextcat.mk b/external/libexttextcat/StaticLibrary_libexttextcat.mk index b3301fa73665..1e70f85011ae 100644 --- a/external/libexttextcat/StaticLibrary_libexttextcat.mk +++ b/external/libexttextcat/StaticLibrary_libexttextcat.mk @@ -11,7 +11,7 @@ $(eval $(call gb_StaticLibrary_StaticLibrary,libexttextcat)) $(eval $(call gb_StaticLibrary_use_unpacked,libexttextcat,libexttextcat)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,libexttextcat)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,libexttextcat)) $(eval $(call gb_StaticLibrary_add_generated_cobjects,libexttextcat,\ UnpackedTarball/libexttextcat/src/common \ diff --git a/external/libmwaw/Library_mwaw.mk b/external/libmwaw/Library_mwaw.mk index e74d30dfb7b3..0dc4e47d60c0 100644 --- a/external/libmwaw/Library_mwaw.mk +++ b/external/libmwaw/Library_mwaw.mk @@ -15,7 +15,7 @@ $(eval $(call gb_Library_use_externals,mwaw,\ revenge \ )) -$(eval $(call gb_Library_set_warnings_not_errors,mwaw)) +$(eval $(call gb_Library_set_warnings_disabled,mwaw)) $(eval $(call gb_Library_set_precompiled_header,mwaw,$(SRCDIR)/external/libmwaw/inc/pch/precompiled_mwaw)) diff --git a/external/libnumbertext/StaticLibrary_libnumbertext.mk b/external/libnumbertext/StaticLibrary_libnumbertext.mk index 838fbd4fd498..78b384a55dd1 100644 --- a/external/libnumbertext/StaticLibrary_libnumbertext.mk +++ b/external/libnumbertext/StaticLibrary_libnumbertext.mk @@ -11,7 +11,7 @@ $(eval $(call gb_StaticLibrary_StaticLibrary,libnumbertext)) $(eval $(call gb_StaticLibrary_use_unpacked,libnumbertext,libnumbertext)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,libnumbertext)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,libnumbertext)) $(eval $(call gb_StaticLibrary_add_generated_exception_objects,libnumbertext,\ UnpackedTarball/libnumbertext/src/Soros \ diff --git a/external/libodfgen/Library_odfgen.mk b/external/libodfgen/Library_odfgen.mk index 952c3ce9b002..946fa9081452 100644 --- a/external/libodfgen/Library_odfgen.mk +++ b/external/libodfgen/Library_odfgen.mk @@ -15,7 +15,7 @@ $(eval $(call gb_Library_use_externals,odfgen,\ revenge \ )) -$(eval $(call gb_Library_set_warnings_not_errors,odfgen)) +$(eval $(call gb_Library_set_warnings_disabled,odfgen)) $(eval $(call gb_Library_set_include,odfgen,\ -I$(call gb_UnpackedTarball_get_dir,libodfgen)/inc \ diff --git a/external/liborcus/Library_orcus-parser.mk b/external/liborcus/Library_orcus-parser.mk index 83a4a2f48806..32367b843f68 100644 --- a/external/liborcus/Library_orcus-parser.mk +++ b/external/liborcus/Library_orcus-parser.mk @@ -18,7 +18,7 @@ $(eval $(call gb_Library_use_externals,orcus-parser,\ zlib \ )) -$(eval $(call gb_Library_set_warnings_not_errors,orcus-parser)) +$(eval $(call gb_Library_set_warnings_disabled,orcus-parser)) $(eval $(call gb_Library_set_include,orcus-parser,\ -I$(call gb_UnpackedTarball_get_dir,liborcus)/include \ diff --git a/external/liborcus/Library_orcus.mk b/external/liborcus/Library_orcus.mk index 1f026c425244..2b20cdf84ea4 100644 --- a/external/liborcus/Library_orcus.mk +++ b/external/liborcus/Library_orcus.mk @@ -20,7 +20,7 @@ $(eval $(call gb_Library_use_externals,orcus,\ zlib \ )) -$(eval $(call gb_Library_set_warnings_not_errors,orcus)) +$(eval $(call gb_Library_set_warnings_disabled,orcus)) $(eval $(call gb_Library_set_include,orcus,\ -I$(call gb_UnpackedTarball_get_dir,liborcus)/include \ diff --git a/external/libpng/StaticLibrary_libpng.mk b/external/libpng/StaticLibrary_libpng.mk index f43a462c7935..cb8428ec4dae 100644 --- a/external/libpng/StaticLibrary_libpng.mk +++ b/external/libpng/StaticLibrary_libpng.mk @@ -9,7 +9,7 @@ $(eval $(call gb_StaticLibrary_StaticLibrary,libpng)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,libpng)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,libpng)) $(eval $(call gb_StaticLibrary_use_unpacked,libpng,libpng)) diff --git a/external/librevenge/Library_revenge.mk b/external/librevenge/Library_revenge.mk index 19767818190c..4250e4e5778b 100644 --- a/external/librevenge/Library_revenge.mk +++ b/external/librevenge/Library_revenge.mk @@ -15,7 +15,7 @@ $(eval $(call gb_Library_use_externals,revenge,\ boost_headers \ )) -$(eval $(call gb_Library_set_warnings_not_errors,revenge)) +$(eval $(call gb_Library_set_warnings_disabled,revenge)) $(eval $(call gb_Library_set_include,revenge,\ -I$(call gb_UnpackedTarball_get_dir,librevenge)/inc \ diff --git a/external/libstaroffice/Library_staroffice.mk b/external/libstaroffice/Library_staroffice.mk index 079003e48e48..506ec45f53e2 100644 --- a/external/libstaroffice/Library_staroffice.mk +++ b/external/libstaroffice/Library_staroffice.mk @@ -15,7 +15,7 @@ $(eval $(call gb_Library_use_externals,staroffice,\ revenge \ )) -$(eval $(call gb_Library_set_warnings_not_errors,staroffice)) +$(eval $(call gb_Library_set_warnings_disabled,staroffice)) $(eval $(call gb_Library_set_include,staroffice,\ -I$(call gb_UnpackedTarball_get_dir,libstaroffice)/inc \ diff --git a/external/libwpd/Library_wpd.mk b/external/libwpd/Library_wpd.mk index 2c84a5b5bb24..0307b374fc3c 100644 --- a/external/libwpd/Library_wpd.mk +++ b/external/libwpd/Library_wpd.mk @@ -16,7 +16,7 @@ $(eval $(call gb_Library_use_externals,wpd,\ revenge \ )) -$(eval $(call gb_Library_set_warnings_not_errors,wpd)) +$(eval $(call gb_Library_set_warnings_disabled,wpd)) $(eval $(call gb_Library_set_include,wpd,\ -I$(call gb_UnpackedTarball_get_dir,libwpd)/inc \ diff --git a/external/libwpg/Library_wpg.mk b/external/libwpg/Library_wpg.mk index 4eb5c5d8b8fe..09dc34915238 100644 --- a/external/libwpg/Library_wpg.mk +++ b/external/libwpg/Library_wpg.mk @@ -16,7 +16,7 @@ $(eval $(call gb_Library_use_externals,wpg,\ wpd \ )) -$(eval $(call gb_Library_set_warnings_not_errors,wpg)) +$(eval $(call gb_Library_set_warnings_disabled,wpg)) $(eval $(call gb_Library_set_include,wpg,\ -I$(call gb_UnpackedTarball_get_dir,libwpg)/inc \ diff --git a/external/libwps/Library_wps.mk b/external/libwps/Library_wps.mk index 9c4f5330fd69..08b0caa9a7fe 100644 --- a/external/libwps/Library_wps.mk +++ b/external/libwps/Library_wps.mk @@ -15,7 +15,7 @@ $(eval $(call gb_Library_use_externals,wps,\ revenge \ )) -$(eval $(call gb_Library_set_warnings_not_errors,wps)) +$(eval $(call gb_Library_set_warnings_disabled,wps)) $(eval $(call gb_Library_set_include,wps,\ -I$(call gb_UnpackedTarball_get_dir,libwps)/inc \ diff --git a/external/mariadb-connector-c/StaticLibrary_mariadb-connector-c.mk b/external/mariadb-connector-c/StaticLibrary_mariadb-connector-c.mk index 78641c53d27e..3e35e1d648c5 100644 --- a/external/mariadb-connector-c/StaticLibrary_mariadb-connector-c.mk +++ b/external/mariadb-connector-c/StaticLibrary_mariadb-connector-c.mk @@ -9,7 +9,7 @@ $(eval $(call gb_StaticLibrary_StaticLibrary,mariadb-connector-c)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,mariadb-connector-c)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,mariadb-connector-c)) $(eval $(call gb_StaticLibrary_use_unpacked,mariadb-connector-c,mariadb-connector-c)) diff --git a/external/mdnsresponder/StaticLibrary_mDNSResponder.mk b/external/mdnsresponder/StaticLibrary_mDNSResponder.mk index 196b0c7baaf8..222776ad3a86 100644 --- a/external/mdnsresponder/StaticLibrary_mDNSResponder.mk +++ b/external/mdnsresponder/StaticLibrary_mDNSResponder.mk @@ -9,7 +9,7 @@ $(eval $(call gb_StaticLibrary_StaticLibrary,mDNSResponder)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,mDNSResponder)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,mDNSResponder)) $(eval $(call gb_StaticLibrary_use_unpacked,mDNSResponder,mDNSResponder)) diff --git a/external/mythes/StaticLibrary_mythes.mk b/external/mythes/StaticLibrary_mythes.mk index 34411479e63c..74a9e07c4f56 100644 --- a/external/mythes/StaticLibrary_mythes.mk +++ b/external/mythes/StaticLibrary_mythes.mk @@ -11,7 +11,7 @@ $(eval $(call gb_StaticLibrary_StaticLibrary,mythes)) $(eval $(call gb_StaticLibrary_use_unpacked,mythes,mythes)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,mythes)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,mythes)) $(eval $(call gb_StaticLibrary_add_generated_exception_objects,mythes,\ UnpackedTarball/mythes/mythes \ diff --git a/external/neon/Library_neon.mk b/external/neon/Library_neon.mk index 2698fe8aeff0..0afd6f4eff81 100644 --- a/external/neon/Library_neon.mk +++ b/external/neon/Library_neon.mk @@ -22,13 +22,7 @@ $(eval $(call gb_Library_use_externals,neon,\ $(eval $(call gb_Library_set_visibility_default,neon)) -# neon has its share of warning... let's spare use -# the pointless spamming -$(eval $(call gb_Library_add_cflags,neon,\ - -w \ -)) - -$(eval $(call gb_Library_set_warnings_not_errors,neon)) +$(eval $(call gb_Library_set_warnings_disabled,neon)) $(eval $(call gb_Library_add_generated_cobjects,neon,\ UnpackedTarball/neon/src/ne_207 \ diff --git a/external/pdfium/Library_pdfium.mk b/external/pdfium/Library_pdfium.mk index acc2f7d38d84..c24894304078 100644 --- a/external/pdfium/Library_pdfium.mk +++ b/external/pdfium/Library_pdfium.mk @@ -11,7 +11,7 @@ $(eval $(call gb_Library_Library,pdfium)) $(eval $(call gb_Library_use_unpacked,pdfium,pdfium)) -$(eval $(call gb_Library_set_warnings_not_errors,pdfium)) +$(eval $(call gb_Library_set_warnings_disabled,pdfium)) $(eval $(call gb_Library_set_precompiled_header,pdfium,$(SRCDIR)/external/pdfium/inc/pch/precompiled_pdfium)) @@ -33,14 +33,6 @@ $(eval $(call gb_Library_add_defs,pdfium,\ -DWIN32_LEAN_AND_MEAN \ )) -# Don't show warnings upstream doesn't care about. -$(eval $(call gb_Library_add_cxxflags,pdfium,\ - -w \ -)) -$(eval $(call gb_Library_add_cflags,pdfium,\ - -w \ -)) - $(eval $(call gb_Library_set_generated_cxx_suffix,pdfium,cpp)) # pdfium diff --git a/external/poppler/StaticLibrary_poppler.mk b/external/poppler/StaticLibrary_poppler.mk index 689db0ecbb74..bdb51ad115da 100644 --- a/external/poppler/StaticLibrary_poppler.mk +++ b/external/poppler/StaticLibrary_poppler.mk @@ -13,7 +13,7 @@ $(eval $(call gb_StaticLibrary_use_unpacked,poppler,poppler)) $(eval $(call gb_StaticLibrary_use_external,poppler,libjpeg)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,poppler)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,poppler)) $(eval $(call gb_StaticLibrary_set_include,poppler,\ -I$(WORKDIR)/UnpackedTarball/poppler \ diff --git a/external/redland/Library_raptor.mk b/external/redland/Library_raptor.mk index 146a46e90cfe..b2779f7dec17 100644 --- a/external/redland/Library_raptor.mk +++ b/external/redland/Library_raptor.mk @@ -21,7 +21,7 @@ $(eval $(call gb_Library_use_externals,raptor2,\ libxslt \ )) -$(eval $(call gb_Library_set_warnings_not_errors,raptor2)) +$(eval $(call gb_Library_set_warnings_disabled,raptor2)) $(eval $(call gb_Library_add_defs,raptor2,\ -DHAVE_CONFIG_H \ diff --git a/external/redland/Library_rasqal.mk b/external/redland/Library_rasqal.mk index 46b37c2116a3..79171d9045fe 100644 --- a/external/redland/Library_rasqal.mk +++ b/external/redland/Library_rasqal.mk @@ -11,7 +11,7 @@ $(eval $(call gb_Library_Library,rasqal)) $(eval $(call gb_Library_use_unpacked,rasqal,rasqal)) -$(eval $(call gb_Library_set_warnings_not_errors,rasqal)) +$(eval $(call gb_Library_set_warnings_disabled,rasqal)) $(eval $(call gb_Library_use_external,rasqal,raptor_headers)) diff --git a/external/redland/Library_rdf.mk b/external/redland/Library_rdf.mk index 9e2f7279fa55..cc427b339834 100644 --- a/external/redland/Library_rdf.mk +++ b/external/redland/Library_rdf.mk @@ -16,7 +16,7 @@ $(eval $(call gb_Library_set_include,rdf, \ $(eval $(call gb_Library_use_unpacked,rdf,redland)) -$(eval $(call gb_Library_set_warnings_not_errors,rdf)) +$(eval $(call gb_Library_set_warnings_disabled,rdf)) $(eval $(call gb_Library_use_libraries,rdf,\ raptor2 \ diff --git a/external/ucpp/Executable_ucpp.mk b/external/ucpp/Executable_ucpp.mk index a2e64e644eed..a4be71c4901c 100644 --- a/external/ucpp/Executable_ucpp.mk +++ b/external/ucpp/Executable_ucpp.mk @@ -9,7 +9,7 @@ $(eval $(call gb_Executable_Executable,ucpp)) -$(eval $(call gb_Executable_set_warnings_not_errors,ucpp)) +$(eval $(call gb_Executable_set_warnings_disabled,ucpp)) $(eval $(call gb_Executable_use_unpacked,ucpp,ucpp)) @@ -19,12 +19,6 @@ $(eval $(call gb_Executable_add_defs,ucpp,\ -DSTAND_ALONE \ )) -# suppress warning spam -$(eval $(call gb_Executable_add_cflags,ucpp,\ - -w \ -)) - - $(eval $(call gb_Executable_add_generated_cobjects,ucpp,\ UnpackedTarball/ucpp/assert \ UnpackedTarball/ucpp/cpp \ diff --git a/external/zlib/StaticLibrary_zlib.mk b/external/zlib/StaticLibrary_zlib.mk index eb309dcc5b7e..f5263bef7d91 100644 --- a/external/zlib/StaticLibrary_zlib.mk +++ b/external/zlib/StaticLibrary_zlib.mk @@ -11,7 +11,7 @@ $(eval $(call gb_StaticLibrary_StaticLibrary,zlib)) $(eval $(call gb_StaticLibrary_use_unpacked,zlib,zlib)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,zlib)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,zlib)) $(eval $(call gb_StaticLibrary_add_generated_cobjects,zlib,\ UnpackedTarball/zlib/adler32 \ diff --git a/external/zlib/StaticLibrary_zlib_x64.mk b/external/zlib/StaticLibrary_zlib_x64.mk index dd16655d1949..a51f326d11df 100644 --- a/external/zlib/StaticLibrary_zlib_x64.mk +++ b/external/zlib/StaticLibrary_zlib_x64.mk @@ -13,7 +13,7 @@ $(eval $(call gb_StaticLibrary_set_x64,zlib_x64,YES)) $(eval $(call gb_StaticLibrary_use_unpacked,zlib_x64,zlib)) -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,zlib_x64)) +$(eval $(call gb_StaticLibrary_set_warnings_disabled,zlib_x64)) $(eval $(call gb_StaticLibrary_set_include,zlib_x64,\ -I$(call gb_UnpackedTarball_get_dir,zlib) \ |