This is an automated email from the ASF dual-hosted git repository. wohali pushed a commit to branch 3.x in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 97273412e193fac7a68697880648149649c08cbb Author: Joan Touzet <[email protected]> AuthorDate: Tue Apr 28 13:46:14 2020 -0400 Suppress offsetof gcc warnings for SM60 Mozilla did this years ago: https://hg.mozilla.org/mozilla-central/rev/41d9d32ab5a7 --- src/couch/rebar.config.script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/couch/rebar.config.script b/src/couch/rebar.config.script index ad897e8..320584b 100644 --- a/src/couch/rebar.config.script +++ b/src/couch/rebar.config.script @@ -122,7 +122,7 @@ end. }; {unix, _} when SMVsn == "60" -> { - "-DXP_UNIX -I/usr/include/mozjs-60 -I/usr/local/include/mozjs-60 -std=c++14", + "-DXP_UNIX -I/usr/include/mozjs-60 -I/usr/local/include/mozjs-60 -std=c++14 -Wno-invalid-offsetof", "-L/usr/local/lib -std=c++14 -lmozjs-60 -lm" }; {unix, _} when SMVsn == "68" ->
