Commit Graph
26 Commits
Author SHA1 Message Date
Gerald Squelart 85b8de1279 Bug 1480331 - Compile and build JsonCpp without exception handling - r=glandium
JsonCpp is used in different places around Firefox, which is normally built
without exception handling, so we don't want JsonCpp to `throw`.
Because we don't want to modify the JsonCpp files themselves (to ease future
update from the source), and some of its headers are directly included around
Firefox, we need to define `JSON_USE_EXCEPTION` to be 0 everywhere, which can
be done through moz.configure.
JsonCpp replaces its exception-triggering code with C asserts and aborts.

Differential Revision: https://phabricator.services.mozilla.com/D151190
2022-07-08 13:32:37 +00:00
Chris Peterson ce3f0d40fe Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium
-Wshadow warnings are not enabled globally, so these -Wno-shadow suppressions have no effect. I had intended to enable -Wshadow globally along with these suppressions in some directories (in bug 1272513), but that was blocked by other issues.

There are too many -Wshadow warnings (now over 2000) to realistically fix them all. We should remove all these unnecessary -Wno-shadow flags cluttering many moz.build files.

Differential Revision: https://phabricator.services.mozilla.com/D132289
2021-12-01 06:40:04 +00:00
Ryan VanderMeulen f2c3970a34 Bug 1739222 - Update jsoncpp to version 1.9.5. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D130307
2021-11-03 23:36:39 +00:00
Mike Hommey 982c37b4e4 Bug 1733545 - Remove REQUIRES_UNIFIED_BUILD from third-party directories that don't need it. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D127229
2021-10-01 09:01:27 +00:00
Andi-Bogdan Postelnicu f221c438ca Bug 1725145 - Preparation for the hybrid build env. r=necko-reviewers,firefox-build-system-reviewers,valentin,glandium
Automatically generated path that adds flag `REQUIRES_UNIFIED_BUILD = True` to `moz.build`
when the module governed by the build config file is not buildable outside on the unified environment.

This needs to be done in order to have a hybrid build system that adds the possibility of combing
unified build components with ones that are built outside of the unified eco system.

Differential Revision: https://phabricator.services.mozilla.com/D122345
2021-08-25 10:46:17 +00:00
Ryan VanderMeulen 1914184855 Bug 1667835 - Update jsoncpp to version 1.9.4. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D91623
2020-09-28 19:26:55 +00:00
Ryan VanderMeulen 8807d7a728 Bug 1642005 - Update jsoncpp to version 1.9.3. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D77676
2020-06-01 15:57:53 +00:00
Simon Giesecke 99b166167f Bug 1613985 - Use default for equivalent-to-default constructors/destructors in toolkit. r=mossop
Depends on D66008

Differential Revision: https://phabricator.services.mozilla.com/D66010
2020-03-10 08:48:24 +00:00
Ryan VanderMeulen b89bc23335 Bug 1598202 - Update jsoncpp to version 1.9.2. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D54076
2019-11-21 11:59:28 +00:00
Ryan VanderMeulen a672f6c439 Bug 1566032 - Update jsoncpp to version 1.9.1. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D38060
2019-07-15 21:13:00 +00:00
Ryan VanderMeulen 809cf76d53 Bug 1563085 - Update jsoncpp to version 1.9.0. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D36700
2019-07-03 08:03:12 +00:00
David Major d7efbbd3e8 Bug 1528074 - Translate MSVC warning flags to clang spelling where supported r=froydnj
clang-cl only acts on five MSVC warning flags: https://github.com/llvm/llvm-project/blob/7219c7e9af7718f026ac5e3ea72249d037898e5b/clang/include/clang/Driver/CLCompatOptions.td#L188-L197

With MSVC now unsupported, most -wdNNNN have no effect and can be removed.

This patch converts the five supported warnings to their clang spellings, as preparation for a subsequent patch that will remove all remaining `[/-]w[edo][0-9]{4}`.

Differential Revision: https://phabricator.services.mozilla.com/D22582
2019-03-11 01:39:42 +00:00
Mike Hommey c8d6c5156c Bug 1512504 - Remove support for MSVC. r=froydnj
Consequently, this removes:
- MOZ_LIBPRIO, which is now always enabled.
- non_msvc_compiler, which is now always true.
- The cl.py wrapper, since it's not used anymore.
- CL_INCLUDES_PREFIX, which was only used for the cl.py wrapper.
- NONASCII, which was only there to ensure CL_INCLUDES_PREFIX still
  worked in non-ASCII cases.

This however keeps a large part of detecting and configuring for MSVC,
because we still do need it for at least headers, libraries, and midl.

Depends on D19614

Differential Revision: https://phabricator.services.mozilla.com/D19615
2019-02-14 21:45:27 +00:00
Masatoshi Kimura 9e78698153 Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj 2018-07-31 22:10:07 +09:00
Sylvestre Ledru d087e4938c Bug 1394734 - Simplify various corner cases r=glandium
MozReview-Commit-ID: 4s4JdXZPvmv
2017-12-07 22:10:19 +01:00
Sylvestre Ledru d6ef04e01c Bug 1394734 - Replace CONFIG['CLANG*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: HbF5oT5HW6f
2017-12-07 22:09:38 +01:00
Sylvestre Ledru 923049ccb3 Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 5orfnoude7h
2017-12-08 13:46:13 +01:00
Sylvestre Ledru 37064ac043 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m
2017-12-07 22:09:15 +01:00
Chris Manchester 67a3d90503 Bug 1386876 - Replace all uses of DISABLE_STL_WRAPPING with a template, remove DISABLE_STL_WRAPPING. r=glandium
MozReview-Commit-ID: FMEtb5PY7iP
2017-09-11 11:33:26 -07:00
Sylvestre Ledru f9fc1cca3e Bug 1387569 - Also enable -Wno-implicit-fallthrough for gcc in jsoncpp (exists from gcc 7) r=kip
MozReview-Commit-ID: BhxZ3acIopN
2017-08-04 21:38:16 +02:00
Phil Ringnalda fed51070bb Backed out 5 changesets (bug 1387569) for Windows static build bustage
Backed out changeset eeda521ba0ad (bug 1387569)
Backed out changeset 8d23caf2ccc7 (bug 1387569)
Backed out changeset b5f969313f81 (bug 1387569)
Backed out changeset f642bc883aa5 (bug 1387569)
Backed out changeset 20151eabffea (bug 1387569)

MozReview-Commit-ID: IH0XXePvhiL
2017-08-19 12:20:26 -07:00
Sylvestre Ledru 8e0fec09aa Bug 1387569 - Also enable -Wno-implicit-fallthrough for gcc in jsoncpp (exists from gcc 7) r=kip
MozReview-Commit-ID: BhxZ3acIopN
2017-08-04 21:38:16 +02:00
Sebastian Hengst f0f9c8af8a Backed out changeset 9f03844eb810 (bug 1387569) 2017-08-19 20:22:05 +02:00
Sylvestre Ledru 7db77f8145 Bug 1387569 - Also enable -Wno-implicit-fallthrough for gcc in jsoncpp (exists from gcc 7) r=kip
MozReview-Commit-ID: BhxZ3acIopN
2017-08-04 21:38:16 +02:00
Sylvestre Ledru 8bb4f04f13 Bug 1375957 - Bump the version of jsoncpp r=kip
MozReview-Commit-ID: IwdWn9R4GRz
2017-06-23 21:21:17 +02:00
Kearwood Gilbert 6804dc02e9 Bug 1356382 - Move jsoncpp library and ensure it is included even when crashreporter is not r=ted
MozReview-Commit-ID: 2g9sFP6QQCU
2017-04-19 14:41:03 -07:00