[gjs/wip/ptomato/mozjs31: 3/5] WIP - mozjs31
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/ptomato/mozjs31: 3/5] WIP - mozjs31
- Date: Tue, 4 Oct 2016 23:40:17 +0000 (UTC)
commit 1727d04430497ec711ed84c79f98f2d106b2f45f
Author: Philip Chimento <philip endlessm com>
Date: Thu Sep 1 18:41:45 2016 -0700
WIP - mozjs31
configure.ac | 2 +-
gjs-internals-1.0.pc.in | 2 +-
gjs/compat.h | 3 +--
3 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 20dd4c1..27ec1fd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,7 +53,7 @@ m4_define(glib_required_version, 2.50.0)
GOBJECT_INTROSPECTION_REQUIRE([1.41.4])
-common_packages="gmodule-2.0 gthread-2.0 gio-2.0 >= glib_required_version mozjs-24"
+common_packages="gmodule-2.0 gthread-2.0 gio-2.0 >= glib_required_version mozjs-31"
gjs_packages="gobject-introspection-1.0 libffi $common_packages"
gjs_cairo_packages="cairo cairo-gobject $common_packages"
gjs_gdbus_packages="gobject-2.0 >= glib_required_version gio-2.0"
diff --git a/gjs-internals-1.0.pc.in b/gjs-internals-1.0.pc.in
index 4d88d82..cf6726d 100644
--- a/gjs-internals-1.0.pc.in
+++ b/gjs-internals-1.0.pc.in
@@ -9,7 +9,7 @@ datadir=@datadir@
jsdir=@gjsjsdir@
Cflags: -I${includedir}/gjs-1.0
-Requires: gjs-1.0 gobject-introspection-1.0 mozjs-24
+Requires: gjs-1.0 gobject-introspection-1.0 mozjs-31
Name: gjs-internals-1.0
Description: Internal API for gjs (for modules and embedders); uses mozjs
diff --git a/gjs/compat.h b/gjs/compat.h
index c645c9a..0ab6a3d 100644
--- a/gjs/compat.h
+++ b/gjs/compat.h
@@ -31,7 +31,7 @@
#if defined(__clang__)
_Pragma("clang diagnostic push")
-_Pragma("clang diagnostic ignored \"-Wuninitialized\"")
+_Pragma("clang diagnostic ignored \"-Wmismatched-tags\"")
_Pragma("clang diagnostic ignored \"-Winvalid-offsetof\"")
#elif __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
_Pragma("GCC diagnostic push")
@@ -39,7 +39,6 @@ _Pragma("GCC diagnostic ignored \"-Wstrict-prototypes\"")
_Pragma("GCC diagnostic ignored \"-Winvalid-offsetof\"")
#endif
#include <jsapi.h>
-#include <jsdbgapi.h> // Needed by some bits
#if defined(__clang__)
_Pragma("clang diagnostic pop")
#elif __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]