Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix gcc 4.x build

  • Loading branch information...
commit 0ab1b3914315ac95901df3814179c130ea0a46e0 1 parent 2be3896
@rmustacc rmustacc authored rmustacc committed
Showing with 2 additions and 1 deletion.
  1. +1 −1  kstat.cc
  2. +1 −0  wscript
View
2  kstat.cc
@@ -18,7 +18,7 @@ class KStatReader : node::ObjectWrap {
static void Initialize(Handle<Object> target);
protected:
- static Persistent<FunctionTemplate> KStatReader::templ;
+ static Persistent<FunctionTemplate> templ;
KStatReader(string *module, string *classname,
string *name, int instance);
View
1  wscript
@@ -11,6 +11,7 @@ def configure(conf):
def build(bld):
obj = bld.new_task_gen('cxx', 'shlib', 'node_addon')
+ obj.cxxflags = '-Wno-write-strings'
obj.target = 'kstat'
obj.ldflags = '-lkstat'
obj.source = 'kstat.cc'
Please sign in to comment.
Something went wrong with that request. Please try again.