Permalink
Browse files

Enable warnings, and remove a spurious declaration

  • Loading branch information...
1 parent 0193b23 commit 31b6558388d5d6d1b87e93a2261df2512ffa90c3 @matthewd committed May 14, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −0 extconf.rb
  2. +0 −1 spidermonkey.c
View
@@ -17,6 +17,8 @@ def find_smjs(mozjs)
have_library(lib)
end
+$defs << " -Wall"
+
if find_smjs('mozjs') or (CONFIG['target_os'] =~ /mswin32|mingw|bccwin32/ and (find_smjs('mozjs') or find_smjs('smjs'))) or
%w(xulrunner-js thunderbird-js mozilla-js).any? do |package|
PKGConfig.have_package(package)
View
@@ -164,7 +164,6 @@ static void* rbsm_each( JSContext* cx, jsval value, RBSMJS_YIELD yield, void* da
static JSObjectOps* rbsm_class_get_object_ops( JSContext* cx, JSClass* clasp );
static void rb_smjs_context_errorhandle( JSContext* cx, const char* message, JSErrorReport* report );
static VALUE rb_smjs_context_flush( VALUE self );
-static VALUE rb_smjs_value_call_with_this(int argc, VALUE* rargv, VALUE self);
typedef enum RBSMErrNum{
#define MSG_DEF( name, number, count, exception, format ) \

0 comments on commit 31b6558

Please sign in to comment.