Giter VIP home page Giter VIP logo

eda-3's People

Contributors

geohot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

eda-3's Issues

compile errors

What version of v8 are you using? I cannot get core.cc to compile properly:

_  eda-3 git:(master) _ make
Scanning dependencies of target edadb
[ 11%] Building CXX object CMakeFiles/edadb.dir/cores/core.cc.o
/Users/alvaro/CTFs/tools/eda-3/cores/core.cc:99:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/Users/alvaro/CTFs/tools/eda-3/cores/core.cc:117:42: warning: 'New' is deprecated [-Wdeprecated-declarations]
  Persistent<Context> context = Context::New(NULL, global);
                                         ^
/usr/local/include/v8.h:4849:44: note: 'New' has been explicitly marked deprecated here
  V8_DEPRECATED(static Persistent<Context> New(
                                           ^
/usr/local/include/v8.h:88:35: note: expanded from macro 'V8_DEPRECATED'
#define V8_DEPRECATED(declarator) declarator __attribute__ ((deprecated))
                                  ^
/Users/alvaro/CTFs/tools/eda-3/cores/core.cc:117:33: warning: C++98 requires an accessible copy constructor for class 'v8::Persistent<v8::Context>' when binding a reference to a temporary; was private [-Wbind-to-temporary-copy]
  Persistent<Context> context = Context::New(NULL, global);
                                ^
/usr/local/include/v8.h:750:13: note: declared private here
  V8_INLINE(Persistent(const Persistent& that)) : val_(that.val_) {}
            ^
/usr/local/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
/Users/alvaro/CTFs/tools/eda-3/cores/core.cc:117:33: error: calling a private constructor of class 'v8::Persistent<v8::Context>'
  Persistent<Context> context = Context::New(NULL, global);
                                ^
/usr/local/include/v8.h:750:13: note: declared private here
  V8_INLINE(Persistent(const Persistent& that)) : val_(that.val_) {}
            ^
/usr/local/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
/Users/alvaro/CTFs/tools/eda-3/cores/core.cc:118:18: error: no matching constructor for initialization of 'Context::Scope'
  Context::Scope context_scope(context);  // why never ref?
                 ^             ~~~~~~~
/usr/local/include/v8.h:4964:9: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Persistent<v8::Context>' to 'const v8::Context::Scope' for 1st argument
  class Scope {
        ^
/usr/local/include/v8.h:4966:24: note: candidate constructor not viable: no known conversion from 'Persistent<v8::Context>' to 'Handle<v8::Context>' for 1st argument
    explicit V8_INLINE(Scope(Handle<Context> context)) : context_(context) {
                       ^
/usr/local/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
/usr/local/include/v8.h:4970:15: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    V8_INLINE(Scope(Isolate* isolate, Persistent<Context>& context)) // NOLINT
              ^
/usr/local/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
                                                                    ^
3 warnings and 2 errors generated.
make[2]: *** [CMakeFiles/edadb.dir/cores/core.cc.o] Error 1
make[1]: *** [CMakeFiles/edadb.dir/all] Error 2
make: *** [all] Error 2

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.