Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node-v0.x-archive
base: c898704db18f
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: 2c47030174b1
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Jul 13, 2013

  1. src: remove Buffer::Data(Persistent<T>&)

    It hits a compiler bug in gcc <= 4.4 similar to the issue that was
    recently addressed in commit 157d2bc:
    
        ../deps/v8/include/v8.h: In function ‘char*
        node::Buffer::Data(v8::Persistent&) [with TypeName = v8::Object]’:
        ../src/node_crypto.cc:1123: instantiated from here
        ../deps/v8/include/v8.h:876: error: ‘class v8::Data’ is not a
        function,
        ../src/node_internals.h:356: error: conflict with ‘template char*
        node::Buffer::Data(v8::Persistent&)’
        ../src/node_internals.h:357: error: in call to ‘Data’
    
    Remove the helper function, it was only used in a couple of places.
    Should fix the build on Ubuntu 10.04.
    
    Fixes #5844.
    bnoordhuis committed Jul 13, 2013
    Copy the full SHA
    2c47030 View commit details
    Browse the repository at this point in the history