Woodya/node-gzbz2 — pull request #5 by SaltwaterC (2011-10-26 15:50:57+00:00)
Title: Fixes the ‘auto_ptr’ is not a member of ‘std’

There's a bunch of errors since 0.1.2 when building gzbz2:

[1/2] cxx: compress.cc -> build/default/compress_1.o
../compress.cc: In static member function ‘static v8::Handle Gzip::GzipDeflate(const v8::Arguments&)’:
../compress.cc:193: error: ‘auto_ptr’ is not a member of ‘std’
../compress.cc:193: error: expected primary-expression before ‘>’ token
../compress.cc:193: error: ‘bw’ was not declared in this scope
../compress.cc:210: error: ‘auto_ptr’ is not a member of ‘std’
../compress.cc:210: error: expected primary-expression before ‘>’ token
../compress.cc: In static member function ‘static v8::Handle Gunzip::GunzipInflate(const v8::Arguments&)’:
../compress.cc:405: error: ‘auto_ptr’ is not a member of ‘std’
../compress.cc:405: error: expected primary-expression before ‘>’ token
../compress.cc:405: error: ‘bw’ was not declared in this scope
../compress.cc:422: error: ‘auto_ptr’ is not a member of ‘std’
../compress.cc:422: error: expected primary-expression before ‘>’ token
../compress.cc: In static member function ‘static v8::Handle Bzip::BzipDeflate(const v8::Arguments&)’:
../compress.cc:629: error: ‘auto_ptr’ is not a member of ‘std’
../compress.cc:629: error: expected primary-expression before ‘>’ token
../compress.cc:629: error: ‘bw’ was not declared in this scope
../compress.cc:646: error: ‘auto_ptr’ is not a member of ‘std’
../compress.cc:646: error: expected primary-expression before ‘>’ token
../compress.cc: In static member function ‘static v8::Handle Bunzip::BunzipInflate(const v8::Arguments&)’:
../compress.cc:843: error: ‘auto_ptr’ is not a member of ‘std’
../compress.cc:843: error: expected primary-expression before ‘>’ token
../compress.cc:843: error: ‘bw’ was not declared in this scope
../compress.cc:860: error: ‘auto_ptr’ is not a member of ‘std’
../compress.cc:860: error: expected primary-expression before ‘>’ token

This one line patch makes it go away.