Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ayush@ayush:~/Desktop/workspace/xapian-docsprint$ make html LANGUAGE=c++
- sphinx-build -b html -q -d _build/doctrees -tc++ . _build/html
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/index_filters.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/index_filters.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/index_filters.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index_filters.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/boolean_filters.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:00.003702054 +0530
- +++ code/expected.out/index_filters.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index_filters: not found
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/index_filters.cc code/c++/support.cc -o code/c++/built/index_filters `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/index_filters data/100-objects-v1.csv db > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index_filters.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/search_filters.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/search_filters.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/search_filters.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_filters.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/boolean_filters.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:00.539773349 +0530
- +++ code/expected.out/search_filters.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,9 @@
- -sh: 2: code/c++/built/search_filters: not found
- +1: #012 Assembled and unassembled EXA electric clock kit
- +2: #098 'Pond' electric clock movement (no dial)
- +3: #052 Reconstruction of Dondi's Astronomical Clock, 1974
- +4: #059 Electrically operated clock controller
- +5: #024 Regulator Clock with Gravity Escapement
- +6: #097 Bain's subsidiary electric clock
- +7: #009 Copy of a Dwerrihouse skeleton clock with coup-perdu escape
- +8: #091 Pendulum clock designed by Galileo in 1642 and made by his son in 1649, model.
- +'clock'[0:10] = 12 98 52 59 24 97 9 91
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search_filters.cc code/c++/support.cc -o code/c++/built/search_filters `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/search_filters db clock 'steel (metal)' > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_filters.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/search_filters2.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/search_filters2.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/search_filters2.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_filters2.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/boolean_filters.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:01.079845101 +0530
- +++ code/expected.out/search_filters2.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,9 @@
- -sh: 2: code/c++/built/search_filters2: not found
- +1: #012 Assembled and unassembled EXA electric clock kit
- +2: #098 'Pond' electric clock movement (no dial)
- +3: #052 Reconstruction of Dondi's Astronomical Clock, 1974
- +4: #059 Electrically operated clock controller
- +5: #024 Regulator Clock with Gravity Escapement
- +6: #097 Bain's subsidiary electric clock
- +7: #009 Copy of a Dwerrihouse skeleton clock with coup-perdu escape
- +8: #091 Pendulum clock designed by Galileo in 1642 and made by his son in 1649, model.
- +'clock material:"steel (metal)"'[0:10] = 12 98 52 59 24 97 9 91
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search_filters2.cc code/c++/support.cc -o code/c++/built/search_filters2 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/search_filters2 db 'clock material:"steel (metal)"' > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_filters2.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/index_facets.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/index_facets.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/index_facets.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index_facets.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/facets.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:01.679924332 +0530
- +++ code/expected.out/index_facets.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index_facets: not found
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/index_facets.cc code/c++/support.cc -o code/c++/built/index_facets `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/index_facets data/100-objects-v1.csv db > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index_facets.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/search_facets.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/search_facets.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/search_facets.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_facets.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/facets.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:02.223995967 +0530
- +++ code/expected.out/search_facets.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,33 @@
- -sh: 2: code/c++/built/search_facets: not found
- +1: #044 Two-dial clock by the Self-Winding Clock Co; as used on the
- +2: #096 Clock with Hipp pendulum (an electric driven clock with Hipp
- +3: #012 Assembled and unassembled EXA electric clock kit
- +4: #098 'Pond' electric clock movement (no dial)
- +5: #083 Harrison's eight-day wooden clock movement, 1715.
- +6: #005 "Ever Ready" ceiling clock
- +7: #039 Electric clock of the Bain type
- +8: #061 Van der Plancke master clock
- +9: #064 Morse electrical clock, dial mechanism
- +10: #052 Reconstruction of Dondi's Astronomical Clock, 1974
- +Facet: Bain, Alexander; count: 3
- +Facet: Bloxam, J. M.; count: 1
- +Facet: Braun (maker); count: 1
- +Facet: British Horo-Electric Ltd. (maker); count: 1
- +Facet: British Vacuum Cleaner and Engineering Co. Ltd., Magneto Time division (maker); count: 1
- +Facet: EXA; count: 1
- +Facet: Ever Ready Co. (maker); count: 2
- +Facet: Ferranti Ltd.; count: 1
- +Facet: Galilei, Galileo, 1564-1642; Galilei, Vincenzio, 1606-1649; count: 1
- +Facet: Harrison, John (maker); count: 1
- +Facet: Hipp, M.; count: 1
- +Facet: La Précision Cie; count: 1
- +Facet: Lund, J.; count: 1
- +Facet: Morse, J. S.; count: 1
- +Facet: Self Winding Clock Company; count: 1
- +Facet: Self-Winding Clock Co. (maker); count: 1
- +Facet: Synchronome Co. Ltd. (maker); count: 2
- +Facet: Thwaites and Reed Ltd.; count: 1
- +Facet: Thwaites and Reed Ltd. (maker); count: 1
- +Facet: Viviani, Vincenzo; count: 1
- +Facet: Vulliamy, Benjamin, 1747-1811; count: 1
- +Facet: Whitefriars Glass Ltd. (maker); count: 1
- +'clock'[0:10] = 44 96 12 98 83 5 39 61 64 52
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search_facets.cc code/c++/support.cc -o code/c++/built/search_facets `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/search_facets db clock > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_facets.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/index_ranges.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/index_ranges.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/index_ranges.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index_ranges.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:02.820074105 +0530
- +++ code/expected.out/index_ranges.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index_ranges: not found
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/index_ranges.cc code/c++/support.cc -o code/c++/built/index_ranges `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/index_ranges data/100-objects-v1.csv db > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index_ranges.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/search_ranges.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/search_ranges.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/search_ranges.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_ranges.db_..50mm.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:03.388148211 +0530
- +++ code/expected.out/search_ranges.db_..50mm.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,7 @@
- -sh: 2: code/c++/built/search_ranges: not found
- +1: #031 (1588) overall diameter: 50 mm
- + Portable universal equinoctial sundial, in brass, signed "A
- +2: #073 (1701-1721) overall: 15 mm x 44.45 mm, weight: 0.055kg
- + Universal pocket sundial
- +3: #074 (1596) overall: 13 mm x 44.45 mm x 44.45 mm, weight: 0.095kg
- + Sundial, made as a locket, gilt metal, part silver
- +'..50mm'[0:10] = 31 73 74
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search_ranges.cc code/c++/support.cc -o code/c++/built/search_ranges `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/search_ranges db ..50mm > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_ranges.db_..50mm.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/search_ranges.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/search_ranges.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/search_ranges.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_ranges.db_1980..1989.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:03.916216937 +0530
- +++ code/expected.out/search_ranges.db_1980..1989.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,5 @@
- -sh: 2: code/c++/built/search_ranges: not found
- +1: #050 (1984) overall: 105 mm x 75 mm x 57 mm,
- + Quartz Analogue "no battery" wristwatch by Pulsar Quartz (CA
- +2: #051 (1984) overall: 85 mm x 65 mm x 38 mm,
- + Analogue quartz clock with voice controlled alarm by Braun,
- +'1980..1989'[0:10] = 50 51
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search_ranges.cc code/c++/support.cc -o code/c++/built/search_ranges `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/search_ranges db 1980..1989 > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_ranges.db_1980..1989.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/search_ranges.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/search_ranges.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/search_ranges.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_ranges.db_clock_1960...out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:04.428283183 +0530
- +++ code/expected.out/search_ranges.db_clock_1960...out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,7 @@
- -sh: 2: code/c++/built/search_ranges: not found
- +1: #052 (1974) clock: 1185 x 780 mm, 122 kg; rewind unit: 460 x 640 x 350 mm
- + Reconstruction of Dondi's Astronomical Clock, 1974
- +2: #051 (1984) overall: 85 mm x 65 mm x 38 mm,
- + Analogue quartz clock with voice controlled alarm by Braun,
- +3: #009 (1973) overall: 380 mm x 300 mm x 192 mm, weight: 6.45kg
- + Copy of a Dwerrihouse skeleton clock with coup-perdu escape
- +'clock 1960..'[0:10] = 52 51 9
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search_ranges.cc code/c++/support.cc -o code/c++/built/search_ranges `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/search_ranges db clock 1960.. > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_ranges.db_clock_1960...out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/search_ranges.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/search_ranges.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/search_ranges.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_ranges.db_1000..mm_1800..1899.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:04.932348315 +0530
- +++ code/expected.out/search_ranges.db_1000..mm_1800..1899.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,3 @@
- -sh: 2: code/c++/built/search_ranges: not found
- +1: #024 (1845-1855) overall: 1850 mm x 350 mm x 250 mm
- + Regulator Clock with Gravity Escapement
- +'1000..mm 1800..1899'[0:10] = 24
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search_ranges.cc code/c++/support.cc -o code/c++/built/search_ranges `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/search_ranges db 1000..mm 1800..1899 > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_ranges.db_1000..mm_1800..1899.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/index_ranges2.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/index_ranges2.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/index_ranges2.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index_ranges2.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:05.472417666 +0530
- +++ code/expected.out/index_ranges2.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index_ranges2: not found
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/index_ranges2.cc code/c++/support.cc -o code/c++/built/index_ranges2 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/index_ranges2 data/states.csv statesdb > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index_ranges2.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/search_ranges2.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/search_ranges2.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/search_ranges2.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_ranges2.statesdb_spanish.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:06.000485415 +0530
- +++ code/expected.out/search_ranges2.statesdb_spanish.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,5 @@
- -sh: 2: code/c++/built/search_ranges2: not found
- +1: #004 State of Montana November 8, 1889
- + Population 989,415
- +2: #019 State of Texas December 29, 1845
- + Population 25,145,561
- +'spanish'[0:10] = 4 19
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search_ranges2.cc code/c++/support.cc -o code/c++/built/search_ranges2 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/search_ranges2 statesdb spanish > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_ranges2.statesdb_spanish.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/search_ranges2.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/search_ranges2.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/search_ranges2.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_ranges2.statesdb_1800..1899.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:06.512550636 +0530
- +++ code/expected.out/search_ranges2.statesdb_1800..1899.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,21 @@
- -sh: 2: code/c++/built/search_ranges2: not found
- +1: #001 State of Washington November 11, 1889
- + Population 6,744,496
- +2: #002 State of Arkansas June 15, 1836
- + Population 2,915,918
- +3: #003 State of Oregon February 14, 1859
- + Population 3,831,074
- +4: #004 State of Montana November 8, 1889
- + Population 989,415
- +5: #005 Idaho July 3, 1890
- + Population 1,567,582
- +6: #006 State of Nevada October 31, 1864
- + Population 2,700,551
- +7: #007 State of California September 9, 1850
- + Population 37,253,956
- +8: #009 State of Utah January 4, 1896
- + Population 2,763,885
- +9: #010 State of Wyoming July 10, 1890
- + Population 563,626
- +10: #011 State of Colorado August 1, 1876
- + Population 5,029,196
- +'1800..1899'[0:10] = 1 2 3 4 5 6 7 9 10 11
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search_ranges2.cc code/c++/support.cc -o code/c++/built/search_ranges2 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/search_ranges2 statesdb 1800..1899 > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_ranges2.statesdb_1800..1899.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/search_ranges2.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/search_ranges2.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/search_ranges2.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_ranges2.statesdb_11=2f08=2f1889..07=2f10=2f1890.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:07.008613815 +0530
- +++ code/expected.out/search_ranges2.statesdb_11=2f08=2f1889..07=2f10=2f1890.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,9 @@
- -sh: 2: code/c++/built/search_ranges2: not found
- +1: #001 State of Washington November 11, 1889
- + Population 6,744,496
- +2: #004 State of Montana November 8, 1889
- + Population 989,415
- +3: #005 Idaho July 3, 1890
- + Population 1,567,582
- +4: #010 State of Wyoming July 10, 1890
- + Population 563,626
- +'11/08/1889..07/10/1890'[0:10] = 1 4 5 10
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search_ranges2.cc code/c++/support.cc -o code/c++/built/search_ranges2 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/search_ranges2 statesdb 11/08/1889..07/10/1890 > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_ranges2.statesdb_11=2f08=2f1889..07=2f10=2f1890.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/search_ranges2.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/search_ranges2.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/search_ranges2.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_ranges2.statesdb_10000000...out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:07.508677052 +0530
- +++ code/expected.out/search_ranges2.statesdb_10000000...out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,15 @@
- -sh: 2: code/c++/built/search_ranges2: not found
- +1: #007 State of California September 9, 1850
- + Population 37,253,956
- +2: #019 State of Texas December 29, 1845
- + Population 25,145,561
- +3: #027 State of Illinois December 3, 1818
- + Population 12,830,632
- +4: #030 State of Ohio March 1, 1803
- + Population 11,536,504
- +5: #035 State of Florida March 3, 1845
- + Population 18,801,310
- +6: #040 Commonwealth of Pennsylvania December 12, 1787
- + Population 12,702,379
- +7: #041 State of New York July 26, 1788
- + Population 19,378,102
- +'10000000..'[0:10] = 7 19 27 30 35 40 41
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search_ranges2.cc code/c++/support.cc -o code/c++/built/search_ranges2 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/search_ranges2 statesdb 10000000.. > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_ranges2.statesdb_10000000...out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/search_ranges2.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/search_ranges2.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/search_ranges2.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_ranges2.statesdb_1780..1789_10000000...out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:08.004739779 +0530
- +++ code/expected.out/search_ranges2.statesdb_1780..1789_10000000...out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,5 @@
- -sh: 2: code/c++/built/search_ranges2: not found
- +1: #040 Commonwealth of Pennsylvania December 12, 1787
- + Population 12,702,379
- +2: #041 State of New York July 26, 1788
- + Population 19,378,102
- +'1780..1789 10000000..'[0:10] = 40 41
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search_ranges2.cc code/c++/support.cc -o code/c++/built/search_ranges2 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/search_ranges2 statesdb 1780..1789 10000000.. > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_ranges2.statesdb_1780..1789_10000000...out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/index_ranges2.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/index_ranges2.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/index_ranges2.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index_ranges2.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/sorting.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:08.528805580 +0530
- +++ code/expected.out/index_ranges2.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index_ranges2: not found
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/index_ranges2.cc code/c++/support.cc -o code/c++/built/index_ranges2 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/index_ranges2 data/states.csv statesdb > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index_ranges2.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/search_sorting.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/search_sorting.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/search_sorting.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_sorting.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/sorting.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:09.112878816 +0530
- +++ code/expected.out/search_sorting.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,5 @@
- -sh: 2: code/c++/built/search_sorting: not found
- +1: #019 State of Texas December 29, 1845
- + Population 25,145,561
- +2: #004 State of Montana November 8, 1889
- + Population 989,415
- +'spanish'[0:10] = 19 4
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search_sorting.cc code/c++/support.cc -o code/c++/built/search_sorting `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/search_sorting statesdb spanish > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_sorting.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/search_sorting2.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/search_sorting2.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/search_sorting2.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_sorting2.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/sorting.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:09.728955613 +0530
- +++ code/expected.out/search_sorting2.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,21 @@
- -sh: 2: code/c++/built/search_sorting2: not found
- +1: #040 Commonwealth of Pennsylvania December 12, 1787
- + Population 12,702,379
- +2: #043 State of New Jersey December 18, 1787
- + Population 8,791,894
- +3: #049 State of Delaware December 7, 1787
- + Population 897,934
- +4: #041 State of New York July 26, 1788
- + Population 19,378,102
- +5: #034 State of Georgia January 2, 1788
- + Population 9,687,653
- +6: #038 Commonwealth of Virginia June 25, 1788
- + Population 8,001,024
- +7: #046 Commonwealth of Massachusetts February 6, 1788
- + Population 6,547,629
- +8: #050 State of Maryland April 28, 1788
- + Population 5,773,552
- +9: #036 State of South Carolina May 23, 1788
- + Population 4,625,384
- +10: #048 State of Connecticut January 9, 1788
- + Population 3,574,097
- +'State'[0:10] = 40 43 49 41 34 38 46 50 36 48
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search_sorting2.cc code/c++/support.cc -o code/c++/built/search_sorting2 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/search_sorting2 statesdb State > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_sorting2.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/index_values_with_geo.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/index_values_with_geo.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/index_values_with_geo.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index_values_with_geo.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/sorting.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:10.325029631 +0530
- +++ code/expected.out/index_values_with_geo.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index_values_with_geo: not found
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/index_values_with_geo.cc code/c++/support.cc -o code/c++/built/index_values_with_geo `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/index_values_with_geo data/states.csv statesdb > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index_values_with_geo.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/search_sorting3.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/search_sorting3.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/search_sorting3.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/c++/search_sorting3.cc: In member function 'virtual std::__cxx11::string search(const string&, const string&, Xapian::doccount, Xapian::doccount)::DistanceKeyMaker::operator()(const Xapian::Document&) const':
- code/c++/search_sorting3.cc:43:45: error: 'atof' was not declared in this scope
- double lat = atof(latlon.c_str());
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_sorting3.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/sorting.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:10.917102910 +0530
- +++ code/expected.out/search_sorting3.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,21 @@
- -sh: 2: code/c++/built/search_sorting3: not found
- +1: #050 State of Maryland April 28, 1788
- + Population 5,773,552
- +2: #049 State of Delaware December 7, 1787
- + Population 897,934
- +3: #040 Commonwealth of Pennsylvania December 12, 1787
- + Population 12,702,379
- +4: #043 State of New Jersey December 18, 1787
- + Population 8,791,894
- +5: #039 State of West Virginia June 20, 1863
- + Population 1,859,815
- +6: #037 State of North Carolina November 21, 1789
- + Population 9,535,483
- +7: #041 State of New York July 26, 1788
- + Population 19,378,102
- +8: #038 Commonwealth of Virginia June 25, 1788
- + Population 8,001,024
- +9: #048 State of Connecticut January 9, 1788
- + Population 3,574,097
- +10: #036 State of South Carolina May 23, 1788
- + Population 4,625,384
- +'State'[0:10] = 50 49 40 43 39 37 41 38 48 36
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search_sorting3.cc code/c++/support.cc -o code/c++/built/search_sorting3 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/search_sorting3 statesdb State > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_sorting3.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/index1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/index1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/index1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/synonyms.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:11.529178201 +0530
- +++ code/expected.out/index1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index1: not found
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/index1.cc code/c++/support.cc -o code/c++/built/index1 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/index1 data/100-objects-v1.csv db > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index1.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/delete1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/delete1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/delete1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/delete1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/synonyms.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:12.093247437 +0530
- +++ code/expected.out/delete1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/delete1: not found
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/delete1.cc code/c++/support.cc -o code/c++/built/delete1 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/delete1 db 1953-448 1985-438 > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/delete1.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/search_synonyms.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/search_synonyms.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/search_synonyms.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_synonyms.db_time.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/synonyms.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:12.741326507 +0530
- +++ code/expected.out/search_synonyms.db_time.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,10 @@
- -sh: 2: code/c++/built/search_synonyms: not found
- +1: #065 Electric time piece with hands but without dial (no pendulum
- +2: #058 The "Empire" clock, to show the time at various longitudes,
- +3: #041 Frequency and time measuring instrument type TSA3436 by Venn
- +4: #056 Single sandglass in 4 pillared wood mount, running time 15 1
- +5: #043 Loughborough-Hayes automatic timing apparatus. Used by the R
- +6: #011 "Timetrunk" by Hines and Co., Glasgow (a sandglass for timin
- +7: #016 Copy of the gearing of the Byzantine sundial-calendar (1983-
- +8: #045 Master clock of the "Silent Electric" type made by the Magne
- +9: #018 Solar/Sidereal verge watch with epicyclic maintaining power
- +'time'[0:10] = 65 58 41 56 43 11 16 45 18
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search_synonyms.cc code/c++/support.cc -o code/c++/built/search_synonyms `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/search_synonyms db time > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_synonyms.db_time.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/index1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/index1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/index1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/synonyms.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:13.373403305 +0530
- +++ code/expected.out/index1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index1: not found
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/index1.cc code/c++/support.cc -o code/c++/built/index1 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/index1 data/100-objects-v1.csv db > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index1.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/delete1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/delete1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/delete1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/delete1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/synonyms.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:13.929470665 +0530
- +++ code/expected.out/delete1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/delete1: not found
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/delete1.cc code/c++/support.cc -o code/c++/built/delete1 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/delete1 db 1953-448 1985-438 > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/delete1.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/search_synonyms.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/search_synonyms.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/search_synonyms.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_synonyms.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/synonyms.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:14.513540979 +0530
- +++ code/expected.out/search_synonyms.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,11 @@
- -sh: 2: code/c++/built/search_synonyms: not found
- +1: #016 Copy of the gearing of the Byzantine sundial-calendar (1983-
- +2: #072 German Perpetual Calendar in gilt metal
- +3: #065 Electric time piece with hands but without dial (no pendulum
- +4: #068 Ornate brass Perpetual Calendar
- +5: #058 The "Empire" clock, to show the time at various longitudes,
- +6: #041 Frequency and time measuring instrument type TSA3436 by Venn
- +7: #056 Single sandglass in 4 pillared wood mount, running time 15 1
- +8: #043 Loughborough-Hayes automatic timing apparatus. Used by the R
- +9: #026 Sundial and compass with perpetual calendar and lunar circles
- +10: #036 Universal 'Tri-Compax' chronographic wrist watch
- +'~time'[0:10] = 16 72 65 68 58 41 56 43 26 36
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search_synonyms.cc code/c++/support.cc -o code/c++/built/search_synonyms `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/search_synonyms db ~time > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_synonyms.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/index1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/index1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/index1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/indexing/updating_the_database.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:15.229626912 +0530
- +++ code/expected.out/index1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index1: not found
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/index1.cc code/c++/support.cc -o code/c++/built/index1 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/index1 data/100-objects-v1.csv db > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index1.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/delete1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/delete1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/delete1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/delete1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/indexing/updating_the_database.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:15.849700961 +0530
- +++ code/expected.out/delete1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/delete1: not found
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/delete1.cc code/c++/support.cc -o code/c++/built/delete1 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/delete1 db 1953-448 1985-438 > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/delete1.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/index1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/index1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/index1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/indexing/writing_the_code.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:16.609791216 +0530
- +++ code/expected.out/index1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index1: not found
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/index1.cc code/c++/support.cc -o code/c++/built/index1 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/index1 data/100-objects-v1.csv db > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index1.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/index1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/index1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/index1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/prefix.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:17.297872555 +0530
- +++ code/expected.out/index1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index1: not found
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/index1.cc code/c++/support.cc -o code/c++/built/index1 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/index1 data/100-objects-v1.csv db > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index1.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/delete1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/delete1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/delete1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/delete1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/prefix.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:17.909944611 +0530
- +++ code/expected.out/delete1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/delete1: not found
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/delete1.cc code/c++/support.cc -o code/c++/built/delete1 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/delete1 db 1953-448 1985-438 > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/delete1.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/search1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/search1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/search1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/prefix.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:18.530017172 +0530
- +++ code/expected.out/search1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,2 @@
- -sh: 2: code/c++/built/search1: not found
- +1: #001 Ansonia Sunwatch (pocket compas dial)
- +'title:sunwatch'[0:10] = 1
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search1.cc code/c++/support.cc -o code/c++/built/search1 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/search1 db title:sunwatch > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search1.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/search1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/search1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/search1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search1.db_description=3a=5c=22leather_case=5c=22_AND_title=3asundial.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/prefix.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:19.094083032 +0530
- +++ code/expected.out/search1.db_description=3a=5c=22leather_case=5c=22_AND_title=3asundial.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,2 @@
- -sh: 2: code/c++/built/search1: not found
- +1: #055 Silver altitude sundial in leather case
- +'description:"leather case" AND title:sundial'[0:10] = 55
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search1.cc code/c++/support.cc -o code/c++/built/search1 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/search1 db description:\"leather case\" AND title:sundial > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search1.db_description=3a=5c=22leather_case=5c=22_AND_title=3asundial.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/index1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/index1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/index1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/running_the_search.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:19.686151749 +0530
- +++ code/expected.out/index1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index1: not found
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/index1.cc code/c++/support.cc -o code/c++/built/index1 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/index1 data/100-objects-v1.csv db > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index1.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/delete1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/delete1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/delete1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/delete1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/running_the_search.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:20.322225310 +0530
- +++ code/expected.out/delete1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/delete1: not found
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/delete1.cc code/c++/support.cc -o code/c++/built/delete1 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/delete1 db 1953-448 1985-438 > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/delete1.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/search1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/search1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/search1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search1.db_watch.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/running_the_search.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:20.990302298 +0530
- +++ code/expected.out/search1.db_watch.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,8 @@
- -sh: 2: code/c++/built/search1: not found
- +1: #004 Watch with Chinese duplex escapement
- +2: #018 Solar/Sidereal verge watch with epicyclic maintaining power
- +3: #013 Watch timer by P
- +4: #033 A device by Favag of Neuchatel which enables a stop watch to
- +5: #015 Ingersoll "Dan Dare" automaton pocket watch with pin-pallet
- +6: #036 Universal 'Tri-Compax' chronographic wrist watch
- +7: #046 Model by Dent of mechanism for setting hands and winding up
- +'watch'[0:10] = 4 18 13 33 15 36 46
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search1.cc code/c++/support.cc -o code/c++/built/search1 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/search1 db watch > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search1.db_watch.out
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/search1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/search1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/search1.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
- from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:96:10: error: 'unordered_set' in namespace 'std' does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:112:51: error: class 'Xapian::SimpleStopper' does not have any field named 'stop_words'
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:157:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h:195:10: error: 'unordered_map' in namespace 'std' does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search1.db_Dent_watch.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/running_the_search.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-19 16:45:21.590370971 +0530
- +++ code/expected.out/search1.db_Dent_watch.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,11 @@
- -sh: 2: code/c++/built/search1: not found
- +1: #046 Model by Dent of mechanism for setting hands and winding up
- +2: #004 Watch with Chinese duplex escapement
- +3: #018 Solar/Sidereal verge watch with epicyclic maintaining power
- +4: #013 Watch timer by P
- +5: #094 Model of a Lever Escapement , 1850-1883
- +6: #093 Model of Graham's Cylinder Escapement, 1850-1883
- +7: #033 A device by Favag of Neuchatel which enables a stop watch to
- +8: #015 Ingersoll "Dan Dare" automaton pocket watch with pin-pallet
- +9: #086 Model representing Earnshaw's detent chronometer escapement, 1950-1883
- +10: #036 Universal 'Tri-Compax' chronographic wrist watch
- +'Dent watch'[0:10] = 46 4 18 13 94 93 33 15 86 36
- $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search1.cc code/c++/support.cc -o code/c++/built/search1 `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
- code/c++/built/search1 db Dent watch > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search1.db_Dent_watch.out
- /home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst:138: WARNING: Duplicate explicit target name: "nallapati2004".
- /home/ayush/Desktop/workspace/xapian-docsprint/howtos/boolean_filters.rst:147: ERROR: 6 error(s) with example code
- /home/ayush/Desktop/workspace/xapian-docsprint/howtos/facets.rst:130: ERROR: 4 error(s) with example code
- /home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst:298: ERROR: 22 error(s) with example code
- /home/ayush/Desktop/workspace/xapian-docsprint/howtos/sorting.rst:147: ERROR: 10 error(s) with example code
- /home/ayush/Desktop/workspace/xapian-docsprint/howtos/synonyms.rst:137: ERROR: 12 error(s) with example code
- /home/ayush/Desktop/workspace/xapian-docsprint/practical_example/indexing/updating_the_database.rst:57: ERROR: 4 error(s) with example code
- /home/ayush/Desktop/workspace/xapian-docsprint/practical_example/indexing/writing_the_code.rst:18: ERROR: 2 error(s) with example code
- /home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/prefix.rst:42: ERROR: 8 error(s) with example code
- /home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/running_the_search.rst:31: ERROR: 8 error(s) with example code
- /home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst:37: WARNING: Could not lex literal_block as "c++". Highlighting skipped.
- /home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst:: WARNING: using "math" markup without a Sphinx math extension active, please use one of the math extensions described at http://sphinx-doc.org/ext/math.html
- /home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst:: WARNING: using "math" markup without a Sphinx math extension active, please use one of the math extensions described at http://sphinx-doc.org/ext/math.html
- /home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst:: WARNING: using "math" markup without a Sphinx math extension active, please use one of the math extensions described at http://sphinx-doc.org/ext/math.html
- /home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst:: WARNING: using "math" markup without a Sphinx math extension active, please use one of the math extensions described at http://sphinx-doc.org/ext/math.html
- /home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst:: WARNING: using "math" markup without a Sphinx math extension active, please use one of the math extensions described at http://sphinx-doc.org/ext/math.html
- /home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst:: WARNING: using "math" markup without a Sphinx math extension active, please use one of the math extensions described at http://sphinx-doc.org/ext/math.html
- /home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst:: WARNING: using "math" markup without a Sphinx math extension active, please use one of the math extensions described at http://sphinx-doc.org/ext/math.html
- /home/ayush/Desktop/workspace/xapian-docsprint/concepts/search/search_limitations.rst:46: WARNING: unknown document: /advanced/remote
- Example rank_letor isn't shown to be run anywhere
- *** No version of example postingsource in language c++ - patches welcome!
- *** 77 total error(s) with example code
- Error in atexit._run_exitfuncs:
- Traceback (most recent call last):
- File "conf.py", line 894, in xapian_check_examples
- raise SystemExit()
- SystemExit
- Build finished. The HTML pages are in _build/html.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement