cmusphinx / node-pocketsphinx

Pocketsphinx bindings for Node.JS
Other
242 stars 47 forks source link

Use C++11 #59

Closed calebegg closed 5 years ago

calebegg commented 5 years ago

Node/V8 now use some C++11 features, like constexpr. Without this line, CMake can't compile correctly. I get:

/Users/calebegg/.cmake-js/node-x64/v10.8.0/include/node/v8.h:4587:10: error: 
      unknown type name 'constexpr'
  static constexpr size_t kMaxLength =
         ^
nshmyrev commented 5 years ago

Thank you!