apiaryio / protagonist Goto Github PK
View Code? Open in Web Editor NEWProtagonist is Node.js wrapper for the API Blueprint parser
License: MIT License
Protagonist is Node.js wrapper for the API Blueprint parser
License: MIT License
protagonist.target.mk:135: recipe for target 'Release/obj.target/protagonist/src/annotation.o' failed
make: *** [Release/obj.target/protagonist/src/annotation.o] Error 1
make: Leaving directory '/usr/lib/node_modules/aglio/node_modules/drafter/node_modules/protagonist/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.1.3-200.fc22.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/aglio/node_modules/drafter/node_modules/protagonist
gyp ERR! node -v v4.1.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
And here are the compile errors from protagonist (sorry for pasting them directly, GitHub won't let me attach the file for some reason):
> [email protected] install /usr/lib/node_modules/aglio/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild
make: Entering directory '/usr/lib/node_modules/aglio/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate/build'
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/obj.target/validation.node
COPY Release/validation.node
make: Leaving directory '/usr/lib/node_modules/aglio/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate/build'
> [email protected] install /usr/lib/node_modules/aglio/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild
make: Entering directory '/usr/lib/node_modules/aglio/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/obj.target/bufferutil.node
COPY Release/bufferutil.node
make: Leaving directory '/usr/lib/node_modules/aglio/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil/build'
> [email protected] install /usr/lib/node_modules/aglio/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild
make: Entering directory '/usr/lib/node_modules/aglio/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/obj.target/bufferutil.node
COPY Release/bufferutil.node
make: Leaving directory '/usr/lib/node_modules/aglio/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil/build'
> [email protected] install /usr/lib/node_modules/aglio/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild
make: Entering directory '/usr/lib/node_modules/aglio/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate/build'
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/obj.target/validation.node
COPY Release/validation.node
make: Leaving directory '/usr/lib/node_modules/aglio/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate/build'
> [email protected] install /usr/lib/node_modules/aglio/node_modules/drafter/node_modules/protagonist
> node-gyp rebuild
make: Entering directory '/usr/lib/node_modules/aglio/node_modules/drafter/node_modules/protagonist/build'
CXX(target) Release/obj.target/libmarkdownparser/drafter/ext/snowcrash/ext/markdown-parser/src/ByteBuffer.o
CXX(target) Release/obj.target/libmarkdownparser/drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.o
In file included from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.cc:9:0:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:96:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MarkdownNodes> m_children;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
CXX(target) Release/obj.target/libmarkdownparser/drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownParser.o
In file included from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownParser.h:13:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownParser.cc:11:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:96:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MarkdownNodes> m_children;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownParser.h:13,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownParser.cc:11:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
AR(target) Release/obj.target/drafter/ext/snowcrash/markdownparser.a
COPY Release/markdownparser.a
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/HTTP.o
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:16:0,
from ../drafter/ext/snowcrash/src/HTTP.h:13,
from ../drafter/ext/snowcrash/src/HTTP.cc:9:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:96:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MarkdownNodes> m_children;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/HTTP.h:13,
from ../drafter/ext/snowcrash/src/HTTP.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/HTTP.h:13,
from ../drafter/ext/snowcrash/src/HTTP.cc:9:
../drafter/ext/snowcrash/src/MSON.h:238:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/HTTP.h:13,
from ../drafter/ext/snowcrash/src/HTTP.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/HTTP.h:13,
from ../drafter/ext/snowcrash/src/HTTP.cc:9:
../drafter/ext/snowcrash/src/MSON.h:371:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/HTTP.h:13,
from ../drafter/ext/snowcrash/src/HTTP.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/HTTP.h:13:0,
from ../drafter/ext/snowcrash/src/HTTP.cc:9:
../drafter/ext/snowcrash/src/Blueprint.h:423:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/HTTP.h:13,
from ../drafter/ext/snowcrash/src/HTTP.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSON.o
In file included from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownParser.h:13:0,
from ../drafter/ext/snowcrash/src/MSON.h:19,
from ../drafter/ext/snowcrash/src/MSON.cc:9:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:96:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MarkdownNodes> m_children;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownParser.h:13,
from ../drafter/ext/snowcrash/src/MSON.h:19,
from ../drafter/ext/snowcrash/src/MSON.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/MSON.cc:9:0:
../drafter/ext/snowcrash/src/MSON.h:238:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownParser.h:13,
from ../drafter/ext/snowcrash/src/MSON.h:19,
from ../drafter/ext/snowcrash/src/MSON.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/MSON.cc:9:0:
../drafter/ext/snowcrash/src/MSON.h:371:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownParser.h:13,
from ../drafter/ext/snowcrash/src/MSON.h:19,
from ../drafter/ext/snowcrash/src/MSON.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONOneOfParser.o
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:16:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.cc:9:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:96:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MarkdownNodes> m_children;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.cc:9:
../drafter/ext/snowcrash/src/MSON.h:238:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.cc:9:
../drafter/ext/snowcrash/src/MSON.h:371:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12:0,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.cc:9:
../drafter/ext/snowcrash/src/Blueprint.h:423:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.cc:9:
../drafter/ext/snowcrash/src/MSONSourcemap.h:85:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.cc:9:
../drafter/ext/snowcrash/src/MSONSourcemap.h:177:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/ModelTable.h:21:0,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.cc:9:
../drafter/ext/snowcrash/src/BlueprintSourcemap.h:281:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONSourcemap.o
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:16:0,
from ../drafter/ext/snowcrash/src/MSONSourcemap.h:12,
from ../drafter/ext/snowcrash/src/MSONSourcemap.cc:9:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:96:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MarkdownNodes> m_children;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/MSONSourcemap.h:12,
from ../drafter/ext/snowcrash/src/MSONSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/MSONSourcemap.h:12,
from ../drafter/ext/snowcrash/src/MSONSourcemap.cc:9:
../drafter/ext/snowcrash/src/MSON.h:238:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/MSONSourcemap.h:12,
from ../drafter/ext/snowcrash/src/MSONSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/MSONSourcemap.h:12,
from ../drafter/ext/snowcrash/src/MSONSourcemap.cc:9:
../drafter/ext/snowcrash/src/MSON.h:371:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/MSONSourcemap.h:12,
from ../drafter/ext/snowcrash/src/MSONSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/MSONSourcemap.h:12:0,
from ../drafter/ext/snowcrash/src/MSONSourcemap.cc:9:
../drafter/ext/snowcrash/src/Blueprint.h:423:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/MSONSourcemap.h:12,
from ../drafter/ext/snowcrash/src/MSONSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/MSONSourcemap.cc:9:0:
../drafter/ext/snowcrash/src/MSONSourcemap.h:85:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/MSONSourcemap.h:12,
from ../drafter/ext/snowcrash/src/MSONSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/MSONSourcemap.cc:9:0:
../drafter/ext/snowcrash/src/MSONSourcemap.h:177:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/MSONSourcemap.h:12,
from ../drafter/ext/snowcrash/src/MSONSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONTypeSectionParser.o
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:16:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONTypeSectionParser.cc:9:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:96:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MarkdownNodes> m_children;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONTypeSectionParser.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONTypeSectionParser.cc:9:
../drafter/ext/snowcrash/src/MSON.h:238:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONTypeSectionParser.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONTypeSectionParser.cc:9:
../drafter/ext/snowcrash/src/MSON.h:371:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONTypeSectionParser.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12:0,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONTypeSectionParser.cc:9:
../drafter/ext/snowcrash/src/Blueprint.h:423:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONTypeSectionParser.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONTypeSectionParser.cc:9:
../drafter/ext/snowcrash/src/MSONSourcemap.h:85:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONTypeSectionParser.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONTypeSectionParser.cc:9:
../drafter/ext/snowcrash/src/MSONSourcemap.h:177:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONTypeSectionParser.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/ModelTable.h:21:0,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONTypeSectionParser.cc:9:
../drafter/ext/snowcrash/src/BlueprintSourcemap.h:281:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONTypeSectionParser.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONValueMemberParser.o
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:16:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONValueMemberParser.cc:9:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:96:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MarkdownNodes> m_children;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONValueMemberParser.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONValueMemberParser.cc:9:
../drafter/ext/snowcrash/src/MSON.h:238:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONValueMemberParser.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONValueMemberParser.cc:9:
../drafter/ext/snowcrash/src/MSON.h:371:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONValueMemberParser.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12:0,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONValueMemberParser.cc:9:
../drafter/ext/snowcrash/src/Blueprint.h:423:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONValueMemberParser.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONValueMemberParser.cc:9:
../drafter/ext/snowcrash/src/MSONSourcemap.h:85:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONValueMemberParser.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONValueMemberParser.cc:9:
../drafter/ext/snowcrash/src/MSONSourcemap.h:177:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONValueMemberParser.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/ModelTable.h:21:0,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONValueMemberParser.cc:9:
../drafter/ext/snowcrash/src/BlueprintSourcemap.h:281:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/MSONMixinParser.h:12,
from ../drafter/ext/snowcrash/src/MSONOneOfParser.h:12,
from ../drafter/ext/snowcrash/src/MSONValueMemberParser.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/Blueprint.o
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:16:0,
from ../drafter/ext/snowcrash/src/Blueprint.cc:9:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:96:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MarkdownNodes> m_children;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/Blueprint.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/Blueprint.cc:9:
../drafter/ext/snowcrash/src/MSON.h:238:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/Blueprint.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/Blueprint.cc:9:
../drafter/ext/snowcrash/src/MSON.h:371:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/Blueprint.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.cc:9:0:
../drafter/ext/snowcrash/src/Blueprint.h:423:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/Blueprint.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/BlueprintSourcemap.o
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:16:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.cc:9:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:96:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MarkdownNodes> m_children;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.cc:9:
../drafter/ext/snowcrash/src/MSON.h:238:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.cc:9:
../drafter/ext/snowcrash/src/MSON.h:371:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.cc:9:
../drafter/ext/snowcrash/src/Blueprint.h:423:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.cc:9:
../drafter/ext/snowcrash/src/MSONSourcemap.h:85:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.cc:9:
../drafter/ext/snowcrash/src/MSONSourcemap.h:177:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.cc:9:0:
../drafter/ext/snowcrash/src/BlueprintSourcemap.h:281:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/Section.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/Signature.o
In file included from ../drafter/ext/snowcrash/src/Signature.h:12:0,
from ../drafter/ext/snowcrash/src/Signature.cc:9:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:96:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MarkdownNodes> m_children;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Signature.h:12,
from ../drafter/ext/snowcrash/src/Signature.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/Signature.cc:10:
../drafter/ext/snowcrash/src/MSON.h:238:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Signature.h:12,
from ../drafter/ext/snowcrash/src/Signature.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/Signature.cc:10:
../drafter/ext/snowcrash/src/MSON.h:371:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Signature.h:12,
from ../drafter/ext/snowcrash/src/Signature.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12:0,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/Signature.cc:10:
../drafter/ext/snowcrash/src/Blueprint.h:423:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Signature.h:12,
from ../drafter/ext/snowcrash/src/Signature.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/Signature.cc:10:
../drafter/ext/snowcrash/src/MSONSourcemap.h:85:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Signature.h:12,
from ../drafter/ext/snowcrash/src/Signature.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/Signature.cc:10:
../drafter/ext/snowcrash/src/MSONSourcemap.h:177:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Signature.h:12,
from ../drafter/ext/snowcrash/src/Signature.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/ModelTable.h:21:0,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/Signature.cc:10:
../drafter/ext/snowcrash/src/BlueprintSourcemap.h:281:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Signature.h:12,
from ../drafter/ext/snowcrash/src/Signature.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/snowcrash.o
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:16:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.cc:9:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:96:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MarkdownNodes> m_children;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.cc:9:
../drafter/ext/snowcrash/src/MSON.h:238:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.cc:9:
../drafter/ext/snowcrash/src/MSON.h:371:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12:0,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.cc:9:
../drafter/ext/snowcrash/src/Blueprint.h:423:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.cc:9:
../drafter/ext/snowcrash/src/MSONSourcemap.h:85:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.cc:9:
../drafter/ext/snowcrash/src/MSONSourcemap.h:177:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/snowcrash.h:12:0,
from ../drafter/ext/snowcrash/src/snowcrash.cc:9:
../drafter/ext/snowcrash/src/BlueprintSourcemap.h:281:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/UriTemplateParser.o
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:16:0,
from ../drafter/ext/snowcrash/src/UriTemplateParser.h:12,
from ../drafter/ext/snowcrash/src/UriTemplateParser.cc:9:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:96:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MarkdownNodes> m_children;
^
In file included from /usr/include/c++/5.1.1/bits/locale_conv.h:41:0,
from /usr/include/c++/5.1.1/locale:43,
from /usr/include/c++/5.1.1/iomanip:43,
from ../drafter/ext/snowcrash/src/UriTemplateParser.cc:8:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/UriTemplateParser.h:12,
from ../drafter/ext/snowcrash/src/UriTemplateParser.cc:9:
../drafter/ext/snowcrash/src/MSON.h:238:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/bits/locale_conv.h:41:0,
from /usr/include/c++/5.1.1/locale:43,
from /usr/include/c++/5.1.1/iomanip:43,
from ../drafter/ext/snowcrash/src/UriTemplateParser.cc:8:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/UriTemplateParser.h:12,
from ../drafter/ext/snowcrash/src/UriTemplateParser.cc:9:
../drafter/ext/snowcrash/src/MSON.h:371:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/bits/locale_conv.h:41:0,
from /usr/include/c++/5.1.1/locale:43,
from /usr/include/c++/5.1.1/iomanip:43,
from ../drafter/ext/snowcrash/src/UriTemplateParser.cc:8:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/UriTemplateParser.h:12:0,
from ../drafter/ext/snowcrash/src/UriTemplateParser.cc:9:
../drafter/ext/snowcrash/src/Blueprint.h:423:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/bits/locale_conv.h:41:0,
from /usr/include/c++/5.1.1/locale:43,
from /usr/include/c++/5.1.1/iomanip:43,
from ../drafter/ext/snowcrash/src/UriTemplateParser.cc:8:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/HeadersParser.o
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:16:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/HeadersParser.h:12,
from ../drafter/ext/snowcrash/src/HeadersParser.cc:1:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:96:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MarkdownNodes> m_children;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/HeadersParser.h:12,
from ../drafter/ext/snowcrash/src/HeadersParser.cc:1:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/HeadersParser.h:12,
from ../drafter/ext/snowcrash/src/HeadersParser.cc:1:
../drafter/ext/snowcrash/src/MSON.h:238:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/HeadersParser.h:12,
from ../drafter/ext/snowcrash/src/HeadersParser.cc:1:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/HeadersParser.h:12,
from ../drafter/ext/snowcrash/src/HeadersParser.cc:1:
../drafter/ext/snowcrash/src/MSON.h:371:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/HeadersParser.h:12,
from ../drafter/ext/snowcrash/src/HeadersParser.cc:1:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12:0,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/HeadersParser.h:12,
from ../drafter/ext/snowcrash/src/HeadersParser.cc:1:
../drafter/ext/snowcrash/src/Blueprint.h:423:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/HeadersParser.h:12,
from ../drafter/ext/snowcrash/src/HeadersParser.cc:1:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/HeadersParser.h:12,
from ../drafter/ext/snowcrash/src/HeadersParser.cc:1:
../drafter/ext/snowcrash/src/MSONSourcemap.h:85:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/HeadersParser.h:12,
from ../drafter/ext/snowcrash/src/HeadersParser.cc:1:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/HeadersParser.h:12,
from ../drafter/ext/snowcrash/src/HeadersParser.cc:1:
../drafter/ext/snowcrash/src/MSONSourcemap.h:177:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/HeadersParser.h:12,
from ../drafter/ext/snowcrash/src/HeadersParser.cc:1:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/ModelTable.h:21:0,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/HeadersParser.h:12,
from ../drafter/ext/snowcrash/src/HeadersParser.cc:1:
../drafter/ext/snowcrash/src/BlueprintSourcemap.h:281:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/ModelTable.h:21,
from ../drafter/ext/snowcrash/src/SectionParserData.h:12,
from ../drafter/ext/snowcrash/src/SectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SignatureSectionProcessor.h:12,
from ../drafter/ext/snowcrash/src/SectionParser.h:13,
from ../drafter/ext/snowcrash/src/HeadersParser.h:12,
from ../drafter/ext/snowcrash/src/HeadersParser.cc:1:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/posix/RegexMatch.o
AR(target) Release/obj.target/drafter/ext/snowcrash/snowcrash.a
COPY Release/snowcrash.a
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/autolink.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/buffer.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/markdown.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/src_map.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/stack.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_href_e.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_html_e.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/html.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/html_smartypants.o
AR(target) Release/obj.target/drafter/ext/snowcrash/sundown.a
COPY Release/sundown.a
CXX(target) Release/obj.target/libdrafter/drafter/src/drafter.o
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:16:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/drafter.h:13,
from ../drafter/src/drafter.cc:9:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:96:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MarkdownNodes> m_children;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/drafter.h:13,
from ../drafter/src/drafter.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/drafter.h:13,
from ../drafter/src/drafter.cc:9:
../drafter/ext/snowcrash/src/MSON.h:238:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/drafter.h:13,
from ../drafter/src/drafter.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/drafter.h:13,
from ../drafter/src/drafter.cc:9:
../drafter/ext/snowcrash/src/MSON.h:371:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/drafter.h:13,
from ../drafter/src/drafter.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12:0,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/drafter.h:13,
from ../drafter/src/drafter.cc:9:
../drafter/ext/snowcrash/src/Blueprint.h:423:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/drafter.h:13,
from ../drafter/src/drafter.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/drafter.h:13,
from ../drafter/src/drafter.cc:9:
../drafter/ext/snowcrash/src/MSONSourcemap.h:85:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/drafter.h:13,
from ../drafter/src/drafter.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/drafter.h:13,
from ../drafter/src/drafter.cc:9:
../drafter/ext/snowcrash/src/MSONSourcemap.h:177:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/drafter.h:13,
from ../drafter/src/drafter.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/snowcrash.h:12:0,
from ../drafter/src/drafter.h:13,
from ../drafter/src/drafter.cc:9:
../drafter/ext/snowcrash/src/BlueprintSourcemap.h:281:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/drafter.h:13,
from ../drafter/src/drafter.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
CXX(target) Release/obj.target/libdrafter/drafter/src/cdrafter.o
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:16:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/cdrafter.cc:3:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:96:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MarkdownNodes> m_children;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/cdrafter.cc:3:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/cdrafter.cc:3:
../drafter/ext/snowcrash/src/MSON.h:238:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/cdrafter.cc:3:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/cdrafter.cc:3:
../drafter/ext/snowcrash/src/MSON.h:371:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/cdrafter.cc:3:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12:0,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/cdrafter.cc:3:
../drafter/ext/snowcrash/src/Blueprint.h:423:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/cdrafter.cc:3:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/cdrafter.cc:3:
../drafter/ext/snowcrash/src/MSONSourcemap.h:85:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/cdrafter.cc:3:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/cdrafter.cc:3:
../drafter/ext/snowcrash/src/MSONSourcemap.h:177:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/cdrafter.cc:3:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/snowcrash.h:12:0,
from ../drafter/src/cdrafter.cc:3:
../drafter/ext/snowcrash/src/BlueprintSourcemap.h:281:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/cdrafter.cc:3:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/sos/src/sosJSON.h:12:0,
from ../drafter/src/cdrafter.cc:4:
../drafter/ext/sos/src/sos.h:83:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<KeyValues> m_object;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/cdrafter.cc:3:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/sos/src/sosJSON.h:12:0,
from ../drafter/src/cdrafter.cc:4:
../drafter/ext/sos/src/sos.h:84:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Bases> m_array;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/ext/snowcrash/src/snowcrash.h:12,
from ../drafter/src/cdrafter.cc:3:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
CXX(target) Release/obj.target/libdrafter/drafter/src/Serialize.o
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:16:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/Serialize.cc:9:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:96:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MarkdownNodes> m_children;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/Serialize.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/Serialize.cc:9:
../drafter/ext/snowcrash/src/MSON.h:238:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/Serialize.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/Serialize.cc:9:
../drafter/ext/snowcrash/src/MSON.h:371:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/Serialize.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12:0,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/Serialize.cc:9:
../drafter/ext/snowcrash/src/Blueprint.h:423:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/Serialize.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/Serialize.cc:9:
../drafter/ext/snowcrash/src/MSONSourcemap.h:85:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/Serialize.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/Serialize.cc:9:
../drafter/ext/snowcrash/src/MSONSourcemap.h:177:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/Serialize.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/src/Serialize.h:13:0,
from ../drafter/src/Serialize.cc:9:
../drafter/ext/snowcrash/src/BlueprintSourcemap.h:281:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/Serialize.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/src/Serialize.h:14:0,
from ../drafter/src/Serialize.cc:9:
../drafter/ext/sos/src/sos.h:83:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<KeyValues> m_object;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/Serialize.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/src/Serialize.h:14:0,
from ../drafter/src/Serialize.cc:9:
../drafter/ext/sos/src/sos.h:84:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Bases> m_array;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/Serialize.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
CXX(target) Release/obj.target/libdrafter/drafter/src/SerializeAST.o
In file included from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownParser.h:13:0,
from ../drafter/ext/snowcrash/src/StringUtility.h:22,
from ../drafter/src/SerializeAST.cc:9:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:96:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MarkdownNodes> m_children;
^
In file included from /usr/include/c++/5.1.1/bits/locale_conv.h:41:0,
from /usr/include/c++/5.1.1/locale:43,
from ../drafter/ext/snowcrash/src/StringUtility.h:17,
from ../drafter/src/SerializeAST.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeAST.h:12,
from ../drafter/src/SerializeAST.cc:10:
../drafter/ext/snowcrash/src/MSON.h:238:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/bits/locale_conv.h:41:0,
from /usr/include/c++/5.1.1/locale:43,
from ../drafter/ext/snowcrash/src/StringUtility.h:17,
from ../drafter/src/SerializeAST.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeAST.h:12,
from ../drafter/src/SerializeAST.cc:10:
../drafter/ext/snowcrash/src/MSON.h:371:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/bits/locale_conv.h:41:0,
from /usr/include/c++/5.1.1/locale:43,
from ../drafter/ext/snowcrash/src/StringUtility.h:17,
from ../drafter/src/SerializeAST.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12:0,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeAST.h:12,
from ../drafter/src/SerializeAST.cc:10:
../drafter/ext/snowcrash/src/Blueprint.h:423:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/bits/locale_conv.h:41:0,
from /usr/include/c++/5.1.1/locale:43,
from ../drafter/ext/snowcrash/src/StringUtility.h:17,
from ../drafter/src/SerializeAST.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeAST.h:12,
from ../drafter/src/SerializeAST.cc:10:
../drafter/ext/snowcrash/src/MSONSourcemap.h:85:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/bits/locale_conv.h:41:0,
from /usr/include/c++/5.1.1/locale:43,
from ../drafter/ext/snowcrash/src/StringUtility.h:17,
from ../drafter/src/SerializeAST.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeAST.h:12,
from ../drafter/src/SerializeAST.cc:10:
../drafter/ext/snowcrash/src/MSONSourcemap.h:177:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/bits/locale_conv.h:41:0,
from /usr/include/c++/5.1.1/locale:43,
from ../drafter/ext/snowcrash/src/StringUtility.h:17,
from ../drafter/src/SerializeAST.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/src/Serialize.h:13:0,
from ../drafter/src/SerializeAST.h:12,
from ../drafter/src/SerializeAST.cc:10:
../drafter/ext/snowcrash/src/BlueprintSourcemap.h:281:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/bits/locale_conv.h:41:0,
from /usr/include/c++/5.1.1/locale:43,
from ../drafter/ext/snowcrash/src/StringUtility.h:17,
from ../drafter/src/SerializeAST.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/src/Serialize.h:14:0,
from ../drafter/src/SerializeAST.h:12,
from ../drafter/src/SerializeAST.cc:10:
../drafter/ext/sos/src/sos.h:83:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<KeyValues> m_object;
^
In file included from /usr/include/c++/5.1.1/bits/locale_conv.h:41:0,
from /usr/include/c++/5.1.1/locale:43,
from ../drafter/ext/snowcrash/src/StringUtility.h:17,
from ../drafter/src/SerializeAST.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/src/Serialize.h:14:0,
from ../drafter/src/SerializeAST.h:12,
from ../drafter/src/SerializeAST.cc:10:
../drafter/ext/sos/src/sos.h:84:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Bases> m_array;
^
In file included from /usr/include/c++/5.1.1/bits/locale_conv.h:41:0,
from /usr/include/c++/5.1.1/locale:43,
from ../drafter/ext/snowcrash/src/StringUtility.h:17,
from ../drafter/src/SerializeAST.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
CXX(target) Release/obj.target/libdrafter/drafter/src/SerializeSourcemap.o
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:16:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeSourcemap.h:12,
from ../drafter/src/SerializeSourcemap.cc:9:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:96:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MarkdownNodes> m_children;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeSourcemap.h:12,
from ../drafter/src/SerializeSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeSourcemap.h:12,
from ../drafter/src/SerializeSourcemap.cc:9:
../drafter/ext/snowcrash/src/MSON.h:238:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeSourcemap.h:12,
from ../drafter/src/SerializeSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeSourcemap.h:12,
from ../drafter/src/SerializeSourcemap.cc:9:
../drafter/ext/snowcrash/src/MSON.h:371:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeSourcemap.h:12,
from ../drafter/src/SerializeSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12:0,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeSourcemap.h:12,
from ../drafter/src/SerializeSourcemap.cc:9:
../drafter/ext/snowcrash/src/Blueprint.h:423:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeSourcemap.h:12,
from ../drafter/src/SerializeSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeSourcemap.h:12,
from ../drafter/src/SerializeSourcemap.cc:9:
../drafter/ext/snowcrash/src/MSONSourcemap.h:85:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeSourcemap.h:12,
from ../drafter/src/SerializeSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeSourcemap.h:12,
from ../drafter/src/SerializeSourcemap.cc:9:
../drafter/ext/snowcrash/src/MSONSourcemap.h:177:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeSourcemap.h:12,
from ../drafter/src/SerializeSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/src/Serialize.h:13:0,
from ../drafter/src/SerializeSourcemap.h:12,
from ../drafter/src/SerializeSourcemap.cc:9:
../drafter/ext/snowcrash/src/BlueprintSourcemap.h:281:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeSourcemap.h:12,
from ../drafter/src/SerializeSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/src/Serialize.h:14:0,
from ../drafter/src/SerializeSourcemap.h:12,
from ../drafter/src/SerializeSourcemap.cc:9:
../drafter/ext/sos/src/sos.h:83:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<KeyValues> m_object;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeSourcemap.h:12,
from ../drafter/src/SerializeSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/src/Serialize.h:14:0,
from ../drafter/src/SerializeSourcemap.h:12,
from ../drafter/src/SerializeSourcemap.cc:9:
../drafter/ext/sos/src/sos.h:84:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Bases> m_array;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeSourcemap.h:12,
from ../drafter/src/SerializeSourcemap.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
CXX(target) Release/obj.target/libdrafter/drafter/src/SerializeResult.o
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:16:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeResult.h:12,
from ../drafter/src/SerializeResult.cc:9:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:96:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MarkdownNodes> m_children;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeResult.h:12,
from ../drafter/src/SerializeResult.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeResult.h:12,
from ../drafter/src/SerializeResult.cc:9:
../drafter/ext/snowcrash/src/MSON.h:238:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeResult.h:12,
from ../drafter/src/SerializeResult.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeResult.h:12,
from ../drafter/src/SerializeResult.cc:9:
../drafter/ext/snowcrash/src/MSON.h:371:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeResult.h:12,
from ../drafter/src/SerializeResult.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12:0,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeResult.h:12,
from ../drafter/src/SerializeResult.cc:9:
../drafter/ext/snowcrash/src/Blueprint.h:423:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeResult.h:12,
from ../drafter/src/SerializeResult.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeResult.h:12,
from ../drafter/src/SerializeResult.cc:9:
../drafter/ext/snowcrash/src/MSONSourcemap.h:85:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeResult.h:12,
from ../drafter/src/SerializeResult.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeResult.h:12,
from ../drafter/src/SerializeResult.cc:9:
../drafter/ext/snowcrash/src/MSONSourcemap.h:177:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeResult.h:12,
from ../drafter/src/SerializeResult.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/src/Serialize.h:13:0,
from ../drafter/src/SerializeResult.h:12,
from ../drafter/src/SerializeResult.cc:9:
../drafter/ext/snowcrash/src/BlueprintSourcemap.h:281:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeResult.h:12,
from ../drafter/src/SerializeResult.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/src/Serialize.h:14:0,
from ../drafter/src/SerializeResult.h:12,
from ../drafter/src/SerializeResult.cc:9:
../drafter/ext/sos/src/sos.h:83:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<KeyValues> m_object;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeResult.h:12,
from ../drafter/src/SerializeResult.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/src/Serialize.h:14:0,
from ../drafter/src/SerializeResult.h:12,
from ../drafter/src/SerializeResult.cc:9:
../drafter/ext/sos/src/sos.h:84:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Bases> m_array;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:12,
from ../drafter/src/Serialize.h:13,
from ../drafter/src/SerializeResult.h:12,
from ../drafter/src/SerializeResult.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
AR(target) Release/obj.target/drafter/drafter.a
COPY Release/drafter.a
CXX(target) Release/obj.target/libsos/drafter/ext/sos/src/sos.o
In file included from ../drafter/ext/sos/src/sos.cc:9:0:
../drafter/ext/sos/src/sos.h:83:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<KeyValues> m_object;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/sos/src/sos.h:17,
from ../drafter/ext/sos/src/sos.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/sos/src/sos.cc:9:0:
../drafter/ext/sos/src/sos.h:84:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Bases> m_array;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/sos/src/sos.h:17,
from ../drafter/ext/sos/src/sos.cc:9:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
AR(target) Release/obj.target/drafter/sos.a
COPY Release/sos.a
CXX(target) Release/obj.target/protagonist/src/annotation.o
In file included from ../src/protagonist.h:6:0,
from ../src/annotation.cc:1:
../node_modules/nan/nan.h:261:25: error: redefinition of ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^
../node_modules/nan/nan.h:256:25: note: ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^
../node_modules/nan/nan.h:661:13: error: ‘node::smalloc’ has not been declared
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h:661:35: error: expected ‘,’ or ‘...’ before ‘callback’
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:
../node_modules/nan/nan.h:665:50: error: ‘callback’ was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h:665:60: error: ‘hint’ was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
../node_modules/nan/nan.h:672:67: error: no matching function for call to ‘New(v8::Isolate*, const char*&, uint32_t&)’
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
In file included from ../node_modules/nan/nan.h:25:0,
from ../src/protagonist.h:6,
from ../src/annotation.cc:1:
/root/.node-gyp/4.1.1/include/node/node_buffer.h:31:40: note: candidate: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding) <near match>
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/root/.node-gyp/4.1.1/include/node/node_buffer.h:31:40: note: conversion of argument 3 would be ill-formed:
In file included from ../src/protagonist.h:6:0,
from ../src/annotation.cc:1:
../node_modules/nan/nan.h:672:67: error: invalid conversion from ‘uint32_t {aka unsigned int}’ to ‘node::encoding’ [-fpermissive]
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
In file included from ../node_modules/nan/nan.h:25:0,
from ../src/protagonist.h:6,
from ../src/annotation.cc:1:
/root/.node-gyp/4.1.1/include/node/node_buffer.h:43:40: note: candidate: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t) <near match>
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/root/.node-gyp/4.1.1/include/node/node_buffer.h:43:40: note: conversion of argument 2 would be ill-formed:
In file included from ../src/protagonist.h:6:0,
from ../src/annotation.cc:1:
../node_modules/nan/nan.h:672:67: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
../node_modules/nan/nan.h:676:29: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:
../node_modules/nan/nan.h:683:12: error: ‘Use’ is not a member of ‘node::Buffer’
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:16:0,
from ../src/protagonist.h:7,
from ../src/annotation.cc:1:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h: At global scope:
../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:96:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MarkdownNodes> m_children;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../src/protagonist.h:7,
from ../src/annotation.cc:1:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../src/protagonist.h:7,
from ../src/annotation.cc:1:
../drafter/ext/snowcrash/src/MSON.h:238:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../src/protagonist.h:7,
from ../src/annotation.cc:1:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/Blueprint.h:17:0,
from ../src/protagonist.h:7,
from ../src/annotation.cc:1:
../drafter/ext/snowcrash/src/MSON.h:371:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../src/protagonist.h:7,
from ../src/annotation.cc:1:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../src/protagonist.h:7:0,
from ../src/annotation.cc:1:
../drafter/ext/snowcrash/src/Blueprint.h:423:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Elements> m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../src/protagonist.h:7,
from ../src/annotation.cc:1:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../src/protagonist.h:8,
from ../src/annotation.cc:1:
../drafter/ext/snowcrash/src/MSONSourcemap.h:85:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../src/protagonist.h:7,
from ../src/annotation.cc:1:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/ext/snowcrash/src/BlueprintSourcemap.h:13:0,
from ../src/protagonist.h:8,
from ../src/annotation.cc:1:
../drafter/ext/snowcrash/src/MSONSourcemap.h:177:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<mson::Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../src/protagonist.h:7,
from ../src/annotation.cc:1:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../src/protagonist.h:8:0,
from ../src/annotation.cc:1:
../drafter/ext/snowcrash/src/BlueprintSourcemap.h:281:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SourceMap<Elements> > m_elements;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../src/protagonist.h:7,
from ../src/annotation.cc:1:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/src/Serialize.h:14:0,
from ../src/annotation.cc:2:
../drafter/ext/sos/src/sos.h:83:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<KeyValues> m_object;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../src/protagonist.h:7,
from ../src/annotation.cc:1:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from ../drafter/src/Serialize.h:14:0,
from ../src/annotation.cc:2:
../drafter/ext/sos/src/sos.h:84:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Bases> m_array;
^
In file included from /usr/include/c++/5.1.1/memory:81:0,
from ../drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h:13,
from ../drafter/ext/snowcrash/src/Blueprint.h:16,
from ../src/protagonist.h:7,
from ../src/annotation.cc:1:
/usr/include/c++/5.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
This error seems to come up from time to time
felix:~ felix$ npm install -g aglio
> [email protected] install /usr/local/lib/node_modules/aglio/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/validation.node
> [email protected] install /usr/local/lib/node_modules/aglio/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/bufferutil.node
> [email protected] install /usr/local/lib/node_modules/aglio/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/validation.node
> [email protected] install /usr/local/lib/node_modules/aglio/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/bufferutil.node
> [email protected] postinstall /usr/local/lib/node_modules/aglio/node_modules/aglio-theme-olio
> node scripts/setup-cache.js
> [email protected] install /usr/local/lib/node_modules/aglio/node_modules/drafter/node_modules/protagonist
> node-gyp rebuild
CXX(target) Release/obj.target/libmarkdownparser/drafter/ext/snowcrash/ext/markdown-parser/src/ByteBuffer.o
CXX(target) Release/obj.target/libmarkdownparser/drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.o
CXX(target) Release/obj.target/libmarkdownparser/drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownParser.o
LIBTOOL-STATIC Release/markdownparser.a
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/HTTP.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSON.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONOneOfParser.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONSourcemap.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONTypeSectionParser.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONValueMemberParser.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/Blueprint.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/BlueprintSourcemap.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/Section.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/Signature.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/snowcrash.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/UriTemplateParser.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/HeadersParser.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/posix/RegexMatch.o
LIBTOOL-STATIC Release/snowcrash.a
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/autolink.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/buffer.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/markdown.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/src_map.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/stack.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_href_e.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_html_e.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/html.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/html_smartypants.o
LIBTOOL-STATIC Release/sundown.a
CXX(target) Release/obj.target/libdrafter/drafter/src/drafter.o
CXX(target) Release/obj.target/libdrafter/drafter/src/cdrafter.o
CXX(target) Release/obj.target/libdrafter/drafter/src/Serialize.o
CXX(target) Release/obj.target/libdrafter/drafter/src/SerializeAST.o
CXX(target) Release/obj.target/libdrafter/drafter/src/SerializeSourcemap.o
CXX(target) Release/obj.target/libdrafter/drafter/src/SerializeResult.o
LIBTOOL-STATIC Release/drafter.a
CXX(target) Release/obj.target/libsos/drafter/ext/sos/src/sos.o
LIBTOOL-STATIC Release/sos.a
CXX(target) Release/obj.target/protagonist/src/annotation.o
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:6:
../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^
../node_modules/nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^
../node_modules/nan/nan.h:661:13: error: no member named 'smalloc' in namespace 'node'
, node::smalloc::FreeCallback callback
~~~~~~^
../node_modules/nan/nan.h:672:12: error: no matching function for call to 'New'
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^~~~~~~~~~~~~~~~~
/Users/felix/.node-gyp/4.1.2/include/node/node_buffer.h:31:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to 'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/Users/felix/.node-gyp/4.1.2/include/node/node_buffer.h:43:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/Users/felix/.node-gyp/4.1.2/include/node/node_buffer.h:28:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
^
/Users/felix/.node-gyp/4.1.2/include/node/node_buffer.h:36:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:6:
../node_modules/nan/nan.h:676:12: error: no viable conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>'
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/felix/.node-gyp/4.1.2/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to 'const v8::Local<v8::Object> &' for 1st argument
class Local {
^
/Users/felix/.node-gyp/4.1.2/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object> &&' for 1st argument
class Local {
^
/Users/felix/.node-gyp/4.1.2/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
V8_INLINE Local(Local<S> that)
^
/Users/felix/.node-gyp/4.1.2/include/node/v8.h:326:13: note: candidate template ignored: could not match 'S *' against 'v8::MaybeLocal<v8::Object>'
V8_INLINE Local(S* that)
^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:6:
../node_modules/nan/nan.h:683:26: error: no member named 'Use' in namespace 'node::Buffer'
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
~~~~~~~~~~~~~~^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:4:
In file included from /Users/felix/.node-gyp/4.1.2/include/node/node.h:42:
/Users/felix/.node-gyp/4.1.2/include/node/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/felix/.node-gyp/4.1.2/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:414:12: note: in instantiation of function template specialization 'v8::Local<v8::Primitive>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:4:
In file included from /Users/felix/.node-gyp/4.1.2/include/node/node.h:42:
/Users/felix/.node-gyp/4.1.2/include/node/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/felix/.node-gyp/4.1.2/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:424:12: note: in instantiation of function template specialization 'v8::Local<v8::Boolean>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:4:
In file included from /Users/felix/.node-gyp/4.1.2/include/node/node.h:42:
/Users/felix/.node-gyp/4.1.2/include/node/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/felix/.node-gyp/4.1.2/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1514:12: note: in instantiation of function template specialization 'v8::Local<v8::Function>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:4:
In file included from /Users/felix/.node-gyp/4.1.2/include/node/node.h:42:
/Users/felix/.node-gyp/4.1.2/include/node/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/felix/.node-gyp/4.1.2/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1632:12: note: in instantiation of function template specialization 'v8::Local<v8::Object>::Local<v8::Value>' requested here
return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
9 errors generated.
make: *** [Release/obj.target/protagonist/src/annotation.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "/usr/local/Cellar/node/4.1.2/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/aglio/node_modules/drafter/node_modules/protagonist
gyp ERR! node -v v4.1.2
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
> [email protected] install /usr/local/lib/node_modules/aglio/node_modules/chokidar/node_modules/fsevents
> node-pre-gyp install --fallback-to-build
[fsevents] Success: "/usr/local/lib/node_modules/aglio/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v46-darwin-x64/fse.node" is installed via remote
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/Cellar/node/4.1.2/bin/node" "/usr/local/bin/npm" "install" "-g" "aglio"
npm ERR! node v4.1.2
npm ERR! npm v2.14.6
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the protagonist package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls protagonist
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/felix/npm-debug.log
Running OSX 10.10.5 and node v4.1.2
[email protected] installation fails on Ubuntu using Node v4.2.x when installing protagonist as [email protected] dependency
gcc --version # gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
c++ --version # c++ (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
node -v # v4.2.4
node-gyp -v # v3.0.3
npm -v # v2.14.12
More info: https://gist.github.com/romansklenar/a2f3813b87bca2cd95b9
When calling parse
, be able to pass an timeout
argument that will limit the execution time.
Call back with TimeoutError
if blueprint cannot be parsed in time.
I am trying to install protagonist (as a prerequisite for aglio). However the installation fails with the following output:
npm install protagonist
> [email protected] install C:\Users\torsten.bremeyer\node_modules\protagonist
> node-gyp rebuild
C:\Users\torsten.bremeyer\node_modules\protagonist>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_module
s\node-gyp\bin\node-gyp.js" rebuild ) else (rebuild)
Warning: Missing input files:
C:\Users\torsten.bremeyer\node_modules\protagonist\build\drafter\ext\snowcrash\..\..\..\..\drafter\ext\snowcrash\src\Version.h
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets(64,5): error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v
100') cannot be found. To build using the v100 build tools, please install Visual Studio 2010 build tools. Alternatively, you may upgrade to the current Visual Studio t
ools by selecting the Project menu or right-click the solution, and then selecting "Upgrade Solution...". [C:\Users\torsten.bremeyer\node_modules\protagonist\build\draft
er\libdrafter.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets(64,5): error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v
100') cannot be found. To build using the v100 build tools, please install Visual Studio 2010 build tools. Alternatively, you may upgrade to the current Visual Studio t
ools by selecting the Project menu or right-click the solution, and then selecting "Upgrade Solution...". [C:\Users\torsten.bremeyer\node_modules\protagonist\build\draft
er\ext\snowcrash\libmarkdownparser.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets(64,5): error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v
100') cannot be found. To build using the v100 build tools, please install Visual Studio 2010 build tools. Alternatively, you may upgrade to the current Visual Studio t
ools by selecting the Project menu or right-click the solution, and then selecting "Upgrade Solution...". [C:\Users\torsten.bremeyer\node_modules\protagonist\build\draft
er\ext\snowcrash\libsnowcrash.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets(64,5): error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v
100') cannot be found. To build using the v100 build tools, please install Visual Studio 2010 build tools. Alternatively, you may upgrade to the current Visual Studio t
ools by selecting the Project menu or right-click the solution, and then selecting "Upgrade Solution...". [C:\Users\torsten.bremeyer\node_modules\protagonist\build\draft
er\libsos.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets(64,5): error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v
100') cannot be found. To build using the v100 build tools, please install Visual Studio 2010 build tools. Alternatively, you may upgrade to the current Visual Studio t
ools by selecting the Project menu or right-click the solution, and then selecting "Upgrade Solution...". [C:\Users\torsten.bremeyer\node_modules\protagonist\build\draft
er\ext\snowcrash\libsundown.vcxproj]
npm : gyp ERR! build error
At line:1 char:1
+ npm install protagonist
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (gyp ERR! build error :String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
gyp
ERR!
stack
Error: `C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe` failed with exit code: 1
gyp
ERR!
stack
at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:269:23)
gyp
ERR!
stack
at ChildProcess.emit (events.js:110:17)
gyp
ERR!
stack
at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp
ERR! System
Windows_NT 6.1.7601
gyp
ERR!
command
"node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp
ERR!
cwd
C:\Users\torsten.bremeyer\node_modules\protagonist
gyp
ERR!
node -v
v0.12.4
gyp
ERR! node-gyp -v
v1.0.3
gyp
ERR!
not ok
npm
ERR!
Windows_NT 6.1.7601
npm
ERR!
argv
"C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "protagonist"
npm
ERR!
node
v0.12.4
npm
ERR!
npm
v2.10.1
npm
ERR!
code
ELIFECYCLE
npm
ERR! [email protected] install: `node-gyp rebuild`
npm
ERR!
Exit status 1
npm
ERR!
npm
ERR!
Failed at the [email protected] install script 'node-gyp rebuild'.
npm
ERR!
This is most likely a problem with the protagonist package,
npm
ERR!
not with npm itself.
npm
ERR!
Tell the author that this fails on your system:
npm
ERR!
node-gyp rebuild
npm
ERR!
You can get their info via:
npm
ERR!
npm owner ls protagonist
npm
ERR!
There is likely additional logging output above.
npm
ERR!
Please include the following file with any support request:
npm
ERR!
C:\Users\torsten.bremeyer\npm-debug.log
Zdenek told me I need Visual Studio on my system. I do have Visual Studio 2013, but not VS 2010.
Can someone help me with this installation?
Trying to compile (as part of the aglio
installation) fails on my station.
I have
I tried using --msvs-version=2015
, same result.
I tried setting msvs-version 2015
in my global npm settings, same result.
Any suggestions?
As described in danielgtaylor/aglio#3 there are some issues that prevent protagonist from being used easily on Windows. There are two main issues:
\r
are not supportedThe fix for line endings is simple enough, just blueprint.replace(/\r/g, '...')
where ...
is either a blank string or \n
- I'm not 100% sure which is the right answer, and I'm not sure if I should add this into aglio or if it belongs elsewhere.
The other issue is more troubling. Given this code (saved as prot.js
):
var protagonist = require('protagonist');
var fs = require('fs');
var data = fs.readFileSync('basic.md', 'utf-8');
data = data.replace(/\r/g, '\n');
protagonist.parse(data, function(error, result) {
if (error) {
console.log(error);
return;
}
console.log(result.ast);
});
And given this API Blueprint (saved as basic.md
):
# Test API
# Group Foo
## Bar [/bar]
### GET
Foo bar baz
+ Response 200
I get the following:
C:\Users\Administrator\aglio [master +3 ~1 -0 !]> node .\prot.js
{ code: 1,
message: 'parser exception has occured',
location: [] }
# Changing to the aglio example.md in prot.js
C:\Users\Administrator\aglio [master +3 ~1 -0 !]> node .\prot.js
{ code: 3,
message: 'resource model can be specified only for a named resource, name your resource, e.g. \'# <resource name> []\'
',
location: [ { index: 618, length: 6 } ] }
Steps to reproduce:
Then run Git Bash
and since I was working with aglio at first:
git clone https://github.com/danielgtaylor/aglio
npm install -g grunt-cli
npm install --msvs-version=2012
node ./bin/aglio.js -i example.md -o example.html
# Save the above js and markdown files
node prot.js
Tried installing and get this:
root@ubuntu:/tmp# npm install protagonist
npm http GET https://registry.npmjs.org/protagonist
npm http 304 https://registry.npmjs.org/protagonist
> [email protected] install /tmp/node_modules/protagonist
> node-gyp rebuild
make: Entering directory `/tmp/node_modules/protagonist/build'
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/CBlueprint.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/CBlueprintSourcemap.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/CSourceAnnotation.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/HTTP.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/Section.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/Serialize.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/SerializeJSON.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/SerializeYAML.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/Signature.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/snowcrash.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/csnowcrash.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/UriTemplateParser.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/posix/RegexMatch.o
AR(target) Release/obj.target/snowcrash/snowcrash.a
COPY Release/snowcrash.a
CXX(target) Release/obj.target/libmarkdownparser/snowcrash/ext/markdown-parser/src/ByteBuffer.o
CXX(target) Release/obj.target/libmarkdownparser/snowcrash/ext/markdown-parser/src/MarkdownNode.o
CXX(target) Release/obj.target/libmarkdownparser/snowcrash/ext/markdown-parser/src/MarkdownParser.o
AR(target) Release/obj.target/snowcrash/markdownparser.a
COPY Release/markdownparser.a
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/src/autolink.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/src/buffer.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/src/markdown.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/src/src_map.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/src/stack.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_href_e.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_html_e.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/html/html.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/html/html_smartypants.o
AR(target) Release/obj.target/snowcrash/sundown.a
COPY Release/sundown.a
CXX(target) Release/obj.target/protagonist/src/annotation.o
CXX(target) Release/obj.target/protagonist/src/blueprint.o
CXX(target) Release/obj.target/protagonist/src/sourcemap.o
CXX(target) Release/obj.target/protagonist/src/parse.o
In file included from ../src/protagonist.h:3:0,
from ../src/parse.cc:5:
../snowcrash/src/Blueprint.h: In instantiation of ‘void std::_Destroy(_Tp*) [with _Tp = snowcrash::Resource]’:
/usr/include/c++/4.8/bits/stl_construct.h:103:46: required from ‘static void std::_Destroy_aux<<anonymous> >::__destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = snowcrash::Resource*; bool <anonymous> = false]’
/usr/include/c++/4.8/bits/stl_construct.h:127:27: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = snowcrash::Resource*]’
/usr/include/c++/4.8/bits/stl_construct.h:151:31: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterator = snowcrash::Resource*; _Tp = snowcrash::Resource]’
/usr/include/c++/4.8/bits/stl_vector.h:416:30: required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = snowcrash::Resource; _Alloc = std::allocator<snowcrash::Resource>]’
../snowcrash/src/Blueprint.h:316:12: required from ‘void std::_Destroy(_Tp*) [with _Tp = snowcrash::ResourceGroup]’
/usr/include/c++/4.8/bits/stl_construct.h:103:46: required from ‘static void std::_Destroy_aux<<anonymous> >::__destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = snowcrash::ResourceGroup*; bool <anonymous> = false]’
/usr/include/c++/4.8/bits/stl_construct.h:127:27: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = snowcrash::ResourceGroup*]’
/usr/include/c++/4.8/bits/stl_construct.h:151:31: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterator = snowcrash::ResourceGroup*; _Tp = snowcrash::ResourceGroup]’
/usr/include/c++/4.8/bits/stl_vector.h:416:30: required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = snowcrash::ResourceGroup; _Alloc = std::allocator<snowcrash::ResourceGroup>]’
../snowcrash/src/Blueprint.h:337:12: required from here
../snowcrash/src/Blueprint.h:275:12: warning: ‘snowcrash::Resource::headers’ is deprecated (declared at ../snowcrash/src/Blueprint.h:304) [-Wdeprecated-declarations]
struct Resource {
^
In file included from /usr/include/c++/4.8/vector:62:0,
from ../snowcrash/src/Blueprint.h:12,
from ../src/protagonist.h:3,
from ../src/parse.cc:5:
/usr/include/c++/4.8/bits/stl_construct.h:93:7: note: synthesized method ‘snowcrash::Resource::~Resource()’ first required here
{ __pointer->~_Tp(); }
^
In file included from ../src/protagonist.h:4:0,
from ../src/parse.cc:5:
../snowcrash/src/BlueprintSourcemap.h: In instantiation of ‘void std::_Destroy(_Tp*) [with _Tp = snowcrash::SourceMap<snowcrash::Resource>]’:
/usr/include/c++/4.8/bits/stl_construct.h:103:46: required from ‘static void std::_Destroy_aux<<anonymous> >::__destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = snowcrash::SourceMap<snowcrash::Resource>*; bool <anonymous> = false]’
/usr/include/c++/4.8/bits/stl_construct.h:127:27: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = snowcrash::SourceMap<snowcrash::Resource>*]’
/usr/include/c++/4.8/bits/stl_construct.h:151:31: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterator = snowcrash::SourceMap<snowcrash::Resource>*; _Tp = snowcrash::SourceMap<snowcrash::Resource>]’
/usr/include/c++/4.8/bits/stl_vector.h:416:30: required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = snowcrash::SourceMap<snowcrash::Resource>; _Alloc = std::allocator<snowcrash::SourceMap<snowcrash::Resource> >]’
../snowcrash/src/BlueprintSourcemap.h:210:5: required from ‘void std::_Destroy(_Tp*) [with _Tp = snowcrash::SourceMap<snowcrash::ResourceGroup>]’
/usr/include/c++/4.8/bits/stl_construct.h:103:46: required from ‘static void std::_Destroy_aux<<anonymous> >::__destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = snowcrash::SourceMap<snowcrash::ResourceGroup>*; bool <anonymous> = false]’
/usr/include/c++/4.8/bits/stl_construct.h:127:27: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = snowcrash::SourceMap<snowcrash::ResourceGroup>*]’
/usr/include/c++/4.8/bits/stl_construct.h:151:31: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterator = snowcrash::SourceMap<snowcrash::ResourceGroup>*; _Tp = snowcrash::SourceMap<snowcrash::ResourceGroup>]’
/usr/include/c++/4.8/bits/stl_vector.h:416:30: required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = snowcrash::SourceMap<snowcrash::ResourceGroup>; _Alloc = std::allocator<snowcrash::SourceMap<snowcrash::ResourceGroup> >]’
../snowcrash/src/BlueprintSourcemap.h:229:5: required from here
../snowcrash/src/BlueprintSourcemap.h:174:12: warning: ‘snowcrash::SourceMap<snowcrash::Resource>::headers’ is deprecated (declared at ../snowcrash/src/BlueprintSourcemap.h:203) [-Wdeprecated-declarations]
struct SourceMap<Resource> : public SourceMapBase {
^
In file included from /usr/include/c++/4.8/vector:62:0,
from ../snowcrash/src/Blueprint.h:12,
from ../src/protagonist.h:3,
from ../src/parse.cc:5:
/usr/include/c++/4.8/bits/stl_construct.h:93:7: note: synthesized method ‘snowcrash::SourceMap<snowcrash::Resource>::~SourceMap()’ first required here
{ __pointer->~_Tp(); }
^
In file included from ../src/protagonist.h:3:0,
from ../src/parse.cc:5:
../snowcrash/src/Blueprint.h: In instantiation of ‘void std::_Construct(_T1*, const _T2&) [with _T1 = snowcrash::Resource; _T2 = snowcrash::Resource]’:
/usr/include/c++/4.8/bits/stl_uninitialized.h:75:53: required from ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = snowcrash::Resource*; _ForwardIterator = snowcrash::Resource*; bool _TrivialValueTypes = false]’
/usr/include/c++/4.8/bits/stl_uninitialized.h:117:41: required from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = snowcrash::Resource*; _ForwardIterator = snowcrash::Resource*]’
/usr/include/c++/4.8/bits/stl_uninitialized.h:258:63: required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = snowcrash::Resource*; _ForwardIterator = snowcrash::Resource*; _Tp = snowcrash::Resource]’
/usr/include/c++/4.8/bits/vector.tcc:209:29: required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = snowcrash::Resource; _Alloc = std::allocator<snowcrash::Resource>]’
../snowcrash/src/Blueprint.h:316:12: required from ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = const snowcrash::ResourceGroup*; _OI = snowcrash::ResourceGroup*]’
/usr/include/c++/4.8/bits/stl_algobase.h:390:70: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const snowcrash::ResourceGroup*; _OI = snowcrash::ResourceGroup*]’
/usr/include/c++/4.8/bits/stl_algobase.h:428:38: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = __gnu_cxx::__normal_iterator<const snowcrash::ResourceGroup*, std::vector<snowcrash::ResourceGroup, std::allocator<snowcrash::ResourceGroup> > >; _OI = __gnu_cxx::__normal_iterator<snowcrash::ResourceGroup*, std::vector<snowcrash::ResourceGroup, std::allocator<snowcrash::ResourceGroup> > >]’
/usr/include/c++/4.8/bits/stl_algobase.h:460:17: required from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<const snowcrash::ResourceGroup*, std::vector<snowcrash::ResourceGroup, std::allocator<snowcrash::ResourceGroup> > >; _OI = __gnu_cxx::__normal_iterator<snowcrash::ResourceGroup*, std::vector<snowcrash::ResourceGroup, std::allocator<snowcrash::ResourceGroup> > >]’
/usr/include/c++/4.8/bits/vector.tcc:199:63: required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = snowcrash::ResourceGroup; _Alloc = std::allocator<snowcrash::ResourceGroup>]’
../snowcrash/src/Blueprint.h:337:12: required from here
../snowcrash/src/Blueprint.h:275:12: warning: ‘snowcrash::Resource::headers’ is deprecated (declared at ../snowcrash/src/Blueprint.h:304) [-Wdeprecated-declarations]
struct Resource {
^
../snowcrash/src/Blueprint.h:275:12: warning: ‘snowcrash::Resource::headers’ is deprecated (declared at ../snowcrash/src/Blueprint.h:304) [-Wdeprecated-declarations]
In file included from /usr/include/c++/4.8/vector:62:0,
from ../snowcrash/src/Blueprint.h:12,
from ../src/protagonist.h:3,
from ../src/parse.cc:5:
/usr/include/c++/4.8/bits/stl_construct.h:83:7: note: synthesized method ‘snowcrash::Resource::Resource(const snowcrash::Resource&)’ first required here
::new(static_cast<void*>(__p)) _T1(__value);
^
In file included from ../src/protagonist.h:4:0,
from ../src/parse.cc:5:
../snowcrash/src/BlueprintSourcemap.h: In instantiation of ‘void std::_Construct(_T1*, const _T2&) [with _T1 = snowcrash::SourceMap<snowcrash::Resource>; _T2 = snowcrash::SourceMap<snowcrash::Resource>]’:
/usr/include/c++/4.8/bits/stl_uninitialized.h:75:53: required from ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = snowcrash::SourceMap<snowcrash::Resource>*; _ForwardIterator = snowcrash::SourceMap<snowcrash::Resource>*; bool _TrivialValueTypes = false]’
/usr/include/c++/4.8/bits/stl_uninitialized.h:117:41: required from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = snowcrash::SourceMap<snowcrash::Resource>*; _ForwardIterator = snowcrash::SourceMap<snowcrash::Resource>*]’
/usr/include/c++/4.8/bits/stl_uninitialized.h:258:63: required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = snowcrash::SourceMap<snowcrash::Resource>*; _ForwardIterator = snowcrash::SourceMap<snowcrash::Resource>*; _Tp = snowcrash::SourceMap<snowcrash::Resource>]’
/usr/include/c++/4.8/bits/vector.tcc:209:29: required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = snowcrash::SourceMap<snowcrash::Resource>; _Alloc = std::allocator<snowcrash::SourceMap<snowcrash::Resource> >]’
../snowcrash/src/BlueprintSourcemap.h:210:5: required from ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = const snowcrash::SourceMap<snowcrash::ResourceGroup>*; _OI = snowcrash::SourceMap<snowcrash::ResourceGroup>*]’
/usr/include/c++/4.8/bits/stl_algobase.h:390:70: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const snowcrash::SourceMap<snowcrash::ResourceGroup>*; _OI = snowcrash::SourceMap<snowcrash::ResourceGroup>*]’
/usr/include/c++/4.8/bits/stl_algobase.h:428:38: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = __gnu_cxx::__normal_iterator<const snowcrash::SourceMap<snowcrash::ResourceGroup>*, std::vector<snowcrash::SourceMap<snowcrash::ResourceGroup>, std::allocator<snowcrash::SourceMap<snowcrash::ResourceGroup> > > >; _OI = __gnu_cxx::__normal_iterator<snowcrash::SourceMap<snowcrash::ResourceGroup>*, std::vector<snowcrash::SourceMap<snowcrash::ResourceGroup>, std::allocator<snowcrash::SourceMap<snowcrash::ResourceGroup> > > >]’
/usr/include/c++/4.8/bits/stl_algobase.h:460:17: required from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<const snowcrash::SourceMap<snowcrash::ResourceGroup>*, std::vector<snowcrash::SourceMap<snowcrash::ResourceGroup>, std::allocator<snowcrash::SourceMap<snowcrash::ResourceGroup> > > >; _OI = __gnu_cxx::__normal_iterator<snowcrash::SourceMap<snowcrash::ResourceGroup>*, std::vector<snowcrash::SourceMap<snowcrash::ResourceGroup>, std::allocator<snowcrash::SourceMap<snowcrash::ResourceGroup> > > >]’
/usr/include/c++/4.8/bits/vector.tcc:199:63: required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = snowcrash::SourceMap<snowcrash::ResourceGroup>; _Alloc = std::allocator<snowcrash::SourceMap<snowcrash::ResourceGroup> >]’
../snowcrash/src/BlueprintSourcemap.h:229:5: required from here
../snowcrash/src/BlueprintSourcemap.h:174:12: warning: ‘snowcrash::SourceMap<snowcrash::Resource>::headers’ is deprecated (declared at ../snowcrash/src/BlueprintSourcemap.h:203) [-Wdeprecated-declarations]
struct SourceMap<Resource> : public SourceMapBase {
^
../snowcrash/src/BlueprintSourcemap.h:174:12: warning: ‘snowcrash::SourceMap<snowcrash::Resource>::headers’ is deprecated (declared at ../snowcrash/src/BlueprintSourcemap.h:203) [-Wdeprecated-declarations]
In file included from /usr/include/c++/4.8/vector:62:0,
from ../snowcrash/src/Blueprint.h:12,
from ../src/protagonist.h:3,
from ../src/parse.cc:5:
/usr/include/c++/4.8/bits/stl_construct.h:83:7: note: synthesized method ‘snowcrash::SourceMap<snowcrash::Resource>::SourceMap(const snowcrash::SourceMap<snowcrash::Resource>&)’ first required here
::new(static_cast<void*>(__p)) _T1(__value);
^
In file included from ../src/protagonist.h:3:0,
from ../src/parse.cc:5:
../snowcrash/src/Blueprint.h: In instantiation of ‘void std::_Destroy(_Tp*) [with _Tp = snowcrash::Action]’:
/usr/include/c++/4.8/bits/stl_construct.h:103:46: required from ‘static void std::_Destroy_aux<<anonymous> >::__destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = snowcrash::Action*; bool <anonymous> = false]’
/usr/include/c++/4.8/bits/stl_construct.h:127:27: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = snowcrash::Action*]’
/usr/include/c++/4.8/bits/stl_construct.h:151:31: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterator = snowcrash::Action*; _Tp = snowcrash::Action]’
/usr/include/c++/4.8/bits/stl_vector.h:416:30: required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = snowcrash::Action; _Alloc = std::allocator<snowcrash::Action>]’
../snowcrash/src/Blueprint.h:275:12: required from ‘void std::_Destroy(_Tp*) [with _Tp = snowcrash::Resource]’
/usr/include/c++/4.8/bits/stl_construct.h:103:46: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
../snowcrash/src/Blueprint.h:316:12: required from ‘void std::_Destroy(_Tp*) [with _Tp = snowcrash::ResourceGroup]’
/usr/include/c++/4.8/bits/stl_construct.h:103:46: required from ‘static void std::_Destroy_aux<<anonymous> >::__destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = snowcrash::ResourceGroup*; bool <anonymous> = false]’
/usr/include/c++/4.8/bits/stl_construct.h:127:27: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = snowcrash::ResourceGroup*]’
/usr/include/c++/4.8/bits/stl_construct.h:151:31: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterator = snowcrash::ResourceGroup*; _Tp = snowcrash::ResourceGroup]’
/usr/include/c++/4.8/bits/stl_vector.h:416:30: required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = snowcrash::ResourceGroup; _Alloc = std::allocator<snowcrash::ResourceGroup>]’
../snowcrash/src/Blueprint.h:337:12: required from here
../snowcrash/src/Blueprint.h:237:12: warning: ‘snowcrash::Action::headers’ is deprecated (declared at ../snowcrash/src/Blueprint.h:263) [-Wdeprecated-declarations]
struct Action {
^
In file included from /usr/include/c++/4.8/vector:62:0,
from ../snowcrash/src/Blueprint.h:12,
from ../src/protagonist.h:3,
from ../src/parse.cc:5:
/usr/include/c++/4.8/bits/stl_construct.h:93:7: note: synthesized method ‘snowcrash::Action::~Action()’ first required here
{ __pointer->~_Tp(); }
^
In file included from ../src/protagonist.h:4:0,
from ../src/parse.cc:5:
../snowcrash/src/BlueprintSourcemap.h: In instantiation of ‘void std::_Destroy(_Tp*) [with _Tp = snowcrash::SourceMap<snowcrash::Action>]’:
/usr/include/c++/4.8/bits/stl_construct.h:103:46: required from ‘static void std::_Destroy_aux<<anonymous> >::__destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = snowcrash::SourceMap<snowcrash::Action>*; bool <anonymous> = false]’
/usr/include/c++/4.8/bits/stl_construct.h:127:27: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = snowcrash::SourceMap<snowcrash::Action>*]’
/usr/include/c++/4.8/bits/stl_construct.h:151:31: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterator = snowcrash::SourceMap<snowcrash::Action>*; _Tp = snowcrash::SourceMap<snowcrash::Action>]’
/usr/include/c++/4.8/bits/stl_vector.h:416:30: required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = snowcrash::SourceMap<snowcrash::Action>; _Alloc = std::allocator<snowcrash::SourceMap<snowcrash::Action> >]’
../snowcrash/src/BlueprintSourcemap.h:168:5: required from ‘void std::_Destroy(_Tp*) [with _Tp = snowcrash::SourceMap<snowcrash::Resource>]’
/usr/include/c++/4.8/bits/stl_construct.h:103:46: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
../snowcrash/src/BlueprintSourcemap.h:210:5: required from ‘void std::_Destroy(_Tp*) [with _Tp = snowcrash::SourceMap<snowcrash::ResourceGroup>]’
/usr/include/c++/4.8/bits/stl_construct.h:103:46: required from ‘static void std::_Destroy_aux<<anonymous> >::__destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = snowcrash::SourceMap<snowcrash::ResourceGroup>*; bool <anonymous> = false]’
/usr/include/c++/4.8/bits/stl_construct.h:127:27: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = snowcrash::SourceMap<snowcrash::ResourceGroup>*]’
/usr/include/c++/4.8/bits/stl_construct.h:151:31: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterator = snowcrash::SourceMap<snowcrash::ResourceGroup>*; _Tp = snowcrash::SourceMap<snowcrash::ResourceGroup>]’
/usr/include/c++/4.8/bits/stl_vector.h:416:30: required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = snowcrash::SourceMap<snowcrash::ResourceGroup>; _Alloc = std::allocator<snowcrash::SourceMap<snowcrash::ResourceGroup> >]’
../snowcrash/src/BlueprintSourcemap.h:229:5: required from here
../snowcrash/src/BlueprintSourcemap.h:135:12: warning: ‘snowcrash::SourceMap<snowcrash::Action>::headers’ is deprecated (declared at ../snowcrash/src/BlueprintSourcemap.h:161) [-Wdeprecated-declarations]
struct SourceMap<Action> : public SourceMapBase {
^
In file included from /usr/include/c++/4.8/vector:62:0,
from ../snowcrash/src/Blueprint.h:12,
from ../src/protagonist.h:3,
from ../src/parse.cc:5:
/usr/include/c++/4.8/bits/stl_construct.h:93:7: note: synthesized method ‘snowcrash::SourceMap<snowcrash::Action>::~SourceMap()’ first required here
{ __pointer->~_Tp(); }
^
In file included from ../src/protagonist.h:3:0,
from ../src/parse.cc:5:
../snowcrash/src/Blueprint.h: In instantiation of ‘void std::_Construct(_T1*, const _T2&) [with _T1 = snowcrash::Action; _T2 = snowcrash::Action]’:
/usr/include/c++/4.8/bits/stl_uninitialized.h:75:53: required from ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = snowcrash::Action*; _ForwardIterator = snowcrash::Action*; bool _TrivialValueTypes = false]’
/usr/include/c++/4.8/bits/stl_uninitialized.h:117:41: required from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = snowcrash::Action*; _ForwardIterator = snowcrash::Action*]’
/usr/include/c++/4.8/bits/stl_uninitialized.h:258:63: required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = snowcrash::Action*; _ForwardIterator = snowcrash::Action*; _Tp = snowcrash::Action]’
/usr/include/c++/4.8/bits/vector.tcc:209:29: required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = snowcrash::Action; _Alloc = std::allocator<snowcrash::Action>]’
../snowcrash/src/Blueprint.h:275:12: required from ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = const snowcrash::Resource*; _OI = snowcrash::Resource*]’
/usr/include/c++/4.8/bits/stl_algobase.h:390:70: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
../snowcrash/src/Blueprint.h:316:12: required from ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = const snowcrash::ResourceGroup*; _OI = snowcrash::ResourceGroup*]’
/usr/include/c++/4.8/bits/stl_algobase.h:390:70: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const snowcrash::ResourceGroup*; _OI = snowcrash::ResourceGroup*]’
/usr/include/c++/4.8/bits/stl_algobase.h:428:38: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = __gnu_cxx::__normal_iterator<const snowcrash::ResourceGroup*, std::vector<snowcrash::ResourceGroup, std::allocator<snowcrash::ResourceGroup> > >; _OI = __gnu_cxx::__normal_iterator<snowcrash::ResourceGroup*, std::vector<snowcrash::ResourceGroup, std::allocator<snowcrash::ResourceGroup> > >]’
/usr/include/c++/4.8/bits/stl_algobase.h:460:17: required from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<const snowcrash::ResourceGroup*, std::vector<snowcrash::ResourceGroup, std::allocator<snowcrash::ResourceGroup> > >; _OI = __gnu_cxx::__normal_iterator<snowcrash::ResourceGroup*, std::vector<snowcrash::ResourceGroup, std::allocator<snowcrash::ResourceGroup> > >]’
/usr/include/c++/4.8/bits/vector.tcc:199:63: required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = snowcrash::ResourceGroup; _Alloc = std::allocator<snowcrash::ResourceGroup>]’
../snowcrash/src/Blueprint.h:337:12: required from here
../snowcrash/src/Blueprint.h:237:12: warning: ‘snowcrash::Action::headers’ is deprecated (declared at ../snowcrash/src/Blueprint.h:263) [-Wdeprecated-declarations]
struct Action {
^
../snowcrash/src/Blueprint.h:237:12: warning: ‘snowcrash::Action::headers’ is deprecated (declared at ../snowcrash/src/Blueprint.h:263) [-Wdeprecated-declarations]
In file included from /usr/include/c++/4.8/vector:62:0,
from ../snowcrash/src/Blueprint.h:12,
from ../src/protagonist.h:3,
from ../src/parse.cc:5:
/usr/include/c++/4.8/bits/stl_construct.h:83:7: note: synthesized method ‘snowcrash::Action::Action(const snowcrash::Action&)’ first required here
::new(static_cast<void*>(__p)) _T1(__value);
^
In file included from ../src/protagonist.h:4:0,
from ../src/parse.cc:5:
../snowcrash/src/BlueprintSourcemap.h: In instantiation of ‘void std::_Construct(_T1*, const _T2&) [with _T1 = snowcrash::SourceMap<snowcrash::Action>; _T2 = snowcrash::SourceMap<snowcrash::Action>]’:
/usr/include/c++/4.8/bits/stl_uninitialized.h:75:53: required from ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = snowcrash::SourceMap<snowcrash::Action>*; _ForwardIterator = snowcrash::SourceMap<snowcrash::Action>*; bool _TrivialValueTypes = false]’
/usr/include/c++/4.8/bits/stl_uninitialized.h:117:41: required from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = snowcrash::SourceMap<snowcrash::Action>*; _ForwardIterator = snowcrash::SourceMap<snowcrash::Action>*]’
/usr/include/c++/4.8/bits/stl_uninitialized.h:258:63: required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = snowcrash::SourceMap<snowcrash::Action>*; _ForwardIterator = snowcrash::SourceMap<snowcrash::Action>*; _Tp = snowcrash::SourceMap<snowcrash::Action>]’
/usr/include/c++/4.8/bits/vector.tcc:209:29: required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = snowcrash::SourceMap<snowcrash::Action>; _Alloc = std::allocator<snowcrash::SourceMap<snowcrash::Action> >]’
../snowcrash/src/BlueprintSourcemap.h:168:5: required from ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = const snowcrash::SourceMap<snowcrash::Resource>*; _OI = snowcrash::SourceMap<snowcrash::Resource>*]’
/usr/include/c++/4.8/bits/stl_algobase.h:390:70: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
../snowcrash/src/BlueprintSourcemap.h:210:5: required from ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = const snowcrash::SourceMap<snowcrash::ResourceGroup>*; _OI = snowcrash::SourceMap<snowcrash::ResourceGroup>*]’
/usr/include/c++/4.8/bits/stl_algobase.h:390:70: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const snowcrash::SourceMap<snowcrash::ResourceGroup>*; _OI = snowcrash::SourceMap<snowcrash::ResourceGroup>*]’
/usr/include/c++/4.8/bits/stl_algobase.h:428:38: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = __gnu_cxx::__normal_iterator<const snowcrash::SourceMap<snowcrash::ResourceGroup>*, std::vector<snowcrash::SourceMap<snowcrash::ResourceGroup>, std::allocator<snowcrash::SourceMap<snowcrash::ResourceGroup> > > >; _OI = __gnu_cxx::__normal_iterator<snowcrash::SourceMap<snowcrash::ResourceGroup>*, std::vector<snowcrash::SourceMap<snowcrash::ResourceGroup>, std::allocator<snowcrash::SourceMap<snowcrash::ResourceGroup> > > >]’
/usr/include/c++/4.8/bits/stl_algobase.h:460:17: required from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<const snowcrash::SourceMap<snowcrash::ResourceGroup>*, std::vector<snowcrash::SourceMap<snowcrash::ResourceGroup>, std::allocator<snowcrash::SourceMap<snowcrash::ResourceGroup> > > >; _OI = __gnu_cxx::__normal_iterator<snowcrash::SourceMap<snowcrash::ResourceGroup>*, std::vector<snowcrash::SourceMap<snowcrash::ResourceGroup>, std::allocator<snowcrash::SourceMap<snowcrash::ResourceGroup> > > >]’
/usr/include/c++/4.8/bits/vector.tcc:199:63: required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = snowcrash::SourceMap<snowcrash::ResourceGroup>; _Alloc = std::allocator<snowcrash::SourceMap<snowcrash::ResourceGroup> >]’
../snowcrash/src/BlueprintSourcemap.h:229:5: required from here
../snowcrash/src/BlueprintSourcemap.h:135:12: warning: ‘snowcrash::SourceMap<snowcrash::Action>::headers’ is deprecated (declared at ../snowcrash/src/BlueprintSourcemap.h:161) [-Wdeprecated-declarations]
struct SourceMap<Action> : public SourceMapBase {
^
../snowcrash/src/BlueprintSourcemap.h:135:12: warning: ‘snowcrash::SourceMap<snowcrash::Action>::headers’ is deprecated (declared at ../snowcrash/src/BlueprintSourcemap.h:161) [-Wdeprecated-declarations]
In file included from /usr/include/c++/4.8/vector:62:0,
from ../snowcrash/src/Blueprint.h:12,
from ../src/protagonist.h:3,
from ../src/parse.cc:5:
/usr/include/c++/4.8/bits/stl_construct.h:83:7: note: synthesized method ‘snowcrash::SourceMap<snowcrash::Action>::SourceMap(const snowcrash::SourceMap<snowcrash::Action>&)’ first required here
::new(static_cast<void*>(__p)) _T1(__value);
^
CXX(target) Release/obj.target/protagonist/src/protagonist.o
CXX(target) Release/obj.target/protagonist/src/result.o
SOLINK_MODULE(target) Release/obj.target/protagonist.node
SOLINK_MODULE(target) Release/obj.target/protagonist.node: Finished
COPY Release/protagonist.node
make: Leaving directory `/tmp/node_modules/protagonist/build'
[email protected] node_modules/protagonist
Hi,
Loaded protagonist and tried npm test
. First it complained that mocha "is not recognized". Did an npm install -g mocha
. Then re-ran test and now am getting the following error.
> [email protected] test C:\protagonist\node_modules\protagonist
> mocha --compilers coffee:coffee-script -R spec ./test/*-test.coffee
C:\protagonist\node_modules\protagonist\test\ast-test.coffee:1
function (exports, require, module, __filename, __dirname) { fs = require 'fs'
^^^^
SyntaxError: Unexpected string
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at C:\Users\smantha\AppData\Roaming\npm\node_modules\mocha\lib\mocha.js:192:27
at Array.forEach (native)
at Mocha.loadFiles (C:\Users\smantha\AppData\Roaming\npm\node_modules\mocha\lib\mocha.js:189:14)
at Mocha.run (C:\Users\smantha\AppData\Roaming\npm\node_modules\mocha\lib\mocha.js:422:31)
at Object.<anonymous> (C:\Users\smantha\AppData\Roaming\npm\node_modules\mocha\bin\_mocha:398:16)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
npm ERR! Test failed. See above for more details.
How to fix this? What am I missing? How to check for what I could be missing ?
Thanks,
S-
At first I install node-gyp 0.13.0, then I want install protagonist (latest - 0.11.0). But there is always error:
Install packages failed: Error occurred when installing package protagonist.
"C:\Program Files\nodejs\npm.cmd" install protagonist
Exit code: 1
Standard error:
npm http GET https://registry.npmjs.org/protagonist
npm http 304 https://registry.npmjs.org/protagonist
gypnpm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the protagonist package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls protagonist
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "protagonist"
npm ERR! cwd C:\Users\Work\WebstormProjects\trader
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.26
npm ERR! code ELIFECYCLE
npm
Standard output:
[email protected] install C:\Users\Work\WebstormProjects\trader\node_modules\protagonist
node-gyp rebuild
C:\Users\Work\WebstormProjects\trader\node_modules\protagonist>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild
When trying to install the latest release (1.1.0) with npm, I receive this error:
$ npm install protagonist
\
> [email protected] install /Users/artlogic/Code/appserver/node_modules/protagonist
> node-gyp rebuild
gyp: drafter/drafter.gyp not found (cwd: /Users/artlogic/Code/appserver/node_modules/protagonist) while loading dependencies of binding.gyp while trying to load binding.gyp
node -v v0.11.14
node-gyp -v v1.0.2
../src/protagonist.h:13:36: error: expected class name
class Blueprint : public node::ObjectWrap {
^
../src/protagonist.h:28:48: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> New(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/mdemo/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/annotation.cc:1:
../src/protagonist.h:35:36: error: expected class name
class Sourcemap : public node::ObjectWrap {
^
../src/protagonist.h:50:48: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> New(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/mdemo/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/annotation.cc:1:
../src/protagonist.h:57:43: error: expected class name
class SourceAnnotation : public node::ObjectWrap {
^
../src/protagonist.h:69:48: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> New(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/mdemo/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/annotation.cc:1:
../src/protagonist.h:76:33: error: expected class name
class Result : public node::ObjectWrap {
^
../src/protagonist.h:92:48: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> New(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/mdemo/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/annotation.cc:1:
../src/protagonist.h:99:46: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
extern v8::Handle<v8::Value> Parse(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/mdemo/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
../src/annotation.cc:19:17: error: calling a protected constructor of class 'v8::HandleScope'
HandleScope scope;
^
/Users/mdemo/.node-gyp/0.11.14/deps/v8/include/v8.h:816:13: note: declared protected here
V8_INLINE HandleScope() {}
^
../src/annotation.cc:21:55: error: cannot initialize a parameter of type 'v8::Isolate *' with an lvalue of type 'v8::Handle<v8::Value> (const v8::internal::Arguments &)'
Local<FunctionTemplate> t = FunctionTemplate::New(New);
^~~
/Users/mdemo/.node-gyp/0.11.14/deps/v8/include/v8.h:3435:16: note: passing argument to parameter 'isolate' here
Isolate* isolate,
^
../src/annotation.cc:23:29: error: no member named 'NewSymbol' in 'v8::String'
t->SetClassName(String::NewSymbol("SourceAnnotation"));
~~~~~~~~^
../src/annotation.cc:25:41: error: 'New' is a private member of 'v8::PersistentBase<v8::Function>'
constructor = Persistent<Function>::New(t->GetFunction());
^
/Users/mdemo/.node-gyp/0.11.14/deps/v8/include/v8.h:572:23: note: declared private here
V8_INLINE static T* New(Isolate* isolate, T* that);
^
../src/annotation.cc:25:61: error: too few arguments to function call, expected 2, have 1
constructor = Persistent<Function>::New(t->GetFunction());
~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/mdemo/.node-gyp/0.11.14/deps/v8/include/v8.h:572:3: note: 'New' declared here
V8_INLINE static T* New(Isolate* isolate, T* that);
^
/Users/mdemo/.node-gyp/0.11.14/deps/v8/include/v8config.h:289:20: note: expanded from macro 'V8_INLINE'
# define V8_INLINE inline __attribute__((always_inline))
^
../src/annotation.cc:26:26: error: no member named 'NewSymbol' in 'v8::String'
exports->Set(String::NewSymbol("SourceAnnotation"), constructor);
~~~~~~~~^
../src/annotation.cc:29:43: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
Handle<Value> SourceAnnotation::New(const Arguments& args)
^~~~~~~~~
v8::internal::Arguments
/Users/mdemo/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
../src/annotation.cc:31:17: error: calling a protected constructor of class 'v8::HandleScope'
HandleScope scope;
^
/Users/mdemo/.node-gyp/0.11.14/deps/v8/include/v8.h:816:13: note: declared protected here
V8_INLINE HandleScope() {}
^
../src/annotation.cc:33:17: error: no member named 'Wrap' in 'protagonist::SourceAnnotation'
annotation->Wrap(args.This());
~~~~~~~~~~ ^
../src/annotation.cc:33:26: error: member access into incomplete type 'const v8::internal::Arguments'
annotation->Wrap(args.This());
^
/Users/mdemo/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note: forward declaration of 'v8::internal::Arguments'
class Arguments;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/protagonist/src/annotation.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1059:12)
gyp ERR! System Darwin 14.0.0
gyp ERR! command "node" "/usr/local/bin/node-gyp" "build"
gyp ERR! cwd /Users/mdemo/work/code/protagonist/node_modules/protagonist
gyp ERR! node -v v0.11.14
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
I've tried installing it on OS X 10.9 and also in a Vagrant machine running Ubuntu 12.04, with the same result. I've also tried installing previous versions of protagonist.
$ npm install -g protagonist
npm http GET http://registry.npmjs.org/protagonist
npm http 304 http://registry.npmjs.org/protagonist
> [email protected] install /usr/local/lib/node_modules/protagonist
> node-gyp rebuild
gyp ERR! configure error
gyp ERR! stack Error: spawn EACCES
gyp ERR! stack at errnoException (child_process.js:998:11)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:34)
gyp ERR! System Darwin 13.2.0
gyp ERR! command "node" "/usr/local/share/npm/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/protagonist
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the protagonist package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls protagonist
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 13.2.0
npm ERR! command "node" "/usr/local/share/npm/bin/npm" "install" "-g" "protagonist"
npm ERR! cwd /Users/niklas
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/niklas/npm-debug.log
npm ERR! not ok code 0
Node and npm versions
$ node -v
v0.10.28
$ npm -v
1.4.9
For segfault-handler module. Name inside binding.gyp and index.js must be the same. It is currently using segfault-handler-native.
Got protagonist working with my latest ubuntu after renaming to be the same.
This is not a protagonist issue but a note for others getting it to work.
Hello,
I'm getting segfault with protagonist 0.12.1. npm version 1.4.21, nodeJS version: 0.10.29
Code:
PID 5156 received SIGSEGV for address: 0x4cb64a8
/home/david/exerciser/node_modules/segfault-handler/build/Release/segfault_handler.node(+0x103d)[0x7fe0ac30503d]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf8d0)[0x7fe0ac8bd8d0]
/lib/x86_64-linux-gnu/libc.so.6(+0x904de)[0x7fe0ac5964de]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSs4_Rep8_M_cloneERKSaIcEm+0x40)[0x7fe0ad0a1960]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSsC1ERKSs+0x3c)[0x7fe0ad0a201c]
/home/david/exerciser/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash13SectionParserINS_7PayloadEE16ProcessSignatureERKNS_16BlueprintSectionERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS8_SaIS8_EEEERKSsRNS_6ResultERS1_+0x1af)[0x7fe0ac0ce68f]
/home/david/exerciser/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash13SectionParserINS_7PayloadEE18HandlePayloadAssetERKNS_16BlueprintSectionERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS8_SaIS8_EEEERNS_19BlueprintParserCoreERS1_+0x124)[0x7fe0ac0db3c4]
/home/david/exerciser/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash11BlockParserINS_7PayloadENS_13SectionParserIS1_EEE5ParseERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS7_SaIS7_EEEESF_RKNS_16BlueprintSectionERNS_19BlueprintParserCoreERS1_+0x513)[0x7fe0ac0dbbb3]
/home/david/exerciser/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash13SectionParserINS_6ActionEE13HandlePayloadERKNS_16BlueprintSectionERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS8_SaIS8_EEEERNS_19BlueprintParserCoreERS1_+0xb6)[0x7fe0ac0dc4e6]
/home/david/exerciser/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash13SectionParserINS_6ActionEE12ParseSectionERKNS_16BlueprintSectionERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS8_SaIS8_EEEERNS_19BlueprintParserCoreERS1_+0x333)[0x7fe0ac0e1163]
/home/david/exerciser/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash13SectionParserINS_8ResourceEE12HandleActionERKNS_16BlueprintSectionERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS8_SaIS8_EEEERNS_19BlueprintParserCoreERS1_b+0x1f4)[0x7fe0ac0e1844]
/home/david/exerciser/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash13SectionParserINS_8ResourceEE12ParseSectionERKNS_16BlueprintSectionERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS8_SaIS8_EEEERNS_19BlueprintParserCoreERS1_+0x25e)[0x7fe0ac0e3a2e]
/home/david/exerciser/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash13SectionParserINS_13ResourceGroupEE14HandleResourceERKNS_16BlueprintSectionERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS8_SaIS8_EEEERNS_19BlueprintParserCoreERS1_+0x2c0)[0x7fe0ac0e4340]
/home/david/exerciser/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash13SectionParserINS_9BlueprintEE19HandleResourceGroupERKNS_16BlueprintSectionERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS8_SaIS8_EEEERNS_19BlueprintParserCoreERS1_+0x53b)[0x7fe0ac0e530b]
/home/david/exerciser/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash15BlueprintParser5ParseERKSsRKSt6vectorINS_13MarkdownBlockESaIS4_EEjRNS_6ResultERNS_9BlueprintE+0x1b7)[0x7fe0ac0e5e07]
/home/david/exerciser/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash6Parser5parseERKSsjRNS_6ResultERNS_9BlueprintE+0x295)[0x7fe0ac0bbe65]
/home/david/exerciser/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash5parseERKSsjRNS_6ResultERNS_9BlueprintE+0x23)[0x7fe0ac0ebc73]
grunt[0x46e8ed]
grunt[0x464268]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x80a4)[0x7fe0ac8b60a4]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fe0ac5ebc2d]
Hey,
I have a large API document that I'm using hercule
to transclude together. I'm using aglio
to generate documentation and it's working, but I get warnings that are from protagonist
. I would like to troubleshoot the warnings it's describing, but I don't know how to make use of the information it gives me.
In the protagonist
readme it says a warning index represents:
Zero-based index of the character where the warning occurs
But for a warning like this:
{
"code": 5,
"message": "ignoring additional request header(s), specify this header(s) in the referenced model definition instead",
"location": [
{
"index": 21262,
"length": 17
}
]
}
How am I supposed to find index 21262? My transcluded document has line breaks. I'm using sublime to navigate it, but I can only navigate by col:row syntax - not an offset from the beginning of the file.
Please advise how I can better make use of this warning info?
It looks like multiple users have reported a potential regression on Windows via danielgtaylor/aglio#78. It seems directly related to the version bump between Protagonist 0.16 and 0.17 when dealing with fairly large files.
Hi,
since protagonist is replacing drafter, I have expected to get some validation information from protagonist (like the "warnings"-array of drafter).
But no matter how broken the input is I am feeding protagonist with, it never complains and there is no indication of any error.
How do I get validation information?
(I am using 1.0.0)
Regards and thanks for your work,
k
Add protagonist API documentation
Hi,
I cannot install protagonist on OS X 10.9.5.
Below are the console output:
npm http GET https://registry.npmjs.org/protagonist
npm http 304 https://registry.npmjs.org/protagonist
> [email protected] install /Users/Bruce/node_modules/protagonist
> node-gyp rebuild
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/CBlueprint.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/CSourceAnnotation.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/HTTP.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/Section.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/Serialize.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/SerializeJSON.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/SerializeYAML.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/Signature.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/snowcrash.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/csnowcrash.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/UriTemplateParser.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/posix/RegexMatch.o
LIBTOOL-STATIC Release/snowcrash.a
CXX(target) Release/obj.target/libmarkdownparser/snowcrash/ext/markdown-parser/src/ByteBuffer.o
CXX(target) Release/obj.target/libmarkdownparser/snowcrash/ext/markdown-parser/src/MarkdownNode.o
CXX(target) Release/obj.target/libmarkdownparser/snowcrash/ext/markdown-parser/src/MarkdownParser.o
LIBTOOL-STATIC Release/markdownparser.a
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/src/autolink.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/src/buffer.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/src/markdown.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/src/src_map.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/src/stack.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_href_e.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_html_e.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/html/html.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/html/html_smartypants.o
LIBTOOL-STATIC Release/sundown.a
CXX(target) Release/obj.target/protagonist/src/annotation.o
In file included from ../src/annotation.cc:1:
../src/protagonist.h:11:36: error: expected class name
class Blueprint : public node::ObjectWrap {
^
../src/protagonist.h:26:48: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> New(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/Bruce/.node-gyp/0.11.13/deps/v8/include/v8.h:149:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/annotation.cc:1:
../src/protagonist.h:33:43: error: expected class name
class SourceAnnotation : public node::ObjectWrap {
^
../src/protagonist.h:45:48: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> New(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/Bruce/.node-gyp/0.11.13/deps/v8/include/v8.h:149:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/annotation.cc:1:
../src/protagonist.h:52:33: error: expected class name
class Result : public node::ObjectWrap {
^
../src/protagonist.h:66:48: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> New(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/Bruce/.node-gyp/0.11.13/deps/v8/include/v8.h:149:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/annotation.cc:1:
../src/protagonist.h:73:46: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
extern v8::Handle<v8::Value> Parse(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/Bruce/.node-gyp/0.11.13/deps/v8/include/v8.h:149:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
../src/annotation.cc:19:17: error: calling a protected constructor of class 'v8::HandleScope' [52/1832]
HandleScope scope;
^
/Users/Bruce/.node-gyp/0.11.13/deps/v8/include/v8.h:845:13: note: declared protected here
V8_INLINE HandleScope() {}
^
../src/annotation.cc:21:55: error: cannot initialize a parameter of type 'v8::Isolate *' with an lvalue of type 'v8::Handle<v8::Value>
(const v8::internal::Arguments &)'
Local<FunctionTemplate> t = FunctionTemplate::New(New);
^~~
/Users/Bruce/.node-gyp/0.11.13/deps/v8/include/v8.h:3520:16: note: passing argument to parameter 'isolate' here
Isolate* isolate,
^
../src/annotation.cc:23:29: error: no member named 'NewSymbol' in 'v8::String'
t->SetClassName(String::NewSymbol("SourceAnnotation"));
~~~~~~~~^
../src/annotation.cc:25:41: error: 'New' is a private member of 'v8::PersistentBase<v8::Function>'
constructor = Persistent<Function>::New(t->GetFunction());
^
/Users/Bruce/.node-gyp/0.11.13/deps/v8/include/v8.h:594:23: note: declared private here
V8_INLINE static T* New(Isolate* isolate, T* that);
^
../src/annotation.cc:25:61: error: too few arguments to function call, expected 2, have 1
constructor = Persistent<Function>::New(t->GetFunction());
~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/Bruce/.node-gyp/0.11.13/deps/v8/include/v8.h:594:3: note: 'New' declared here
V8_INLINE static T* New(Isolate* isolate, T* that);
^
/Users/Bruce/.node-gyp/0.11.13/deps/v8/include/v8config.h:312:20: note: expanded from macro 'V8_INLINE'
# define V8_INLINE inline __attribute__((always_inline))
^
../src/annotation.cc:26:26: error: no member named 'NewSymbol' in 'v8::String'
exports->Set(String::NewSymbol("SourceAnnotation"), constructor);
~~~~~~~~^
../src/annotation.cc:29:43: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
Handle<Value> SourceAnnotation::New(const Arguments& args)
^~~~~~~~~
v8::internal::Arguments
/Users/Bruce/.node-gyp/0.11.13/deps/v8/include/v8.h:149:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
../src/annotation.cc:31:17: error: calling a protected constructor of class 'v8::HandleScope'
HandleScope scope;
^
/Users/Bruce/.node-gyp/0.11.13/deps/v8/include/v8.h:845:13: note: declared protected here
V8_INLINE HandleScope() {}
^
../src/annotation.cc:33:17: error: no member named 'Wrap' in 'protagonist::SourceAnnotation'
annotation->Wrap(args.This());
~~~~~~~~~~ ^
../src/annotation.cc:33:26: error: member access into incomplete type 'const v8::internal::Arguments'
annotation->Wrap(args.This());
^
Users/Bruce/.node-gyp/0.11.13/deps/v8/include/v8.h:149:7: note: forward declaration of 'v8::internal::Arguments'
class Arguments;
^
../src/annotation.cc:34:18: error: no member named 'Close' in 'v8::HandleScope'
return scope.Close(args.This());
~~~~~ ^
../src/annotation.cc:34:28: error: member access into incomplete type 'const v8::internal::Arguments'
return scope.Close(args.This());
^
/Users/Bruce/.node-gyp/0.11.13/deps/v8/include/v8.h:149:7: note: forward declaration of 'v8::internal::Arguments'
class Arguments;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/protagonist/src/annotation.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/Bruce/.nvm/v0.11.13/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1046:12)
gyp ERR! System Darwin 13.4.0
gyp ERR! command "node" "/Users/Bruce/.nvm/v0.11.13/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/Bruce/node_modules/protagonist
gyp ERR! node -v v0.11.13
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the protagonist package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls protagonist
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 13.4.0
npm ERR! command "/Users/Bruce/.nvm/v0.11.13/bin/node" "/Users/Bruce/.nvm/v0.11.13/bin/npm" "install" "protagonist"
npm ERR! cwd /Users/Bruce
npm ERR! node -v v0.11.13
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/Bruce/npm-debug.log
npm ERR! not ok code 0
I've been trying to install Aglio, but it's been failing. I uninstall....
Node: v0.10.35
Python:2.7
npm:1.4.28
I was asked if MSVC was installed. No. So I installed Microsoft Visual C++ Compiler for Python 2.7
http://www.microsoft.com/en-us/download/details.aspx?id=44266
But I still got the following errors.
C:\DevPrograms\aglio-master>npm install -g aglio
npm WARN optional dep failed, continuing [email protected]
> [email protected] install C:\Users\user1\AppData\Roaming\npm\node_modules\aglio\node_modules\socket.io\node_modules\engine.io\node_modules\ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
C:\Users\user1\AppData\Roaming\npm\node_modules\aglio\node_modules\socket.io\node_modules\engine.io\node_modules\ws>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
> [email protected] install C:\Users\user1\AppData\Roaming\npm\node_modules\aglio\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
C:\Users\user1\AppData\Roaming\npm\node_modules\aglio\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin
\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
> [email protected] install C:\Users\user1\AppData\Roaming\npm\node_modules\aglio\node_modules\protagonist
> node-gyp rebuild
C:\Users\user1\AppData\Roaming\npm\node_modules\aglio\node_modules\protagonist>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: spawn ENOENT
gyp ERR! stack at errnoException (child_process.js:1011:11)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:802:34)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\user1\AppData\Roaming\npm\node_modules\aglio\node_modules\protagonist
gyp ERR! node -v v0.10.35
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the protagonist package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls protagonist
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "aglio"
npm ERR! cwd C:\DevPrograms\aglio-master
npm ERR! node -v v0.10.35
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
Trying to turn this into a grunt plugin. However when I am trying to run the protagonist.parse
method I occasionally get a segmentation fault
78598 segmentation fault
This seems to be coming from snowcrash
Running:
node v0.12.2
grunt: v0.4.5
To reproduce:
npm install --save-dev grunt-protagonist
example.apib
# Group Users
## Users [/users]
### Create a new user [POST]
+ Attributes
+ email (string, required) - User's email address
+ username (string, required) - Username for user
+ password (string, required) - Password for user
+ Request (application/json)
+ Headers
Authorization: Bearer ACCESS_TOKEN
+ Body
{
"email": "[email protected]",
"username": "foobar",
"password": "2xPaisdn",
}
Gruntfile.js
'use strict'
module.exports = function (grunt) {
grunt.initConfig({
protagonist: {
src: 'example.apib'
}
});
grunt.loadNpmTasks('grunt-protagonist');
grunt.registerTask('default', ['protagonist']);
}
Run:
grunt
This should display an error. However it just passes the test and occasionally runs into errors when running the protagonist module
Sometimes you need to parse the data on the main loop instead of in the background. I propose that we add parseSync()
that does exactly that.
One use case is defining a mocha
test for each endpoint in the blueprint.
describe('API', function () {
var ast = protagonist.parseSync(...).ast
ast.....forEach(function (endpoint) {
it('handels ' + endpoint.method, function (done) {
...
})
})
})
Unable to install protagonist on 64bit openSuse linux install.
xxxx@linux:~> npm install protagonist npm http GET https://registry.npmjs.org/protagonist npm http 304 https://registry.npmjs.org/protagonist npm http GET https://registry.npmjs.org/protagonist/-/protagonist-0.10.0.tgz npm http 200 https://registry.npmjs.org/protagonist/-/protagonist-0.10.0.tgz > [email protected] install /home/xxxx/node_modules/protagonist > node-gyp rebuild gyp: /usr/share/node/common.gypi not found (cwd: /home/xxxx/node_modules/protagonist) while reading includes of binding.gyp while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/lib64/node_modules/npm/node_modules/node-gyp/lib/configure.js:417:16) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:784:12) gyp ERR! System Linux 3.11.10-7-desktop gyp ERR! command "node" "/usr/lib64/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/xxxx/node_modules/protagonist gyp ERR! node -v v0.10.5 gyp ERR! node-gyp -v v0.9.5 gyp ERR! not ok npm ERR! [email protected] install: `node-gyp rebuild` npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1 npm ERR! npm ERR! Failed at the [email protected] install script. npm ERR! This is most likely a problem with the protagonist package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get their info via: npm ERR! npm owner ls protagonist npm ERR! There is likely additional logging output above. npm ERR! System Linux 3.11.10-7-desktop npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "protagonist" npm ERR! cwd /home/xxxx npm ERR! node -v v0.10.5 npm ERR! npm -v 1.2.18 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/xxxx/npm-debug.log npm ERR! not ok code 0 xxxx@linux:~>
Hello,
I want to use your plugin and when I try to install it, some errors occurred:
In file included from ../src/annotation.cc:1:
../src/protagonist.h:13:36: error: expected class name
class Blueprint : public node::ObjectWrap {
^
../src/protagonist.h:28:48: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> New(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/njl/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/annotation.cc:1:
../src/protagonist.h:35:36: error: expected class name
class Sourcemap : public node::ObjectWrap {
^
../src/protagonist.h:50:48: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> New(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/njl/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/annotation.cc:1:
../src/protagonist.h:57:43: error: expected class name
class SourceAnnotation : public node::ObjectWrap {
^
../src/protagonist.h:69:48: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> New(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/njl/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/annotation.cc:1:
../src/protagonist.h:76:33: error: expected class name
class Result : public node::ObjectWrap {
^
../src/protagonist.h:92:48: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> New(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/njl/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/annotation.cc:1:
../src/protagonist.h:99:46: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
extern v8::Handle<v8::Value> Parse(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/njl/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
../src/annotation.cc:19:17: error: calling a protected constructor of class 'v8::HandleScope'
HandleScope scope;
^
/Users/njl/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: note: declared protected here
V8_INLINE HandleScope() {}
^
../src/annotation.cc:21:55: error: cannot initialize a parameter of type 'v8::Isolate *' with an lvalue of type 'v8::Handle<v8::Value> (const v8::internal::Arguments &)'
Local<FunctionTemplate> t = FunctionTemplate::New(New);
^~~
/Users/njl/.node-gyp/0.12.0/deps/v8/include/v8.h:3456:16: note: passing argument to parameter 'isolate' here
Isolate* isolate,
^
../src/annotation.cc:23:29: error: no member named 'NewSymbol' in 'v8::String'
t->SetClassName(String::NewSymbol("SourceAnnotation"));
~~~~~~~~^
../src/annotation.cc:25:41: error: 'New' is a private member of 'v8::PersistentBase<v8::Function>'
constructor = Persistent<Function>::New(t->GetFunction());
^
/Users/njl/.node-gyp/0.12.0/deps/v8/include/v8.h:572:23: note: declared private here
V8_INLINE static T* New(Isolate* isolate, T* that);
^
../src/annotation.cc:25:61: error: too few arguments to function call, expected 2, have 1
constructor = Persistent<Function>::New(t->GetFunction());
~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/njl/.node-gyp/0.12.0/deps/v8/include/v8.h:572:3: note: 'New' declared here
V8_INLINE static T* New(Isolate* isolate, T* that);
^
/Users/njl/.node-gyp/0.12.0/deps/v8/include/v8config.h:289:20: note: expanded from macro 'V8_INLINE'
# define V8_INLINE inline __attribute__((always_inline))
^
../src/annotation.cc:26:26: error: no member named 'NewSymbol' in 'v8::String'
exports->Set(String::NewSymbol("SourceAnnotation"), constructor);
~~~~~~~~^
../src/annotation.cc:29:43: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
Handle<Value> SourceAnnotation::New(const Arguments& args)
^~~~~~~~~
v8::internal::Arguments
/Users/njl/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
../src/annotation.cc:31:17: error: calling a protected constructor of class 'v8::HandleScope'
HandleScope scope;
^
/Users/njl/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: note: declared protected here
V8_INLINE HandleScope() {}
^
../src/annotation.cc:33:17: error: no member named 'Wrap' in 'protagonist::SourceAnnotation'
annotation->Wrap(args.This());
~~~~~~~~~~ ^
../src/annotation.cc:33:26: error: member access into incomplete type 'const v8::internal::Arguments'
annotation->Wrap(args.This());
^
/Users/njl/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: forward declaration of 'v8::internal::Arguments'
class Arguments;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/protagonist/src/annotation.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Darwin 14.1.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/njl/Programmation/InTech/WEGA-API/wega-doc/node_modules/aglio/node_modules/protagonist
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Darwin 14.1.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "--save" "aglio"
npm ERR! node v0.12.0
npm ERR! npm v2.7.0
npm ERR! code ELIFECYCLE
Can you help me on this issue?
Thanks.
Are there any plans to add support for parsing MSON format via Attributes?
It's been noted that previously in Drafter.js that MSON is parsed by the same Blueprint API files are not parsed the same way via Protagonist.
Are there any plans to introduce this functionality back into Protagonist?
I notice that Dredd also still uses Drafter.js: https://github.com/apiaryio/dredd/blob/master/src/dredd.coffee#L153
I am running on Linux Mint 14 with node 0.10.3 and NPM 1.2.17. NPM install is succeeding, including the gyp build. I have never cloned or built protagonist on this box except for with NPM. I was seeing this fault with a much larger input document, but I reduced the repro down to the case where "# Group" is parsed.
Repro:
1.Do a fresh npm install of Protagonist 0.8.0.
2. Run the following code in node: protagonist.parse('# Group Foo', function(err, parsed) {...}
3. Console displays Segmentation Fault
Here's the call stack:
PID 8873 received SIGSEGV for address: 0x0
/home/me/myproject/node_modules/segfault-handler/build/Release/segfault_handler.node(+0x100b)[0x7f6d57ba000b]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x7f6d5c4ebcb0]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash13MapSourceDataERKSsRKSt6vectorINS_15SourceDataRangeESaIS3_EE+0x270)[0x7f6d57de6cd0]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash22ParsePreformattedBlockINS_7PayloadEEESt4pairINS_6ResultEN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS6_SaIS6_EEEEERKNS_16BlueprintSectionERKSC_RNS_19BlueprintParserCoreERSsRS9_INS_15SourceDataRangeESaISM_EE+0x157)[0x7f6d57ddabd7]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash26ParseListPreformattedBlockINS_7PayloadEEESt4pairINS_6ResultEN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS6_SaIS6_EEEEERKNS_16BlueprintSectionERKSC_RNS_19BlueprintParserCoreERSsRS9_INS_15SourceDataRangeESaISM_EE+0xc6)[0x7f6d57ddb046]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash13SectionParserISsE23HandleAssetSectionBlockERKNS_16BlueprintSectionERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS7_SaIS7_EEEERNS_19BlueprintParserCoreERSs+0x5b)[0x7f6d57ddb3ab]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash13SectionParserISsE12ParseSectionERKNS_16BlueprintSectionERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS7_SaIS7_EEEERNS_19BlueprintParserCoreERSs+0x15e)[0x7f6d57ddb62e]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash11BlockParserISsNS_13SectionParserISsEEE5ParseERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS6_SaIS6_EEEESE_RKNS_16BlueprintSectionERNS_19BlueprintParserCoreERSs+0x125)[0x7f6d57ddb7f5]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash13SectionParserINS_7PayloadEE11HandleAssetERKNS_16BlueprintSectionERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS8_SaIS8_EEEERNS_19BlueprintParserCoreERS1_+0x5d)[0x7f6d57ddbabd]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash13SectionParserINS_7PayloadEE18HandlePayloadAssetERKNS_16BlueprintSectionERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS8_SaIS8_EEEERNS_19BlueprintParserCoreERS1_+0x13c)[0x7f6d57ddbdec]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash13SectionParserINS_7PayloadEE12ParseSectionERKNS_16BlueprintSectionERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS8_SaIS8_EEEERNS_19BlueprintParserCoreERS1_+0x1c1)[0x7f6d57dde601]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash11BlockParserINS_7PayloadENS_13SectionParserIS1_EEE5ParseERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS7_SaIS7_EEEESF_RKNS_16BlueprintSectionERNS_19BlueprintParserCoreERS1_+0x16b)[0x7f6d57dde8ab]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash13SectionParserINS_8ResourceEE11HandleModelERKNS_16BlueprintSectionERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS8_SaIS8_EEEERNS_19BlueprintParserCoreERS1_+0xb1)[0x7f6d57ddea81]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash13SectionParserINS_8ResourceEE12ParseSectionERKNS_16BlueprintSectionERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS8_SaIS8_EEEERNS_19BlueprintParserCoreERS1_+0x259)[0x7f6d57de3859]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash11BlockParserINS_8ResourceENS_13SectionParserIS1_EEE5ParseERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS7_SaIS7_EEEESF_RKNS_16BlueprintSectionERNS_19BlueprintParserCoreERS1_+0x10a)[0x7f6d57de3aca]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash13SectionParserINS_13ResourceGroupEE14HandleResourceERKNS_16BlueprintSectionERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS8_SaIS8_EEEERNS_19BlueprintParserCoreERS1_+0x149)[0x7f6d57de40e9]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash13SectionParserINS_13ResourceGroupEE12ParseSectionERKNS_16BlueprintSectionERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS8_SaIS8_EEEERNS_19BlueprintParserCoreERS1_+0x119)[0x7f6d57de43d9]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash11BlockParserINS_13ResourceGroupENS_13SectionParserIS1_EEE5ParseERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS7_SaIS7_EEEESF_RKNS_16BlueprintSectionERNS_19BlueprintParserCoreERS1_+0x141)[0x7f6d57de45d1]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash13SectionParserINS_9BlueprintEE19HandleResourceGroupERKNS_16BlueprintSectionERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS8_SaIS8_EEEERNS_19BlueprintParserCoreERS1_+0x115)[0x7f6d57de49d5]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash13SectionParserINS_9BlueprintEE12ParseSectionERKNS_16BlueprintSectionERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS8_SaIS8_EEEERNS_19BlueprintParserCoreERS1_+0x159)[0x7f6d57de4d89]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash11BlockParserINS_9BlueprintENS_13SectionParserIS1_EEE5ParseERKN9__gnu_cxx17__normal_iteratorIPKNS_13MarkdownBlockESt6vectorIS7_SaIS7_EEEESF_RKNS_16BlueprintSectionERNS_19BlueprintParserCoreERS1_+0x118)[0x7f6d57de4f28]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash15BlueprintParser5ParseERKSsRKSt6vectorINS_13MarkdownBlockESaIS4_EEjRNS_6ResultERNS_9BlueprintE+0xa9)[0x7f6d57de52b9]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash6Parser5parseERKSsjRNS_6ResultERNS_9BlueprintE+0x27e)[0x7f6d57dc14ce]
/home/me/myproject/node_modules/protagonist/build/Release/protagonist.node(_ZN9snowcrash5parseERKSsjRNS_6ResultERNS_9BlueprintE+0x1d)[0x7f6d57de636d]
node[0x6dbf3d]
node[0x6d1a0f]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x7f6d5c4e3e9a]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f6d5c2103fd]
I'm trying to install dredd via npm install -g dredd
. It's been working for months, but I tried updating versions of dredd, then rolled back to the same version and now this error is spitting out. Tried rebuilding without the cache and no joy there.
> [email protected] install /home/ubuntu/nvm/v0.10.33/lib/node_modules/dredd/node_modules/drafter/node_modules/protagonist
> node-gyp rebuild
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: connect ECONNREFUSED
gyp ERR! stack at errnoException (net.js:904:11)
gyp ERR! stack at Object.afterConnect [as oncomplete] (net.js:895:19)
gyp ERR! System Linux 3.14.28-031428-generic
gyp ERR! command "node" "/home/ubuntu/nvm/v0.10.33/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ubuntu/nvm/v0.10.33/lib/node_modules/dredd/node_modules/drafter/node_modules/protagonist
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm ERR! Linux 3.14.28-031428-generic
npm ERR! argv "node" "/home/ubuntu/nvm/v0.10.33/bin/npm" "install" "-g" "dredd"
npm ERR! node v0.10.33
npm ERR! npm v2.10.0
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the protagonist package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls protagonist
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/ubuntu/central-api/npm-debug.log
npm install -g dredd returned exit code 1
The contents of that log are here.
This is the output I get from the'npm install protagonist' install command, I've tried all sorts to resolve this with nothing working. I'm on OS X 10.9.3, Retina Macbook Pro.
npm -v = 1.4.6
which libtool = /usr/bin/libtool
Let me know if you need any other information.
> [email protected] install /Users/matthewlanham/node_modules/protagonist
> node-gyp rebuild
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/HTTP.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/MarkdownBlock.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/MarkdownParser.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/Parser.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/ParserCore.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/Serialize.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/SerializeJSON.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/SerializeYAML.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/UriParser.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/snowcrash.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/posix/RegexMatch.o
LIBTOOL-STATIC Release/snowcrash.a
libtool: unrecognized option `-static'
libtool: Try `libtool --help' for more information.
make: *** [Release/snowcrash.a] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Darwin 13.2.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/matthewlanham/node_modules/protagonist
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the protagonist package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls protagonist
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 13.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "protagonist"
npm ERR! cwd /Users/matthewlanham
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.6
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/matthewlanham/npm-debug.log
npm ERR! not ok code 0
I recently tried to update aglio and started getting some ugly error messages. As a result, I decided to configure my node installation on my Mac (using Brew) so that npm is installed independently (instead of installed via Brew) to see if this would change anything, but it didn't. This is my environment:
[mdacruzp@mdacruzp-mbp:~]$ node -v
v4.1.0
[mdacruzp@mdacruzp-mbp:~]$ npm -v
3.3.3
[mdacruzp@mdacruzp-mbp:~]$ node-gyp -v
v3.0.3
[mdacruzp@mdacruzp-mbp:~]$ uname -a
Darwin mdacruzp-mbp.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
[mdacruzp@mdacruzp-mbp:~]$ gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.0.0 (clang-700.0.72)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
This is what I'm getting while trying to install aglio (Node packages are installed on my home folder, so there is no need for sudo
):
[mdacruzp@mdacruzp-mbp:~]$ npm install -g aglio
/Users/mdacruzp/.node/bin/aglio -> /Users/mdacruzp/.node/lib/node_modules/aglio/bin/aglio.js
> [email protected] install /Users/mdacruzp/.node/lib/node_modules/aglio/node_modules/bufferutil
> node-gyp rebuild
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/bufferutil.node
> [email protected] install /Users/mdacruzp/.node/lib/node_modules/aglio/node_modules/fsevents
> node-gyp rebuild
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node
> [email protected] install /Users/mdacruzp/.node/lib/node_modules/aglio/node_modules/protagonist
> node-gyp rebuild
CXX(target) Release/obj.target/libmarkdownparser/drafter/ext/snowcrash/ext/markdown-parser/src/ByteBuffer.o
CXX(target) Release/obj.target/libmarkdownparser/drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.o
CXX(target) Release/obj.target/libmarkdownparser/drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownParser.o
LIBTOOL-STATIC Release/markdownparser.a
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/HTTP.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSON.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONOneOfParser.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONSourcemap.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONTypeSectionParser.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONValueMemberParser.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/Blueprint.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/BlueprintSourcemap.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/Section.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/Signature.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/snowcrash.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/UriTemplateParser.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/HeadersParser.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/posix/RegexMatch.o
LIBTOOL-STATIC Release/snowcrash.a
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/autolink.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/buffer.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/markdown.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/src_map.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/stack.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_href_e.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_html_e.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/html.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/html_smartypants.o
LIBTOOL-STATIC Release/sundown.a
CXX(target) Release/obj.target/libdrafter/drafter/src/drafter.o
CXX(target) Release/obj.target/libdrafter/drafter/src/cdrafter.o
CXX(target) Release/obj.target/libdrafter/drafter/src/Serialize.o
CXX(target) Release/obj.target/libdrafter/drafter/src/SerializeAST.o
CXX(target) Release/obj.target/libdrafter/drafter/src/SerializeSourcemap.o
CXX(target) Release/obj.target/libdrafter/drafter/src/SerializeResult.o
LIBTOOL-STATIC Release/drafter.a
CXX(target) Release/obj.target/libsos/drafter/ext/sos/src/sos.o
LIBTOOL-STATIC Release/sos.a
CXX(target) Release/obj.target/protagonist/src/annotation.o
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:6:
../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^
../node_modules/nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^
../node_modules/nan/nan.h:661:13: error: no member named 'smalloc' in namespace 'node'
, node::smalloc::FreeCallback callback
~~~~~~^
../node_modules/nan/nan.h:672:12: error: no matching function for call to 'New'
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^~~~~~~~~~~~~~~~~
/Users/mdacruzp/.node-gyp/4.1.0/include/node/node_buffer.h:31:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to 'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/Users/mdacruzp/.node-gyp/4.1.0/include/node/node_buffer.h:43:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/Users/mdacruzp/.node-gyp/4.1.0/include/node/node_buffer.h:28:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
^
/Users/mdacruzp/.node-gyp/4.1.0/include/node/node_buffer.h:36:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:6:
../node_modules/nan/nan.h:676:12: error: no viable conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>'
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/mdacruzp/.node-gyp/4.1.0/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to 'const v8::Local<v8::Object> &' for 1st argument
class Local {
^
/Users/mdacruzp/.node-gyp/4.1.0/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object> &&' for 1st argument
class Local {
^
/Users/mdacruzp/.node-gyp/4.1.0/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
V8_INLINE Local(Local<S> that)
^
/Users/mdacruzp/.node-gyp/4.1.0/include/node/v8.h:326:13: note: candidate template ignored: could not match 'S *' against 'v8::MaybeLocal<v8::Object>'
V8_INLINE Local(S* that)
^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:6:
../node_modules/nan/nan.h:683:26: error: no member named 'Use' in namespace 'node::Buffer'
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
~~~~~~~~~~~~~~^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:4:
In file included from /Users/mdacruzp/.node-gyp/4.1.0/include/node/node.h:42:
/Users/mdacruzp/.node-gyp/4.1.0/include/node/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/mdacruzp/.node-gyp/4.1.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:414:12: note: in instantiation of function template specialization 'v8::Local<v8::Primitive>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:4:
In file included from /Users/mdacruzp/.node-gyp/4.1.0/include/node/node.h:42:
/Users/mdacruzp/.node-gyp/4.1.0/include/node/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/mdacruzp/.node-gyp/4.1.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:424:12: note: in instantiation of function template specialization 'v8::Local<v8::Boolean>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:4:
In file included from /Users/mdacruzp/.node-gyp/4.1.0/include/node/node.h:42:
/Users/mdacruzp/.node-gyp/4.1.0/include/node/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/mdacruzp/.node-gyp/4.1.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1514:12: note: in instantiation of function template specialization 'v8::Local<v8::Function>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:4:
In file included from /Users/mdacruzp/.node-gyp/4.1.0/include/node/node.h:42:
/Users/mdacruzp/.node-gyp/4.1.0/include/node/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/mdacruzp/.node-gyp/4.1.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1632:12: note: in instantiation of function template specialization 'v8::Local<v8::Object>::Local<v8::Value>' requested here
return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
9 errors generated.
make: *** [Release/obj.target/protagonist/src/annotation.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/mdacruzp/.node/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "/usr/local/Cellar/node/4.1.0/bin/node" "/Users/mdacruzp/.node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/mdacruzp/.node/lib/node_modules/aglio/node_modules/protagonist
gyp ERR! node -v v4.1.0
gyp ERR! node-gyp -v v3.0.1
gyp ERR! not ok
/Users/mdacruzp/.node/lib
└── (empty)
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/Cellar/node/4.1.0/bin/node" "/Users/mdacruzp/.node/bin/npm" "install" "-g" "aglio"
npm ERR! node v4.1.0
npm ERR! npm v3.3.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the protagonist package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls protagonist
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /private/tmp/npm-debug.log
npm ERR! code 1
I've just looked at the gypi and gyp file and I can't find any cflags being set to -O2
. Looking at the final gyp file in build I don't see any cflags at all so the compiler default is used which in case of clang and gcc is -O0
. Have I missed something? If not wouldn't it be better to set release build to -O2
?
While 0.5.2 and 0.5.3 are ok, in 0.5.4 names in ast.resourceGroups are empty.
When attempting to build protagonist on Mac with node v0.12.0 and xcode 6.1.1 I get the following error:
> [email protected] install /Users/kg-bohrium/projects/ucp-main/node_modules/gulp-aglio/node_modules/aglio/node_modules/protagonist
> node-gyp rebuild
child_process: customFds option is deprecated, use stdio instead.
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/CBlueprint.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/CBlueprintSourcemap.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/CSourceAnnotation.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/HTTP.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/Section.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/Serialize.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/SerializeJSON.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/SerializeYAML.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/Signature.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/snowcrash.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/csnowcrash.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/UriTemplateParser.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/posix/RegexMatch.o
LIBTOOL-STATIC Release/snowcrash.a
CXX(target) Release/obj.target/libmarkdownparser/snowcrash/ext/markdown-parser/src/ByteBuffer.o
CXX(target) Release/obj.target/libmarkdownparser/snowcrash/ext/markdown-parser/src/MarkdownNode.o
CXX(target) Release/obj.target/libmarkdownparser/snowcrash/ext/markdown-parser/src/MarkdownParser.o
LIBTOOL-STATIC Release/markdownparser.a
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/src/autolink.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/src/buffer.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/src/markdown.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/src/src_map.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/src/stack.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_href_e.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_html_e.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/html/html.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/html/html_smartypants.o
LIBTOOL-STATIC Release/sundown.a
CXX(target) Release/obj.target/protagonist/src/annotation.o
In file included from ../src/annotation.cc:1:
../src/protagonist.h:13:36: error: expected class name
class Blueprint : public node::ObjectWrap {
^
../src/protagonist.h:28:48: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> New(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/kg-bohrium/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/annotation.cc:1:
../src/protagonist.h:35:36: error: expected class name
class Sourcemap : public node::ObjectWrap {
^
../src/protagonist.h:50:48: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> New(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/kg-bohrium/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/annotation.cc:1:
../src/protagonist.h:57:43: error: expected class name
class SourceAnnotation : public node::ObjectWrap {
Hello,
When I faced #5 I tried compiling protagonist with clang. Unfortunately the build failed:
[ignisf@starkiller protagonist]$ export CC=clang
[ignisf@starkiller protagonist]$ export CXX=clang++
[ignisf@starkiller protagonist]$ export PYTHON=python2
[ignisf@starkiller protagonist]$ node-gyp configure
--- omitted --
[ignisf@starkiller protagonist]$ node-gyp build
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/ignisf/Projects/protagonist/build'
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/HTTP.o
clang: error: unknown argument: '-fno-tree-vrp'
clang: error: unknown argument: '-fno-tree-sink'
snowcrash/libsnowcrash.target.mk:120: recipe for target 'Release/obj.target/libsnowcrash/snowcrash/src/HTTP.o' failed
make: *** [Release/obj.target/libsnowcrash/snowcrash/src/HTTP.o] Error 1
make: Leaving directory '/home/ignisf/Projects/protagonist/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/ignisf/.nvm/v0.10.24/lib/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Linux 3.12.8-1-ck
gyp ERR! command "node" "/home/ignisf/.nvm/v0.10.24/bin/node-gyp" "build"
gyp ERR! cwd /home/ignisf/Projects/protagonist
gyp ERR! node -v v0.10.24
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
Removing the -fno-tree-vrp
and -fno-tree-sink
arguments from build/protagonist.target.mk
and build/snowcrash/*.mk
seems to resolve the issue -- the build passes and the tests are successful. Unfortunately, I don't know how to make gyp add them only for GCC.
BTW, I'm using clang version 3.4 (tags/RELEASE_34/final)
.
npm install -g aglio
> utf-8-validate@1.2.1 install /usr/local/lib/node_modules/aglio/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/validation.node
> bufferutil@1.2.1 install /usr/local/lib/node_modules/aglio/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/bufferutil.node
> utf-8-validate@1.2.1 install /usr/local/lib/node_modules/aglio/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/validation.node
> bufferutil@1.2.1 install /usr/local/lib/node_modules/aglio/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/bufferutil.node
> protagonist@0.20.1 install /usr/local/lib/node_modules/aglio/node_modules/drafter/node_modules/protagonist
> node-gyp rebuild
CXX(target) Release/obj.target/libmarkdownparser/drafter/ext/snowcrash/ext/markdown-parser/src/ByteBuffer.o
CXX(target) Release/obj.target/libmarkdownparser/drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.o
CXX(target) Release/obj.target/libmarkdownparser/drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownParser.o
LIBTOOL-STATIC Release/markdownparser.a
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/HTTP.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSON.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONOneOfParser.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONSourcemap.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONTypeSectionParser.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONValueMemberParser.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/Blueprint.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/BlueprintSourcemap.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/Section.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/Signature.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/snowcrash.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/UriTemplateParser.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/HeadersParser.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/posix/RegexMatch.o
LIBTOOL-STATIC Release/snowcrash.a
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/autolink.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/buffer.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/markdown.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/src_map.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/stack.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_href_e.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_html_e.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/html.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/html_smartypants.o
LIBTOOL-STATIC Release/sundown.a
CXX(target) Release/obj.target/libdrafter/drafter/src/drafter.o
CXX(target) Release/obj.target/libdrafter/drafter/src/cdrafter.o
CXX(target) Release/obj.target/libdrafter/drafter/src/Serialize.o
CXX(target) Release/obj.target/libdrafter/drafter/src/SerializeAST.o
CXX(target) Release/obj.target/libdrafter/drafter/src/SerializeSourcemap.o
CXX(target) Release/obj.target/libdrafter/drafter/src/SerializeResult.o
LIBTOOL-STATIC Release/drafter.a
CXX(target) Release/obj.target/libsos/drafter/ext/sos/src/sos.o
LIBTOOL-STATIC Release/sos.a
CXX(target) Release/obj.target/protagonist/src/annotation.o
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:6:
../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^
../node_modules/nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^
../node_modules/nan/nan.h:661:13: error: no member named 'smalloc' in namespace 'node'
, node::smalloc::FreeCallback callback
~~~~~~^
../node_modules/nan/nan.h:672:12: error: no matching function for call to 'New'
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^~~~~~~~~~~~~~~~~
/Users/lessless/.node-gyp/4.1.0/include/node/node_buffer.h:31:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to 'enum encoding'
for 3rd argument
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/Users/lessless/.node-gyp/4.1.0/include/node/node_buffer.h:43:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/Users/lessless/.node-gyp/4.1.0/include/node/node_buffer.h:28:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
^
/Users/lessless/.node-gyp/4.1.0/include/node/node_buffer.h:36:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:6:
../node_modules/nan/nan.h:676:12: error: no viable conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>'
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/lessless/.node-gyp/4.1.0/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from
'v8::MaybeLocal<v8::Object>' to 'const v8::Local<v8::Object> &' for 1st argument
class Local {
^
/Users/lessless/.node-gyp/4.1.0/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from
'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object> &&' for 1st argument
class Local {
^
/Users/lessless/.node-gyp/4.1.0/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
V8_INLINE Local(Local<S> that)
^
/Users/lessless/.node-gyp/4.1.0/include/node/v8.h:326:13: note: candidate template ignored: could not match 'S *' against 'v8::MaybeLocal<v8::Object>'
V8_INLINE Local(S* that)
^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:6:
../node_modules/nan/nan.h:683:26: error: no member named 'Use' in namespace 'node::Buffer'
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
~~~~~~~~~~~~~~^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:4:
In file included from /Users/lessless/.node-gyp/4.1.0/include/node/node.h:42:
/Users/lessless/.node-gyp/4.1.0/include/node/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/lessless/.node-gyp/4.1.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:414:12: note: in instantiation of function template specialization 'v8::Local<v8::Primitive>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:4:
In file included from /Users/lessless/.node-gyp/4.1.0/include/node/node.h:42:
/Users/lessless/.node-gyp/4.1.0/include/node/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/lessless/.node-gyp/4.1.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:424:12: note: in instantiation of function template specialization 'v8::Local<v8::Boolean>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:4:
In file included from /Users/lessless/.node-gyp/4.1.0/include/node/node.h:42:
/Users/lessless/.node-gyp/4.1.0/include/node/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/lessless/.node-gyp/4.1.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1514:12: note: in instantiation of function template specialization 'v8::Local<v8::Function>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:4:
In file included from /Users/lessless/.node-gyp/4.1.0/include/node/node.h:42:
/Users/lessless/.node-gyp/4.1.0/include/node/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/lessless/.node-gyp/4.1.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1632:12: note: in instantiation of function template specialization 'v8::Local<v8::Object>::Local<v8::Value>' requested here
return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
9 errors generated.
make: *** [Release/obj.target/protagonist/src/annotation.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "/usr/local/Cellar/node/4.1.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/aglio/node_modules/drafter/node_modules/protagonist
gyp ERR! node -v v4.1.0
gyp ERR! node-gyp -v v3.0.1
gyp ERR! not ok
> fsevents@1.0.0 install /usr/local/lib/node_modules/aglio/node_modules/chokidar/node_modules/fsevents
> node-pre-gyp install --fallback-to-build
[fsevents] Success: "/usr/local/lib/node_modules/aglio/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v46-darwin-x64/fse.node" is installed via remote
> aglio-theme-olio@1.2.1 postinstall /usr/local/lib/node_modules/aglio/node_modules/aglio-theme-olio
> node scripts/setup-cache.js
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/Cellar/node/4.1.0/bin/node" "/usr/local/bin/npm" "install" "-g" "aglio"
npm ERR! node v4.1.0
npm ERR! npm v2.14.4
npm ERR! code ELIFECYCLE
npm ERR! protagonist@0.20.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the protagonist@0.20.1 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the protagonist package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls protagonist
npm ERR! There is likely additional logging output above.
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/Cellar/node/4.1.0/bin/node" "/usr/local/bin/npm" "install" "-g" "aglio"
npm ERR! node v4.1.0
npm ERR! npm v2.14.4
npm ERR! path npm-debug.log.60f53ae977fef81f2488f3566b444e59
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open 'npm-debug.log.60f53ae977fef81f2488f3566b444e59'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
vagrant@forager-dev:/bright/forager/public$ uname -a
Linux forager-dev 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux
vagrant@forager-dev:/bright/forager/public$ npm install protagonist
npm http GET https://registry.npmjs.org/protagonist
npm http 200 https://registry.npmjs.org/protagonist
npm http GET https://registry.npmjs.org/protagonist/-/protagonist-0.12.0.tgz
npm http 200 https://registry.npmjs.org/protagonist/-/protagonist-0.12.0.tgz
> [email protected] install /bright/forager/public/node_modules/protagonist
> node-gyp rebuild
make: Entering directory `/bright/forager/public/node_modules/protagonist/build'
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/HTTP.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/MarkdownBlock.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/MarkdownParser.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/Parser.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/ParserCore.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/Serialize.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/SerializeJSON.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/SerializeYAML.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/UriTemplateParser.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/snowcrash.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/csnowcrash.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/CBlueprint.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/CSourceAnnotation.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/posix/RegexMatch.o
AR(target) Release/obj.target/snowcrash/snowcrash.a
COPY Release/snowcrash.a
CC(target) Release/obj.target/sundown/snowcrash/sundown/src/autolink.o
CC(target) Release/obj.target/sundown/snowcrash/sundown/src/buffer.o
CC(target) Release/obj.target/sundown/snowcrash/sundown/html/houdini_href_e.o
CC(target) Release/obj.target/sundown/snowcrash/sundown/html/houdini_html_e.o
CC(target) Release/obj.target/sundown/snowcrash/sundown/html/html.o
CC(target) Release/obj.target/sundown/snowcrash/sundown/html/html_smartypants.o
CC(target) Release/obj.target/sundown/snowcrash/sundown/src/markdown.o
CC(target) Release/obj.target/sundown/snowcrash/sundown/src/stack.o
CC(target) Release/obj.target/sundown/snowcrash/sundown/src/src_map.o
AR(target) Release/obj.target/snowcrash/sundown.a
COPY Release/sundown.a
CXX(target) Release/obj.target/protagonist/src/annotation.o
In file included from ../src/annotation.cc:1:0:
../src/protagonist.h:12:47: error: expected class-name before ‘{’ token
../src/protagonist.h:27:48: error: ‘Arguments’ in namespace ‘v8’ does not name a type
../src/protagonist.h:27:63: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/protagonist.h:34:54: error: expected class-name before ‘{’ token
../src/protagonist.h:46:48: error: ‘Arguments’ in namespace ‘v8’ does not name a type
../src/protagonist.h:46:63: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/protagonist.h:53:44: error: expected class-name before ‘{’ token
../src/protagonist.h:67:48: error: ‘Arguments’ in namespace ‘v8’ does not name a type
../src/protagonist.h:67:63: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/protagonist.h:74:46: error: ‘Arguments’ in namespace ‘v8’ does not name a type
../src/protagonist.h:74:61: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
In file included from /home/vagrant/.node-gyp/0.11.13/src/node.h:61:0,
from ../src/protagonist.h:1,
from ../src/annotation.cc:1:
/home/vagrant/.node-gyp/0.11.13/deps/v8/include/v8.h: In static member function ‘static void protagonist::SourceAnnotation::Init(v8::Handle<v8::Object>)’:
/home/vagrant/.node-gyp/0.11.13/deps/v8/include/v8.h:845:13: error: ‘v8::HandleScope::HandleScope()’ is protected
../src/annotation.cc:19:17: error: within this context
../src/annotation.cc:21:58: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
../src/annotation.cc:21:58: note: candidate is:
In file included from /home/vagrant/.node-gyp/0.11.13/src/node.h:61:0,
from ../src/protagonist.h:1,
from ../src/annotation.cc:1:
/home/vagrant/.node-gyp/0.11.13/deps/v8/include/v8.h:3519:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
/home/vagrant/.node-gyp/0.11.13/deps/v8/include/v8.h:3519:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’
../src/annotation.cc:23:21: error: ‘NewSymbol’ is not a member of ‘v8::String’
../src/annotation.cc:25:61: error: no matching function for call to ‘v8::Persistent<v8::Function>::New(v8::Local<v8::Function>)’
../src/annotation.cc:25:61: note: candidate is:
In file included from /home/vagrant/.node-gyp/0.11.13/src/node.h:61:0,
from ../src/protagonist.h:1,
from ../src/annotation.cc:1:
/home/vagrant/.node-gyp/0.11.13/deps/v8/include/v8.h:5757:4: note: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::Function]
/home/vagrant/.node-gyp/0.11.13/deps/v8/include/v8.h:5757:4: note: candidate expects 2 arguments, 1 provided
../src/annotation.cc:26:18: error: ‘NewSymbol’ is not a member of ‘v8::String’
../src/annotation.cc: At global scope:
../src/annotation.cc:29:43: error: ‘Arguments’ does not name a type
../src/annotation.cc:29:54: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
In file included from /home/vagrant/.node-gyp/0.11.13/src/node.h:61:0,
from ../src/protagonist.h:1,
from ../src/annotation.cc:1:
/home/vagrant/.node-gyp/0.11.13/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> protagonist::SourceAnnotation::New(const int&)’:
/home/vagrant/.node-gyp/0.11.13/deps/v8/include/v8.h:845:13: error: ‘v8::HandleScope::HandleScope()’ is protected
../src/annotation.cc:31:17: error: within this context
../src/annotation.cc:33:17: error: ‘class protagonist::SourceAnnotation’ has no member named ‘Wrap’
../src/annotation.cc:33:27: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
../src/annotation.cc:34:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
../src/annotation.cc:34:29: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
In file included from /home/vagrant/.node-gyp/0.11.13/src/node.h:61:0,
from ../src/protagonist.h:1,
from ../src/annotation.cc:1:
/home/vagrant/.node-gyp/0.11.13/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> protagonist::SourceAnnotation::NewInstance()’:
/home/vagrant/.node-gyp/0.11.13/deps/v8/include/v8.h:845:13: error: ‘v8::HandleScope::HandleScope()’ is protected
../src/annotation.cc:39:17: error: within this context
../src/annotation.cc:40:41: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Function>’
../src/annotation.cc:41:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
../src/annotation.cc: In function ‘v8::Local<v8::Object> WrapSourceCharactersRange(const snowcrash::SourceCharactersRange&)’:
../src/annotation.cc:46:45: error: no matching function for call to ‘v8::Object::New()’
../src/annotation.cc:46:45: note: candidate is:
In file included from /home/vagrant/.node-gyp/0.11.13/src/node.h:61:0,
from ../src/protagonist.h:1,
from ../src/annotation.cc:1:
/home/vagrant/.node-gyp/0.11.13/deps/v8/include/v8.h:2457:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
/home/vagrant/.node-gyp/0.11.13/deps/v8/include/v8.h:2457:24: note: candidate expects 1 argument, 0 provided
../src/annotation.cc:48:22: error: ‘NewSymbol’ is not a member of ‘v8::String’
../src/annotation.cc:48:76: error: no matching function for call to ‘v8::Number::New(const size_t&)’
../src/annotation.cc:48:76: note: candidate is:
In file included from /home/vagrant/.node-gyp/0.11.13/src/node.h:61:0,
from ../src/protagonist.h:1,
from ../src/annotation.cc:1:
/home/vagrant/.node-gyp/0.11.13/deps/v8/include/v8.h:2061:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
/home/vagrant/.node-gyp/0.11.13/deps/v8/include/v8.h:2061:24: note: candidate expects 2 arguments, 1 provided
../src/annotation.cc:49:22: error: ‘NewSymbol’ is not a member of ‘v8::String’
../src/annotation.cc:49:75: error: no matching function for call to ‘v8::Number::New(const size_t&)’
../src/annotation.cc:49:75: note: candidate is:
In file included from /home/vagrant/.node-gyp/0.11.13/src/node.h:61:0,
from ../src/protagonist.h:1,
from ../src/annotation.cc:1:
/home/vagrant/.node-gyp/0.11.13/deps/v8/include/v8.h:2061:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
/home/vagrant/.node-gyp/0.11.13/deps/v8/include/v8.h:2061:24: note: candidate expects 2 arguments, 1 provided
../src/annotation.cc: In static member function ‘static v8::Local<v8::Object> protagonist::SourceAnnotation::WrapSourceAnnotation(const snowcrash::SourceAnnotation&)’:
../src/annotation.cc:55:47: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Function>’
../src/annotation.cc:57:25: error: ‘NewSymbol’ is not a member of ‘v8::String’
../src/annotation.cc:57:79: error: no matching function for call to ‘v8::Number::New(const int&)’
../src/annotation.cc:57:79: note: candidate is:
In file included from /home/vagrant/.node-gyp/0.11.13/src/node.h:61:0,
from ../src/protagonist.h:1,
from ../src/annotation.cc:1:
/home/vagrant/.node-gyp/0.11.13/deps/v8/include/v8.h:2061:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
/home/vagrant/.node-gyp/0.11.13/deps/v8/include/v8.h:2061:24: note: candidate expects 2 arguments, 1 provided
../src/annotation.cc:58:25: error: ‘NewSymbol’ is not a member of ‘v8::String’
../src/annotation.cc:58:55: error: ‘New’ is not a member of ‘v8::String’
../src/annotation.cc:60:67: error: invalid conversion from ‘std::vector<snowcrash::SourceCharactersRange>::size_type {aka long unsigned int}’ to ‘v8::Isolate*’ [-fpermissive]
In file included from /home/vagrant/.node-gyp/0.11.13/src/node.h:61:0,
from ../src/protagonist.h:1,
from ../src/annotation.cc:1:
/home/vagrant/.node-gyp/0.11.13/deps/v8/include/v8.h:2486:23: error: initializing argument 1 of ‘static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)’ [-fpermissive]
../src/annotation.cc:69:25: error: ‘NewSymbol’ is not a member of ‘v8::String’
../src/annotation.cc: In static member function ‘static v8::Handle<v8::Value> protagonist::SourceAnnotation::NewInstance()’:
../src/annotation.cc:42:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/annotation.cc: In static member function ‘static v8::Handle<v8::Value> protagonist::SourceAnnotation::New(const int&)’:
../src/annotation.cc:35:1: warning: control reaches end of non-void function [-Wreturn-type]
make: *** [Release/obj.target/protagonist/src/annotation.o] Error 1
make: Leaving directory `/bright/forager/public/node_modules/protagonist/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/vagrant/.nvm/v0.11.13/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1046:12)
gyp ERR! System Linux 3.2.0-4-amd64
gyp ERR! command "node" "/home/vagrant/.nvm/v0.11.13/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /bright/forager/public/node_modules/protagonist
gyp ERR! node -v v0.11.13
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the protagonist package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls protagonist
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.2.0-4-amd64
npm ERR! command "/home/vagrant/.nvm/v0.11.13/bin/node" "/home/vagrant/.nvm/v0.11.13/bin/npm" "install" "protagonist"
npm ERR! cwd /bright/forager/public
npm ERR! node -v v0.11.13
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /bright/forager/public/npm-debug.log
npm ERR! not ok code 0
I'm seeing build failures on CI hosts using the recently released iojs 3.0.0:
https://travis-ci.org/danielgtaylor/aglio/jobs/75231420
The issue seems to be related to nan. This other project is moving to nan 2.x to fix a similar issue:
I have a project using Aglio that I cannot npm install
with my current setup due to protagonist failing.
$ npm install
...
> [email protected] install /home/luke/Development/paz/paz-orchestrator/node_modules/aglio/node_modules/protagonist
> node-gyp rebuild
child_process: customFds option is deprecated, use stdio instead.
make: Entering directory '/home/luke/Development/paz/paz-orchestrator/node_modules/aglio/node_modules/protagonist/build'
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/CBlueprint.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/CBlueprintSourcemap.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/CSourceAnnotation.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/HTTP.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/Section.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/Serialize.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/SerializeJSON.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/SerializeYAML.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/Signature.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/snowcrash.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/csnowcrash.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/UriTemplateParser.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/posix/RegexMatch.o
AR(target) Release/obj.target/snowcrash/snowcrash.a
COPY Release/snowcrash.a
CXX(target) Release/obj.target/libmarkdownparser/snowcrash/ext/markdown-parser/src/ByteBuffer.o
CXX(target) Release/obj.target/libmarkdownparser/snowcrash/ext/markdown-parser/src/MarkdownNode.o
CXX(target) Release/obj.target/libmarkdownparser/snowcrash/ext/markdown-parser/src/MarkdownParser.o
AR(target) Release/obj.target/snowcrash/markdownparser.a
COPY Release/markdownparser.a
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/src/autolink.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/src/buffer.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/src/markdown.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/src/src_map.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/src/stack.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_href_e.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_html_e.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/html/html.o
CC(target) Release/obj.target/libsundown/snowcrash/ext/markdown-parser/ext/sundown/html/html_smartypants.o
AR(target) Release/obj.target/snowcrash/sundown.a
COPY Release/sundown.a
CXX(target) Release/obj.target/protagonist/src/annotation.o
In file included from ../src/annotation.cc:1:0:
../src/protagonist.h:13:47: error: expected class-name before ‘{’ token
class Blueprint : public node::ObjectWrap {
^
../src/protagonist.h:28:52: error: ‘Arguments’ in namespace ‘v8’ does not name a type
static v8::Handle<v8::Value> New(const v8::Arguments& args);
^
../src/protagonist.h:35:47: error: expected class-name before ‘{’ token
class Sourcemap : public node::ObjectWrap {
^
../src/protagonist.h:50:52: error: ‘Arguments’ in namespace ‘v8’ does not name a type
static v8::Handle<v8::Value> New(const v8::Arguments& args);
^
../src/protagonist.h:57:54: error: expected class-name before ‘{’ token
class SourceAnnotation : public node::ObjectWrap {
^
../src/protagonist.h:69:52: error: ‘Arguments’ in namespace ‘v8’ does not name a type
static v8::Handle<v8::Value> New(const v8::Arguments& args);
^
../src/protagonist.h:76:44: error: expected class-name before ‘{’ token
class Result : public node::ObjectWrap {
^
../src/protagonist.h:92:52: error: ‘Arguments’ in namespace ‘v8’ does not name a type
static v8::Handle<v8::Value> New(const v8::Arguments& args);
^
../src/protagonist.h:99:50: error: ‘Arguments’ in namespace ‘v8’ does not name a type
extern v8::Handle<v8::Value> Parse(const v8::Arguments& args);
^
In file included from /home/luke/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/protagonist.h:1,
from ../src/annotation.cc:1:
/home/luke/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static void protagonist::SourceAnnotation::Init(v8::Handle<v8::Object>)’:
/home/luke/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/annotation.cc:19:17: error: within this context
HandleScope scope;
^
../src/annotation.cc:21:58: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
Local<FunctionTemplate> t = FunctionTemplate::New(New);
^
../src/annotation.cc:21:58: note: candidate is:
In file included from /home/luke/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/protagonist.h:1,
from ../src/annotation.cc:1:
/home/luke/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/home/luke/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’
../src/annotation.cc:23:21: error: ‘NewSymbol’ is not a member of ‘v8::String’
t->SetClassName(String::NewSymbol("SourceAnnotation"));
^
../src/annotation.cc:25:61: error: no matching function for call to ‘v8::Persistent<v8::Function>::New(v8::Local<v8::Function>)’
constructor = Persistent<Function>::New(t->GetFunction());
^
../src/annotation.cc:25:61: note: candidate is:
In file included from /home/luke/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/protagonist.h:1,
from ../src/annotation.cc:1:
/home/luke/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::Function]
T* PersistentBase<T>::New(Isolate* isolate, T* that) {
^
/home/luke/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: candidate expects 2 arguments, 1 provided
../src/annotation.cc:26:18: error: ‘NewSymbol’ is not a member of ‘v8::String’
exports->Set(String::NewSymbol("SourceAnnotation"), constructor);
^
../src/annotation.cc: At global scope:
../src/annotation.cc:29:43: error: ‘Arguments’ does not name a type
Handle<Value> SourceAnnotation::New(const Arguments& args)
^
In file included from /home/luke/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/protagonist.h:1,
from ../src/annotation.cc:1:
/home/luke/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> protagonist::SourceAnnotation::New(const int&)’:
/home/luke/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/annotation.cc:31:17: error: within this context
HandleScope scope;
^
../src/annotation.cc:33:17: error: ‘class protagonist::SourceAnnotation’ has no member named ‘Wrap’
annotation->Wrap(args.This());
^
../src/annotation.cc:33:27: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
annotation->Wrap(args.This());
^
../src/annotation.cc:34:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(args.This());
^
../src/annotation.cc:34:29: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
return scope.Close(args.This());
^
In file included from /home/luke/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/protagonist.h:1,
from ../src/annotation.cc:1:
/home/luke/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> protagonist::SourceAnnotation::NewInstance()’:
/home/luke/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/annotation.cc:39:17: error: within this context
HandleScope scope;
^
../src/annotation.cc:40:41: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Function>’
Local<Object> instance = constructor->NewInstance();
^
../src/annotation.cc:41:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(instance);
^
../src/annotation.cc: In function ‘v8::Local<v8::Object> WrapSourceCharactersRange(const CharactersRange&)’:
../src/annotation.cc:46:45: error: no matching function for call to ‘v8::Object::New()’
Local<Object> rangeObject = Object::New();
^
../src/annotation.cc:46:45: note: candidate is:
In file included from /home/luke/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/protagonist.h:1,
from ../src/annotation.cc:1:
/home/luke/.node-gyp/0.12.0/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
static Local<Object> New(Isolate* isolate);
^
/home/luke/.node-gyp/0.12.0/deps/v8/include/v8.h:2388:24: note: candidate expects 1 argument, 0 provided
../src/annotation.cc:48:22: error: ‘NewSymbol’ is not a member of ‘v8::String’
rangeObject->Set(String::NewSymbol("index"), Number::New(range.location));
^
../src/annotation.cc:48:76: error: no matching function for call to ‘v8::Number::New(const size_t&)’
rangeObject->Set(String::NewSymbol("index"), Number::New(range.location));
^
../src/annotation.cc:48:76: note: candidate is:
In file included from /home/luke/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/protagonist.h:1,
from ../src/annotation.cc:1:
/home/luke/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
static Local<Number> New(Isolate* isolate, double value);
^
/home/luke/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: candidate expects 2 arguments, 1 provided
../src/annotation.cc:49:22: error: ‘NewSymbol’ is not a member of ‘v8::String’
rangeObject->Set(String::NewSymbol("length"), Number::New(range.length));
^
../src/annotation.cc:49:75: error: no matching function for call to ‘v8::Number::New(const size_t&)’
rangeObject->Set(String::NewSymbol("length"), Number::New(range.length));
^
../src/annotation.cc:49:75: note: candidate is:
In file included from /home/luke/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/protagonist.h:1,
from ../src/annotation.cc:1:
/home/luke/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
static Local<Number> New(Isolate* isolate, double value);
^
/home/luke/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: candidate expects 2 arguments, 1 provided
../src/annotation.cc: In static member function ‘static v8::Local<v8::Object> protagonist::SourceAnnotation::WrapSourceAnnotation(const snowcrash::SourceAnnotation&)’:
../src/annotation.cc:55:47: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Function>’
Local<Object> annotationWrap = constructor->NewInstance();
^
../src/annotation.cc:57:25: error: ‘NewSymbol’ is not a member of ‘v8::String’
annotationWrap->Set(String::NewSymbol("code"), Number::New(annotation.code));
^
../src/annotation.cc:57:79: error: no matching function for call to ‘v8::Number::New(const int&)’
annotationWrap->Set(String::NewSymbol("code"), Number::New(annotation.code));
^
../src/annotation.cc:57:79: note: candidate is:
In file included from /home/luke/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/protagonist.h:1,
from ../src/annotation.cc:1:
/home/luke/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
static Local<Number> New(Isolate* isolate, double value);
^
/home/luke/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: candidate expects 2 arguments, 1 provided
../src/annotation.cc:58:25: error: ‘NewSymbol’ is not a member of ‘v8::String’
annotationWrap->Set(String::NewSymbol("message"), String::New(annotation.message.c_str()));
^
../src/annotation.cc:58:55: error: ‘New’ is not a member of ‘v8::String’
annotationWrap->Set(String::NewSymbol("message"), String::New(annotation.message.c_str()));
^
../src/annotation.cc:60:66: error: invalid conversion from ‘std::vector<mdp::Range, std::allocator<mdp::Range> >::size_type {aka long unsigned int}’ to ‘v8::Isolate*’ [-fpermissive]
Local<Object> location = Array::New(annotation.location.size());
^
In file included from /home/luke/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/protagonist.h:1,
from ../src/annotation.cc:1:
/home/luke/.node-gyp/0.12.0/deps/v8/include/v8.h:2417:23: note: initializing argument 1 of ‘static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)’
static Local<Array> New(Isolate* isolate, int length = 0);
^
../src/annotation.cc:69:25: error: ‘NewSymbol’ is not a member of ‘v8::String’
annotationWrap->Set(String::NewSymbol("location"), location);
^
../src/annotation.cc: In static member function ‘static v8::Handle<v8::Value> protagonist::SourceAnnotation::New(const int&)’:
../src/annotation.cc:35:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/annotation.cc: In static member function ‘static v8::Handle<v8::Value> protagonist::SourceAnnotation::NewInstance()’:
../src/annotation.cc:42:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
protagonist.target.mk:123: recipe for target 'Release/obj.target/protagonist/src/annotation.o' failed
make: *** [Release/obj.target/protagonist/src/annotation.o] Error 1
make: Leaving directory '/home/luke/Development/paz/paz-orchestrator/node_modules/aglio/node_modules/protagonist/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Linux 3.18.6-1-ARCH
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/luke/Development/paz/paz-orchestrator/node_modules/aglio/node_modules/protagonist
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Linux 3.18.6-1-ARCH
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the protagonist package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls protagonist
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/luke/Development/paz/paz-orchestrator/npm-debug.log
As the output shows, I'm using Node.js 0.12.0 and npm 2.5.1. gcc version is 4.9.2.
If I downgrade to Node.js 0.10.36 it works fine.
Extended from discussions here, drafter has the ability to output line/col numbers instead of char index/length. Could we please add support for this in the protagonist bindings? Thank you
Running into a malloc error when run from grunt. Doesn't happen all the time, however it doesn't parse the api file at all
eddiemoore/grunt-protagonist#1
malloc: *** error for object 0x10140a3b0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
Running:
node v0.12.2
grunt: v0.4.5
To reproduce:
npm install --save-dev grunt-protagonist
example.apib
# Group Users
## Users [/users]
### Create a new user [POST]
+ Attributes
+ email (string, required) - User's email address
+ username (string, required) - Username for user
+ password (string, required) - Password for user
+ Request (application/json)
+ Headers
Authorization: Bearer ACCESS_TOKEN
+ Body
{
"email": "[email protected]",
"username": "foobar",
"password": "2xPaisdn",
}
Gruntfile.js
'use strict'
module.exports = function (grunt) {
grunt.initConfig({
protagonist: {
src: 'example.apib'
}
});
grunt.loadNpmTasks('grunt-protagonist');
grunt.registerTask('default', ['protagonist']);
}
Run:
grunt
This should display an error. However it just passes the test and occasionally runs into errors when running the protagonist module
May be related to the other install issue in #18 but my error message includes error messages not in the other issue and maybe provide more hints to solve.
$ npm install protagonist
> [email protected] install C:\Users\cwelchmi\node_modules\protagonist
> node-gyp rebuild
C:\Users\cwelchmi\node_modules\protagonist>node "c:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Users\cwelchmi\node_modules\protagonist\build\snowcrash\libmarkdownparser.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
C:\Users\cwelchmi\node_modules\protagonist\build\snowcrash\libsnowcrash.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
C:\Users\cwelchmi\node_modules\protagonist\build\snowcrash\libsundown.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (c:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "c:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\cwelchmi\node_modules\protagonist
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the protagonist package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls protagonist
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "c:\\Program Files (x86)\\nodejs\\node.exe" "c:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "protagonist"
npm ERR! cwd C:\Users\cwelchmi
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
Currently Protagonist (dredd) takes around a minute to install on CI services such as Travis CI and Circle CI which add considerable overhead to testing times where the tests take a few seconds to run.
Installing dredd increases the CI time by over a minute, which in my particular case (Polls API) causes a 23 times slowdown for the CI builds where my tests run in under 3 seconds. Dredd takes over a minute to install due to Protagonist compiling Drafter and Snowcrash.
I'm sure we can improve this situation and I have a few potential solutions. Perhaps this isn't actionable in protagonist itself so this issue is mostly for discussion to find an outcome.
/cc @netmilk
Hi.
We are using protagonist 0.19.3 on NodeJS 0.10.2 on Windows 32bit machine. Every now and then we get a file that refuses to parse properly, but the same file parses correctly on the parser hosted on apiblueprint.org. For example the following:
http://docs.wink.apiary.io/
http://docs.ulozenkav3.apiary.io/
Could it be a configuration issue on our server? Can you tell what version is being used in https://api.apiblueprint.org/parser
Thanks.
Hi, I tried to npm install protagonist, but failed, I tried to build from source but still failed with same errors:
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
libmarkdownparser.vcxproj -> c:\apps\projects\protagonist\build\Release\libmarkdownparser.lib
libsnowcrash.vcxproj -> c:\apps\projects\protagonist\build\Release\libsnowcrash.lib
libsundown.vcxproj -> c:\apps\projects\protagonist\build\Release\libsundown.lib
annotation.cc
blueprint.cc
sourcemap.cc
parse.cc
protagonist.cc
result.cc
c:\apps\projects\protagonist\src\protagonist.h(13): error C2039: 'ObjectWrap' : is not a member of 'node' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(13): error C2504: 'ObjectWrap' : base class undefined [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(28): error C2039: 'Arguments' : is not a member of 'v8' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(28): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(28): error C2143: syntax error : missing ',' before '&' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(35): error C2039: 'ObjectWrap' : is not a member of 'node' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(35): error C2504: 'ObjectWrap' : base class undefined [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(50): error C2039: 'Arguments' : is not a member of 'v8' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(50): error C2143: syntax error : missing ',' before '&' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(57): error C2039: 'ObjectWrap' : is not a member of 'node' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(57): error C2504: 'ObjectWrap' : base class undefined [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(69): error C2039: 'Arguments' : is not a member of 'v8' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(69): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(69): error C2143: syntax error : missing ',' before '&' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(76): error C2039: 'ObjectWrap' : is not a member of 'node' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(76): error C2504: 'ObjectWrap' : base class undefined [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(92): error C2039: 'Arguments' : is not a member of 'v8' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(92): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(92): error C2143: syntax error : missing ',' before '&' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(99): error C2039: 'Arguments' : is not a member of 'v8' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(99): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(99): error C2143: syntax error : missing ',' before '&' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(13): error C2039: 'ObjectWrap' : is not a member of 'node' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(13): error C2504: 'ObjectWrap' : base class undefined [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(28): error C2039: 'Arguments' : is not a member of 'v8' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(28): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(28): error C2143: syntax error : missing ',' before '&' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
..\src\sourcemap.cc(19): error C2248: 'v8::HandleScope::HandleScope' : cannot access protected member declared in class 'v8::HandleScope' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\Users\kl68884.node-gyp\0.12.0\deps\v8\include\v8.h(816) : see declaration of 'v8::HandleScope::HandleScope'
c:\Users\kl68884.node-gyp\0.12.0\deps\v8\include\v8.h(800) : see declaration of 'v8::HandleScope'
c:\apps\projects\protagonist\src\protagonist.h(35): error C2039: 'ObjectWrap' : is not a member of 'node' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
..\src\sourcemap.cc(21): error C2664: 'v8::FunctionTemplate::New' : cannot convert parameter 1 from 'v8::Handle (__cdecl *)(const int)' to 'v8::Isolate *' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
with
[
T=v8::Value
]
There is no context in which this conversion is possible
c:\apps\projects\protagonist\src\protagonist.h(35): error C2504: 'ObjectWrap' : base class undefined [c:\apps\projects\protagonist\build\protagonist.vcxproj]
..\src\sourcemap.cc(23): error C2039: 'NewSymbol' : is not a member of 'v8::String' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\Users\kl68884.node-gyp\0.12.0\deps\v8\include\v8.h(1599) : see declaration of 'v8::String'
..\src\sourcemap.cc(23): error C3861: 'NewSymbol': identifier not found [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(50): error C2039: 'Arguments' : is not a member of 'v8' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [c:\apps\projects\protagonist\build\protagonist.vcxproj]
..\src\sourcemap.cc(25): error C2660: 'v8::PersistentBase::New' : function does not take 1 arguments [c:\apps\projects\protagonist\build\protagonist.vcxproj]
with
[
T=v8::Function
]
c:\apps\projects\protagonist\src\protagonist.h(50): error C2143: syntax error : missing ',' before '&' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
..\src\sourcemap.cc(26): error C2039: 'NewSymbol' : is not a member of 'v8::String' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\Users\kl68884.node-gyp\0.12.0\deps\v8\include\v8.h(1599) : see declaration of 'v8::String'
c:\apps\projects\protagonist\src\protagonist.h(57): error C2039: 'ObjectWrap' : is not a member of 'node' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
..\src\sourcemap.cc(26): error C3861: 'NewSymbol': identifier not found [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(57): error C2504: 'ObjectWrap' : base class undefined [c:\apps\projects\protagonist\build\protagonist.vcxproj]
..\src\sourcemap.cc(29): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [c:\apps\projects\protagonist\build\protagonist.vcxproj]
..\src\sourcemap.cc(29): error C2143: syntax error : missing ',' before '&' [c:\apps\projects\protagonist\build\protagonist.vcxproj]
c:\apps\projects\protagonist\src\protagonist.h(69): error C2039: 'Arguments' : is not a member of 'v8' [c:\apps\projects\protagonist\build\pr
Hi,
$ npm install -g dredd
shows an error when it tries to build protagonist.
I tried to install just protagonist after that and shows the same errors
Python 2.7.9
node 4.1.2
osX "Capitan"
LIBTOOL-STATIC Release/drafter.a
CXX(target) Release/obj.target/libsos/drafter/ext/sos/src/sos.o
LIBTOOL-STATIC Release/sos.a
CXX(target) Release/obj.target/protagonist/src/annotation.o
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:6:
../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^
../node_modules/nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^
../node_modules/nan/nan.h:661:13: error: no member named 'smalloc' in namespace 'node'
, node::smalloc::FreeCallback callback
~~~~~~^
../node_modules/nan/nan.h:672:12: error: no matching function for call to 'New'
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^~~~~~~~~~~~~~~~~
/Users/Rolando/.node-gyp/4.1.2/include/node/node_buffer.h:31:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to 'enum encoding'
for 3rd argument
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/Users/Rolando/.node-gyp/4.1.2/include/node/node_buffer.h:43:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/Users/Rolando/.node-gyp/4.1.2/include/node/node_buffer.h:28:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
^
/Users/Rolando/.node-gyp/4.1.2/include/node/node_buffer.h:36:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:6:
../node_modules/nan/nan.h:676:12: error: no viable conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>'
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/Rolando/.node-gyp/4.1.2/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from
'v8::MaybeLocal<v8::Object>' to 'const v8::Local<v8::Object> &' for 1st argument
class Local {
^
/Users/Rolando/.node-gyp/4.1.2/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from
'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object> &&' for 1st argument
class Local {
^
/Users/Rolando/.node-gyp/4.1.2/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
V8_INLINE Local(Local<S> that)
^
/Users/Rolando/.node-gyp/4.1.2/include/node/v8.h:326:13: note: candidate template ignored: could not match 'S *' against 'v8::MaybeLocal<v8::Object>'
V8_INLINE Local(S* that)
^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:6:
../node_modules/nan/nan.h:683:26: error: no member named 'Use' in namespace 'node::Buffer'
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
~~~~~~~~~~~~~~^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:4:
In file included from /Users/Rolando/.node-gyp/4.1.2/include/node/node.h:42:
/Users/Rolando/.node-gyp/4.1.2/include/node/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/Rolando/.node-gyp/4.1.2/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:414:12: note: in instantiation of function template specialization 'v8::Local<v8::Primitive>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:4:
In file included from /Users/Rolando/.node-gyp/4.1.2/include/node/node.h:42:
/Users/Rolando/.node-gyp/4.1.2/include/node/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/Rolando/.node-gyp/4.1.2/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:424:12: note: in instantiation of function template specialization 'v8::Local<v8::Boolean>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:4:
In file included from /Users/Rolando/.node-gyp/4.1.2/include/node/node.h:42:
/Users/Rolando/.node-gyp/4.1.2/include/node/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/Rolando/.node-gyp/4.1.2/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1514:12: note: in instantiation of function template specialization 'v8::Local<v8::Function>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:4:
In file included from /Users/Rolando/.node-gyp/4.1.2/include/node/node.h:42:
/Users/Rolando/.node-gyp/4.1.2/include/node/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/Rolando/.node-gyp/4.1.2/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1632:12: note: in instantiation of function template specialization 'v8::Local<v8::Object>::Local<v8::Value>' requested here
return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
9 errors generated.
make: *** [Release/obj.target/protagonist/src/annotation.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 15.0.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/protagonist
gyp ERR! node -v v4.1.2
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm ERR! Darwin 15.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "protagonist"
npm ERR! node v4.1.2
npm ERR! npm v3.3.6
npm ERR! code ELIFECYCLE
$ npm i protagonist
\
> [email protected] install /private/tmp/node_modules/protagonist
> node-gyp rebuild
CXX(target) Release/obj.target/libmarkdownparser/drafter/ext/snowcrash/ext/markdown-parser/src/ByteBuffer.o
In file included from ../drafter/ext/snowcrash/ext/markdown-parser/src/ByteBuffer.cc:9:
In file included from ../drafter/ext/snowcrash/ext/markdown-parser/src/ByteBuffer.h:14:
In file included from /usr/include/c++/4.2.1/sstream:44:
In file included from /usr/include/c++/4.2.1/istream:845:
In file included from /usr/include/c++/4.2.1/bits/istream.tcc:46:
/usr/bin/locale:1:1: error: source file is not valid UTF-8
<CF><FA><ED><FE><U+0007>
^
/usr/bin/locale:1:2: error: source file is not valid UTF-8
<CF><FA><ED><FE><U+0007>
^
/usr/bin/locale:1:3: error: source file is not valid UTF-8
<CF><FA><ED><FE><U+0007>
^
/usr/bin/locale:1:4: error: source file is not valid UTF-8
<CF><FA><ED><FE><U+0007>
^
/usr/bin/locale:1:5: error: expected unqualified-id
<CF><FA><ED><FE><U+0007>
^
/usr/bin/locale:1:12: error: source file is not valid UTF-8
<CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><80><U+0002>
^
/usr/bin/locale:1:25: error: source file is not valid UTF-8
...<85><80>!
^
/usr/bin/locale:1:26: error: source file is not valid UTF-8
...<80>!
^
/usr/bin/locale:1:138: error: source file is not valid UTF-8
...<C0>
^
/usr/bin/locale:1:154: error: source file is not valid UTF-8
...<C0>
^
/usr/bin/locale:1:244: error: source file is not valid UTF-8
...<80>
^
/usr/bin/locale:1:289: error: source file is not valid UTF-8
...<88><8F>
^
/usr/bin/locale:1:290: error: source file is not valid UTF-8
...<8F>
^
/usr/bin/locale:1:305: error: source file is not valid UTF-8
...<88><8F>
^
/usr/bin/locale:1:306: error: source file is not valid UTF-8
...<8F>
^
/usr/bin/locale:1:324: error: source file is not valid UTF-8
...<80>
^
/usr/bin/locale:1:369: error: non-ASCII characters are not allowed outside of literals and identifiers
...Ԑ
^
/usr/bin/locale:1:385: error: non-ASCII characters are not allowed outside of literals and identifiers
...Ԑ
^
/usr/bin/locale:1:404: error: source file is not valid UTF-8
...<80>
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/libmarkdownparser/drafter/ext/snowcrash/ext/markdown-parser/src/ByteBuffer.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/abtris/.nvm/v0.10.37/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Darwin 14.3.0
gyp ERR! command "node" "/Users/abtris/.nvm/v0.10.37/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /private/tmp/node_modules/protagonist
gyp ERR! node -v v0.10.37
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/Users/abtris/.nvm/v0.10.37/bin/npm" "i" "protagonist"
npm ERR! node v0.10.37
npm ERR! npm v2.10.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the protagonist package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls protagonist
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /private/tmp/npm-debug.log
npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ 'node',
1 verbose cli '/Users/abtris/.nvm/v0.10.37/bin/npm',
1 verbose cli 'i',
1 verbose cli 'protagonist' ]
2 info using [email protected]
3 info using [email protected]
4 verbose install initial load of /private/tmp/package.json
5 verbose installManyTop reading scoped package data from /private/tmp/node_modules/node-gyp/package.json
6 verbose readDependencies loading dependencies from /private/tmp/package.json
7 silly cache add args [ 'protagonist', null ]
8 verbose cache add spec protagonist
9 silly cache add parsed spec { raw: 'protagonist',
9 silly cache add scope: null,
9 silly cache add name: 'protagonist',
9 silly cache add rawSpec: '',
9 silly cache add spec: '*',
9 silly cache add type: 'range' }
10 silly addNamed protagonist@*
11 verbose addNamed "*" is a valid semver range for protagonist
12 silly addNameRange { name: 'protagonist', range: '*', hasData: false }
13 silly mapToRegistry name protagonist
14 silly mapToRegistry using default registry
15 silly mapToRegistry registry https://registry.npmjs.org/
16 silly mapToRegistry uri https://registry.npmjs.org/protagonist
17 verbose addNameRange registry:https://registry.npmjs.org/protagonist not in flight; fetching
18 verbose request uri https://registry.npmjs.org/protagonist
19 verbose request no auth needed
20 info attempt registry request try #1 at 08:59:08
21 verbose request using bearer token for auth
22 verbose request id 257b78d39981bb37
23 verbose etag "1AT7SLADF878Z1SQ4J5F4CHWG"
24 http request GET https://registry.npmjs.org/protagonist
25 http 304 https://registry.npmjs.org/protagonist
26 silly get cb [ 304,
26 silly get { server: 'CouchDB/1.5.0 (Erlang OTP/R16B03)',
26 silly get etag: '"1AT7SLADF878Z1SQ4J5F4CHWG"',
26 silly get 'cache-control': 'max-age=60',
26 silly get 'accept-ranges': 'bytes',
26 silly get date: 'Tue, 09 Jun 2015 06:59:09 GMT',
26 silly get via: '1.1 varnish',
26 silly get connection: 'keep-alive',
26 silly get 'x-served-by': 'cache-lcy1131-LCY',
...skipping...
1203 verbose linkBins [email protected]
1204 verbose linkMans [email protected]
1205 verbose rebuildBundles [email protected]
1206 verbose rebuildBundles [ 'nan' ]
1207 info install [email protected]
1208 verbose unsafe-perm in lifecycle true
1209 info [email protected] Failed to exec install script
1210 verbose unlock done using /Users/abtris/.npm/_locks/protagonist-29a37ccd43d61712.lock for /private/tmp/node_modules/protagonist
1211 verbose stack Error: [email protected] install: `node-gyp rebuild`
1211 verbose stack Exit status 1
1211 verbose stack at EventEmitter.<anonymous> (/Users/abtris/.nvm/v0.10.37/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)
1211 verbose stack at EventEmitter.emit (events.js:98:17)
1211 verbose stack at ChildProcess.<anonymous> (/Users/abtris/.nvm/v0.10.37/lib/node_modules/npm/lib/utils/spawn.js:24:14)
1211 verbose stack at ChildProcess.emit (events.js:98:17)
1211 verbose stack at maybeClose (child_process.js:766:16)
1211 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:833:5)
1212 verbose pkgid [email protected]
1213 verbose cwd /private/tmp
1214 error Darwin 14.3.0
1215 error argv "node" "/Users/abtris/.nvm/v0.10.37/bin/npm" "i" "protagonist"
1216 error node v0.10.37
1217 error npm v2.10.1
1218 error code ELIFECYCLE
1219 error [email protected] install: `node-gyp rebuild`
1219 error Exit status 1
1220 error Failed at the [email protected] install script 'node-gyp rebuild'.
1220 error This is most likely a problem with the protagonist package,
1220 error not with npm itself.
1220 error Tell the author that this fails on your system:
1220 error node-gyp rebuild
1220 error You can get their info via:
1220 error npm owner ls protagonist
1220 error There is likely additional logging output above.
1221 verbose exit [ 1, true ]
1222 verbose unbuild node_modules/protagonist
1223 info preuninstall [email protected]
1224 info uninstall [email protected]
1225 verbose unbuild rmStuff [email protected] from /private/tmp/node_modules
1226 info postuninstall [email protected]
1227 silly gentlyRm /private/tmp/node_modules/protagonist is being purged from base /private/tmp
1228 verbose gentlyRm don't care about contents; nuking /private/tmp/node_modules/protagonist
1229 silly vacuum-fs purging /private/tmp/node_modules/protagonist
1230 silly vacuum-fs quitting because other entries in /private/tmp/node_modules
JSON schemas from MSONs discussed under Data Structures
section are not rendered properly after porting Dredd to latest protagonist
from drafter.js
Blueprint
# My API
# My Resource [/my_resource]
# Its Action [GET]
+ Response 200 (application/json)
+ Body
+ Attributes (My Structure)
# Data Structures
# My Structure (object)
- myKey: myValue (string)
- destination (object, nullable, optional) - Some description #nullable
- someObject (object)
- itsKey: (string, nullable, optional) - Some other description #nullable
Before (drafter.js, [email protected])
{
"type": "object",
"properties": {
"myKey": {
"type": "string"
},
"destination": {
"type": "object",
"description": "Some description #nullable"
},
"someObject": {
"type": "object",
"properties": {
"itsKey": {
"type": "string",
"description": "Some other description #nullable"
}
}
}
},
"$schema": "http://json-schema.org/draft-04/schema#"
}
After (protagonist, [email protected])
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"type": "object"
}
}
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.