baranov1ch / connect-sdch Goto Github PK
View Code? Open in Web Editor NEWSDCH middleware for connect and node.js
License: MIT License
SDCH middleware for connect and node.js
License: MIT License
npm install fails due to the following problem.
../src/third-party/open-vcdiff/src/vcdecoder.cc:563:3: error: no type named 'unique_ptr' in namespace 'std'
UNIQUE_PTR addr_cache_;
^~~~~~~~~~
../src/third-party/open-vcdiff/src/unique_ptr.h:27:25: note: expanded from macro 'UNIQUE_PTR'define UNIQUE_PTR std::unique_ptr
~~~~~^
../src/third-party/open-vcdiff/src/vcdecoder.cc:563:13: error: expected member name or ';' after declaration specifiers
UNIQUE_PTR addr_cache_;../src/third-party/open-vcdiff/src/vcdecoder.cc:566:3: error: no type named 'unique_ptr' in namespace 'std' UNIQUE_PTR<VCDiffCodeTableData> custom_code_table_; ^~~~~~~~~~ ../src/third-party/open-vcdiff/src/unique_ptr.h:27:25: note: expanded from macro 'UNIQUE_PTR' #define UNIQUE_PTR std::unique_ptr ~~~~~^ ../src/third-party/open-vcdiff/src/vcdecoder.cc:566:13: error: expected member name or ';' after declaration specifiers UNIQUE_PTR<VCDiffCodeTableData> custom_code_table_; ~~~~~~~~~~^ ../src/third-party/open-vcdiff/src/vcdecoder.cc:575:3: error: no type named 'unique_ptr' in namespace 'std' UNIQUE_PTR<VCDiffStreamingDecoderImpl> custom_code_table_decoder_; ^~~~~~~~~~ ../src/third-party/open-vcdiff/src/unique_ptr.h:27:25: note: expanded from macro 'UNIQUE_PTR' #define UNIQUE_PTR std::unique_ptr ~~~~~^ ../src/third-party/open-vcdiff/src/vcdecoder.cc:575:13: error: expected member name or ';' after declaration specifiers UNIQUE_PTR<VCDiffStreamingDecoderImpl> custom_code_table_decoder_; ~~~~~~~~~~^ ../src/third-party/open-vcdiff/src/vcdecoder.cc:450:16: error: use of undeclared identifier 'custom_code_table_decoder_'; did you mean 'custom_code_table_string_'? } else if (custom_code_table_decoder_.get()) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ custom_code_table_string_ ../src/third-party/open-vcdiff/src/vcdecoder.cc:569:10: note: 'custom_code_table_string_' declared here string custom_code_table_string_; ^ ../src/third-party/open-vcdiff/src/vcdecoder.cc:450:43: error: no member named 'get' in 'std::basic_string<char>' } else if (custom_code_table_decoder_.get()) { ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ../src/third-party/open-vcdiff/src/vcdecoder.cc:474:45: error: use of undeclared identifier 'addr_cache_'; did you mean 'addr_cache'? VCDiffAddressCache* addr_cache() { return addr_cache_.get(); } ^~~~~~~~~~~ addr_cache ../src/third-party/open-vcdiff/src/vcdecoder.cc:474:23: note: 'addr_cache' declared here VCDiffAddressCache* addr_cache() { return addr_cache_.get(); } ^ ../src/third-party/open-vcdiff/src/vcdecoder.cc:474:45: error: reference to non-static member function must be called; did you mean to call it with no arguments? VCDiffAddressCache* addr_cache() { return addr_cache_.get(); } ^~~~~~~~~~~ () ../src/third-party/open-vcdiff/src/vcdecoder.cc:474:56: error: member reference type 'open_vcdiff::VCDiffAddressCache *' is a pointer; maybe you meant to use '->'? VCDiffAddressCache* addr_cache() { return addr_cache_.get(); } ~~~~~~~~~~~^ -> ../src/third-party/open-vcdiff/src/vcdecoder.cc:474:57: error: no member named 'get' in 'open_vcdiff::VCDiffAddressCache' VCDiffAddressCache* addr_cache() { return addr_cache_.get(); } ~~~~~~~~~~~ ^ ../src/third-party/open-vcdiff/src/vcdecoder.cc:500:41: error: use of undeclared identifier 'addr_cache_'; did you mean 'addr_cache'? bool FoundFileHeader() const { return addr_cache_.get() != NULL; } ^~~~~~~~~~~ addr_cache ../src/third-party/open-vcdiff/src/vcdecoder.cc:474:23: note: 'addr_cache' declared here VCDiffAddressCache* addr_cache() { return addr_cache_.get(); } ^ ../src/third-party/open-vcdiff/src/vcdecoder.cc:500:41: error: reference to non-static member function must be called bool FoundFileHeader() const { return addr_cache_.get() != NULL; } ^~~~~~~~~~~ ../src/third-party/open-vcdiff/src/vcdecoder.cc:643:3: error: use of undeclared identifier 'addr_cache_'; did you mean 'addr_cache'? addr_cache_.reset(); ^~~~~~~~~~~ addr_cache ../src/third-party/open-vcdiff/src/vcdecoder.cc:474:23: note: 'addr_cache' declared here VCDiffAddressCache* addr_cache() { return addr_cache_.get(); } ^ ../src/third-party/open-vcdiff/src/vcdecoder.cc:643:3: error: reference to non-static member function must be called; did you mean to call it with no arguments? addr_cache_.reset(); ^~~~~~~~~~~ () ../src/third-party/open-vcdiff/src/vcdecoder.cc:643:14: error: member reference type 'open_vcdiff::VCDiffAddressCache *' is a pointer; maybe you meant to use '->'? addr_cache_.reset(); ~~~~~~~~~~~^ -> ../src/third-party/open-vcdiff/src/vcdecoder.cc:643:15: error: no member named 'reset' in 'open_vcdiff::VCDiffAddressCache' addr_cache_.reset(); ~~~~~~~~~~~ ^ ../src/third-party/open-vcdiff/src/vcdecoder.cc:644:3: error: use of undeclared identifier 'custom_code_table_' custom_code_table_.reset(); ^
I was using OS X Yosemite for building this. I am sure about that I have C++ 11 support complier and I can compile the vcdiff correctly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.