You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2020/04/28 17:48:23 UTC
[couchdb] branch suppress-sm60-invalid-offsetof created (now
a802f6e)
This is an automated email from the ASF dual-hosted git repository.
wohali pushed a change to branch suppress-sm60-invalid-offsetof
in repository https://gitbox.apache.org/repos/asf/couchdb.git.
at a802f6e Suppress offsetof gcc warnings for SM60
This branch includes the following new commits:
new a802f6e Suppress offsetof gcc warnings for SM60
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[couchdb] 01/01: Suppress offsetof gcc warnings for SM60
Posted by wo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
wohali pushed a commit to branch suppress-sm60-invalid-offsetof
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit a802f6ed92dcbc744693438b0d6560028fa2ddcc
Author: Joan Touzet <jo...@atypical.net>
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" ->