AyushP123

learning to rank rst errors

Aug 21st, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 264.21 KB | None | 0 0
  1. ayush@ayush:~/Desktop/workspace/xapian-docsprint$ make html LANGUAGE=c++
  2. sphinx-build -b html -q -d _build/doctrees   -tc++ . _build/html
  3. In file included from /usr/include/c++/5/unordered_set:35:0,
  4.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  5.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  6.                  from /usr/local/include/xapian-letor.h:23,
  7.                  from code/c++/search_letor.cc:1:
  8. /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.
  9.  #error This file requires compiler and library support \
  10.   ^
  11. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  12.                  from /usr/local/include/xapian-letor.h:23,
  13.                  from code/c++/search_letor.cc:1:
  14. /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
  15.      std::unordered_set<std::string> stop_words;
  16.           ^
  17. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  18. /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'
  19.      SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  20.                                                    ^
  21. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  22. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  23.      void add(const std::string & word) { stop_words.insert(word); }
  24.                                           ^
  25. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  26. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  27.   return stop_words.find(term) != stop_words.end();
  28.          ^
  29. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  30.                  from /usr/local/include/xapian-letor.h:23,
  31.                  from code/c++/search_letor.cc:1:
  32. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  33. /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
  34.      std::unordered_map<std::string, doccount> termfreq;
  35.           ^
  36. /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
  37.      std::unordered_map<std::string, double> weights;
  38.           ^
  39. In file included from /usr/include/c++/5/unordered_set:35:0,
  40.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  41.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  42.                  from code/c++/support.cc:1:
  43. /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.
  44.  #error This file requires compiler and library support \
  45.   ^
  46. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  47.                  from code/c++/support.cc:1:
  48. /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
  49.      std::unordered_set<std::string> stop_words;
  50.           ^
  51. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  52. /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'
  53.      SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  54.                                                    ^
  55. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  56. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  57.      void add(const std::string & word) { stop_words.insert(word); }
  58.                                           ^
  59. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  60. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  61.   return stop_words.find(term) != stop_words.end();
  62.          ^
  63. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  64.                  from code/c++/support.cc:1:
  65. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  66. /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
  67.      std::unordered_map<std::string, doccount> termfreq;
  68.           ^
  69. /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
  70.      std::unordered_map<std::string, double> weights;
  71.           ^
  72. code/expected.out/search_letor.out: (/home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst): Exit status 32512, expected 0
  73. --- tmp.out 2017-08-21 10:40:14.254853935 +0530
  74. +++ code/expected.out/search_letor.out  2017-08-21 10:32:41.496618398 +0530
  75. @@ -1 +0,0 @@
  76. -sh: 2: code/c++/built/search_letor: not found
  77. $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search_letor.cc code/c++/support.cc -o code/c++/built/search_letor `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
  78. code/c++/built/search_letor "db" "ListNET_Ranker" "watch" > tmp.out 2> tmp2.out
  79. $ cat tmp2.out >> tmp.out
  80. $ vimdiff tmp.out code/expected.out/search_letor.out
  81. In file included from /usr/include/c++/5/unordered_set:35:0,
  82.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  83.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  84.                  from code/c++/index_filters.cc:1:
  85. /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.
  86.  #error This file requires compiler and library support \
  87.   ^
  88. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  89.                  from code/c++/index_filters.cc:1:
  90. /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
  91.      std::unordered_set<std::string> stop_words;
  92.           ^
  93. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  94. /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'
  95.      SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  96.                                                    ^
  97. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  98. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  99.      void add(const std::string & word) { stop_words.insert(word); }
  100.                                           ^
  101. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  102. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  103.   return stop_words.find(term) != stop_words.end();
  104.          ^
  105. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  106.                  from code/c++/index_filters.cc:1:
  107. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  108. /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
  109.      std::unordered_map<std::string, doccount> termfreq;
  110.           ^
  111. /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
  112.      std::unordered_map<std::string, double> weights;
  113.           ^
  114. In file included from /usr/include/c++/5/unordered_set:35:0,
  115.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  116.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  117.                  from code/c++/support.cc:1:
  118. /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.
  119.  #error This file requires compiler and library support \
  120.   ^
  121. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  122.                  from code/c++/support.cc:1:
  123. /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
  124.      std::unordered_set<std::string> stop_words;
  125.           ^
  126. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  127. /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'
  128.      SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  129.                                                    ^
  130. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  131. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  132.      void add(const std::string & word) { stop_words.insert(word); }
  133.                                           ^
  134. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  135. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  136.   return stop_words.find(term) != stop_words.end();
  137.          ^
  138. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  139.                  from code/c++/support.cc:1:
  140. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  141. /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
  142.      std::unordered_map<std::string, doccount> termfreq;
  143.           ^
  144. /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
  145.      std::unordered_map<std::string, double> weights;
  146.           ^
  147. code/expected.out/index_filters.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/boolean_filters.rst): Exit status 32512, expected 0
  148. --- tmp.out 2017-08-21 10:40:15.230834409 +0530
  149. +++ code/expected.out/index_filters.out 2017-08-10 14:41:44.689029766 +0530
  150. @@ -1 +0,0 @@
  151. -sh: 2: code/c++/built/index_filters: not found
  152. $ 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`
  153. code/c++/built/index_filters data/100-objects-v1.csv db > tmp.out 2> tmp2.out
  154. $ cat tmp2.out >> tmp.out
  155. $ vimdiff tmp.out code/expected.out/index_filters.out
  156. In file included from /usr/include/c++/5/unordered_set:35:0,
  157.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  158.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  159.                  from code/c++/search_filters.cc:1:
  160. /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.
  161.  #error This file requires compiler and library support \
  162.   ^
  163. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  164.                  from code/c++/search_filters.cc:1:
  165. /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
  166.      std::unordered_set<std::string> stop_words;
  167.           ^
  168. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  169. /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'
  170.      SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  171.                                                    ^
  172. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  173. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  174.      void add(const std::string & word) { stop_words.insert(word); }
  175.                                           ^
  176. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  177. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  178.   return stop_words.find(term) != stop_words.end();
  179.          ^
  180. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  181.                  from code/c++/search_filters.cc:1:
  182. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  183. /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
  184.      std::unordered_map<std::string, doccount> termfreq;
  185.           ^
  186. /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
  187.      std::unordered_map<std::string, double> weights;
  188.           ^
  189. In file included from /usr/include/c++/5/unordered_set:35:0,
  190.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  191.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  192.                  from code/c++/support.cc:1:
  193. /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.
  194.  #error This file requires compiler and library support \
  195.   ^
  196. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  197.                  from code/c++/support.cc:1:
  198. /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
  199.      std::unordered_set<std::string> stop_words;
  200.           ^
  201. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  202. /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'
  203.      SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  204.                                                    ^
  205. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  206. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  207.      void add(const std::string & word) { stop_words.insert(word); }
  208.                                           ^
  209. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  210. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  211.   return stop_words.find(term) != stop_words.end();
  212.          ^
  213. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  214.                  from code/c++/support.cc:1:
  215. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  216. /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
  217.      std::unordered_map<std::string, doccount> termfreq;
  218.           ^
  219. /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
  220.      std::unordered_map<std::string, double> weights;
  221.           ^
  222. code/expected.out/search_filters.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/boolean_filters.rst): Exit status 32512, expected 0
  223. --- tmp.out 2017-08-21 10:40:15.738824262 +0530
  224. +++ code/expected.out/search_filters.out    2017-08-10 14:41:44.689029766 +0530
  225. @@ -1 +1,9 @@
  226. -sh: 2: code/c++/built/search_filters: not found
  227. +1: #012 Assembled and unassembled EXA electric clock kit
  228. +2: #098 'Pond' electric clock movement (no dial)
  229. +3: #052 Reconstruction of Dondi's Astronomical Clock, 1974
  230. +4: #059 Electrically operated clock controller
  231. +5: #024 Regulator Clock with Gravity Escapement
  232. +6: #097 Bain's subsidiary electric clock
  233. +7: #009 Copy  of a Dwerrihouse skeleton clock with coup-perdu escape
  234. +8: #091 Pendulum clock designed by Galileo in 1642 and made by his son in 1649, model.
  235. +'clock'[0:10] = 12 98 52 59 24 97 9 91
  236. $ 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`
  237. code/c++/built/search_filters db clock 'steel (metal)' > tmp.out 2> tmp2.out
  238. $ cat tmp2.out >> tmp.out
  239. $ vimdiff tmp.out code/expected.out/search_filters.out
  240. In file included from /usr/include/c++/5/unordered_set:35:0,
  241.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  242.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  243.                  from code/c++/search_filters2.cc:1:
  244. /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.
  245.  #error This file requires compiler and library support \
  246.   ^
  247. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  248.                  from code/c++/search_filters2.cc:1:
  249. /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
  250.      std::unordered_set<std::string> stop_words;
  251.           ^
  252. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  253. /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'
  254.      SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  255.                                                    ^
  256. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  257. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  258.      void add(const std::string & word) { stop_words.insert(word); }
  259.                                           ^
  260. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  261. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  262.   return stop_words.find(term) != stop_words.end();
  263.          ^
  264. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  265.                  from code/c++/search_filters2.cc:1:
  266. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  267. /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
  268.      std::unordered_map<std::string, doccount> termfreq;
  269.           ^
  270. /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
  271.      std::unordered_map<std::string, double> weights;
  272.           ^
  273. In file included from /usr/include/c++/5/unordered_set:35:0,
  274.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  275.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  276.                  from code/c++/support.cc:1:
  277. /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.
  278.  #error This file requires compiler and library support \
  279.   ^
  280. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  281.                  from code/c++/support.cc:1:
  282. /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
  283.      std::unordered_set<std::string> stop_words;
  284.           ^
  285. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  286. /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'
  287.      SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  288.                                                    ^
  289. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  290. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  291.      void add(const std::string & word) { stop_words.insert(word); }
  292.                                           ^
  293. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  294. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  295.   return stop_words.find(term) != stop_words.end();
  296.          ^
  297. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  298.                  from code/c++/support.cc:1:
  299. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  300. /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
  301.      std::unordered_map<std::string, doccount> termfreq;
  302.           ^
  303. /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
  304.      std::unordered_map<std::string, double> weights;
  305.           ^
  306. code/expected.out/search_filters2.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/boolean_filters.rst): Exit status 32512, expected 0
  307. --- tmp.out 2017-08-21 10:40:16.238814283 +0530
  308. +++ code/expected.out/search_filters2.out   2017-08-10 14:41:44.689029766 +0530
  309. @@ -1 +1,9 @@
  310. -sh: 2: code/c++/built/search_filters2: not found
  311. +1: #012 Assembled and unassembled EXA electric clock kit
  312. +2: #098 'Pond' electric clock movement (no dial)
  313. +3: #052 Reconstruction of Dondi's Astronomical Clock, 1974
  314. +4: #059 Electrically operated clock controller
  315. +5: #024 Regulator Clock with Gravity Escapement
  316. +6: #097 Bain's subsidiary electric clock
  317. +7: #009 Copy  of a Dwerrihouse skeleton clock with coup-perdu escape
  318. +8: #091 Pendulum clock designed by Galileo in 1642 and made by his son in 1649, model.
  319. +'clock material:"steel (metal)"'[0:10] = 12 98 52 59 24 97 9 91
  320. $ 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`
  321. code/c++/built/search_filters2 db 'clock material:"steel (metal)"' > tmp.out 2> tmp2.out
  322. $ cat tmp2.out >> tmp.out
  323. $ vimdiff tmp.out code/expected.out/search_filters2.out
  324. In file included from /usr/include/c++/5/unordered_set:35:0,
  325.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  326.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  327.                  from code/c++/index_facets.cc:1:
  328. /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.
  329.  #error This file requires compiler and library support \
  330.   ^
  331. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  332.                  from code/c++/index_facets.cc:1:
  333. /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
  334.      std::unordered_set<std::string> stop_words;
  335.           ^
  336. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  337. /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'
  338.      SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  339.                                                    ^
  340. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  341. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  342.      void add(const std::string & word) { stop_words.insert(word); }
  343.                                           ^
  344. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  345. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  346.   return stop_words.find(term) != stop_words.end();
  347.          ^
  348. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  349.                  from code/c++/index_facets.cc:1:
  350. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  351. /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
  352.      std::unordered_map<std::string, doccount> termfreq;
  353.           ^
  354. /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
  355.      std::unordered_map<std::string, double> weights;
  356.           ^
  357. In file included from /usr/include/c++/5/unordered_set:35:0,
  358.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  359.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  360.                  from code/c++/support.cc:1:
  361. /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.
  362.  #error This file requires compiler and library support \
  363.   ^
  364. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  365.                  from code/c++/support.cc:1:
  366. /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
  367.      std::unordered_set<std::string> stop_words;
  368.           ^
  369. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  370. /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'
  371.      SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  372.                                                    ^
  373. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  374. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  375.      void add(const std::string & word) { stop_words.insert(word); }
  376.                                           ^
  377. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  378. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  379.   return stop_words.find(term) != stop_words.end();
  380.          ^
  381. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  382.                  from code/c++/support.cc:1:
  383. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  384. /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
  385.      std::unordered_map<std::string, doccount> termfreq;
  386.           ^
  387. /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
  388.      std::unordered_map<std::string, double> weights;
  389.           ^
  390. code/expected.out/index_facets.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/facets.rst): Exit status 32512, expected 0
  391. --- tmp.out 2017-08-21 10:40:16.774803596 +0530
  392. +++ code/expected.out/index_facets.out  2017-08-10 14:41:44.689029766 +0530
  393. @@ -1 +0,0 @@
  394. -sh: 2: code/c++/built/index_facets: not found
  395. $ 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`
  396. code/c++/built/index_facets data/100-objects-v1.csv db > tmp.out 2> tmp2.out
  397. $ cat tmp2.out >> tmp.out
  398. $ vimdiff tmp.out code/expected.out/index_facets.out
  399. In file included from /usr/include/c++/5/unordered_set:35:0,
  400.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  401.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  402.                  from code/c++/search_facets.cc:1:
  403. /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.
  404.  #error This file requires compiler and library support \
  405.   ^
  406. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  407.                  from code/c++/search_facets.cc:1:
  408. /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
  409.      std::unordered_set<std::string> stop_words;
  410.           ^
  411. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  412. /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'
  413.      SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  414.                                                    ^
  415. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  416. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  417.      void add(const std::string & word) { stop_words.insert(word); }
  418.                                           ^
  419. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  420. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  421.   return stop_words.find(term) != stop_words.end();
  422.          ^
  423. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  424.                  from code/c++/search_facets.cc:1:
  425. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  426. /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
  427.      std::unordered_map<std::string, doccount> termfreq;
  428.           ^
  429. /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
  430.      std::unordered_map<std::string, double> weights;
  431.           ^
  432. In file included from /usr/include/c++/5/unordered_set:35:0,
  433.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  434.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  435.                  from code/c++/support.cc:1:
  436. /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.
  437.  #error This file requires compiler and library support \
  438.   ^
  439. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  440.                  from code/c++/support.cc:1:
  441. /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
  442.      std::unordered_set<std::string> stop_words;
  443.           ^
  444. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  445. /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'
  446.      SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  447.                                                    ^
  448. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  449. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  450.      void add(const std::string & word) { stop_words.insert(word); }
  451.                                           ^
  452. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  453. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  454.   return stop_words.find(term) != stop_words.end();
  455.          ^
  456. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  457.                  from code/c++/support.cc:1:
  458. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  459. /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
  460.      std::unordered_map<std::string, doccount> termfreq;
  461.           ^
  462. /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
  463.      std::unordered_map<std::string, double> weights;
  464.           ^
  465. code/expected.out/search_facets.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/facets.rst): Exit status 32512, expected 0
  466. --- tmp.out 2017-08-21 10:40:17.282793478 +0530
  467. +++ code/expected.out/search_facets.out 2017-08-10 14:41:44.689029766 +0530
  468. @@ -1 +1,33 @@
  469. -sh: 2: code/c++/built/search_facets: not found
  470. +1: #044 Two-dial clock by the Self-Winding Clock Co; as used on the
  471. +2: #096 Clock with Hipp pendulum (an electric driven clock with Hipp
  472. +3: #012 Assembled and unassembled EXA electric clock kit
  473. +4: #098 'Pond' electric clock movement (no dial)
  474. +5: #083 Harrison's eight-day wooden clock movement, 1715.
  475. +6: #005 "Ever Ready" ceiling clock
  476. +7: #039 Electric clock of the Bain type
  477. +8: #061 Van der Plancke master clock
  478. +9: #064 Morse electrical clock, dial mechanism
  479. +10: #052 Reconstruction of Dondi's Astronomical Clock, 1974
  480. +Facet: Bain, Alexander; count: 3
  481. +Facet: Bloxam, J. M.; count: 1
  482. +Facet: Braun (maker); count: 1
  483. +Facet: British Horo-Electric Ltd. (maker); count: 1
  484. +Facet: British Vacuum Cleaner and Engineering Co. Ltd., Magneto Time division (maker); count: 1
  485. +Facet: EXA; count: 1
  486. +Facet: Ever Ready Co. (maker); count: 2
  487. +Facet: Ferranti Ltd.; count: 1
  488. +Facet: Galilei, Galileo, 1564-1642; Galilei, Vincenzio, 1606-1649; count: 1
  489. +Facet: Harrison, John (maker); count: 1
  490. +Facet: Hipp, M.; count: 1
  491. +Facet: La Précision Cie; count: 1
  492. +Facet: Lund, J.; count: 1
  493. +Facet: Morse, J. S.; count: 1
  494. +Facet: Self Winding Clock Company; count: 1
  495. +Facet: Self-Winding Clock Co. (maker); count: 1
  496. +Facet: Synchronome Co. Ltd. (maker); count: 2
  497. +Facet: Thwaites and Reed Ltd.; count: 1
  498. +Facet: Thwaites and Reed Ltd. (maker); count: 1
  499. +Facet: Viviani, Vincenzo; count: 1
  500. +Facet: Vulliamy, Benjamin, 1747-1811; count: 1
  501. +Facet: Whitefriars Glass Ltd. (maker); count: 1
  502. +'clock'[0:10] = 44 96 12 98 83 5 39 61 64 52
  503. $ 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`
  504. code/c++/built/search_facets db clock > tmp.out 2> tmp2.out
  505. $ cat tmp2.out >> tmp.out
  506. $ vimdiff tmp.out code/expected.out/search_facets.out
  507. In file included from /usr/include/c++/5/unordered_set:35:0,
  508.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  509.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  510.                  from code/c++/index_ranges.cc:1:
  511. /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.
  512.  #error This file requires compiler and library support \
  513.   ^
  514. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  515.                  from code/c++/index_ranges.cc:1:
  516. /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
  517.      std::unordered_set<std::string> stop_words;
  518.           ^
  519. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  520. /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'
  521.      SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  522.                                                    ^
  523. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  524. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  525.      void add(const std::string & word) { stop_words.insert(word); }
  526.                                           ^
  527. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  528. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  529.   return stop_words.find(term) != stop_words.end();
  530.          ^
  531. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  532.                  from code/c++/index_ranges.cc:1:
  533. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  534. /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
  535.      std::unordered_map<std::string, doccount> termfreq;
  536.           ^
  537. /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
  538.      std::unordered_map<std::string, double> weights;
  539.           ^
  540. In file included from /usr/include/c++/5/unordered_set:35:0,
  541.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  542.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  543.                  from code/c++/support.cc:1:
  544. /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.
  545.  #error This file requires compiler and library support \
  546.   ^
  547. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  548.                  from code/c++/support.cc:1:
  549. /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
  550.      std::unordered_set<std::string> stop_words;
  551.           ^
  552. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  553. /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'
  554.      SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  555.                                                    ^
  556. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  557. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  558.      void add(const std::string & word) { stop_words.insert(word); }
  559.                                           ^
  560. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  561. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  562.   return stop_words.find(term) != stop_words.end();
  563.          ^
  564. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  565.                  from code/c++/support.cc:1:
  566. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  567. /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
  568.      std::unordered_map<std::string, doccount> termfreq;
  569.           ^
  570. /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
  571.      std::unordered_map<std::string, double> weights;
  572.           ^
  573. code/expected.out/index_ranges.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
  574. --- tmp.out 2017-08-21 10:40:17.822782733 +0530
  575. +++ code/expected.out/index_ranges.out  2017-08-10 14:41:44.689029766 +0530
  576. @@ -1 +0,0 @@
  577. -sh: 2: code/c++/built/index_ranges: not found
  578. $ 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`
  579. code/c++/built/index_ranges data/100-objects-v1.csv db > tmp.out 2> tmp2.out
  580. $ cat tmp2.out >> tmp.out
  581. $ vimdiff tmp.out code/expected.out/index_ranges.out
  582. In file included from /usr/include/c++/5/unordered_set:35:0,
  583.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  584.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  585.                  from code/c++/search_ranges.cc:1:
  586. /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.
  587.  #error This file requires compiler and library support \
  588.   ^
  589. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  590.                  from code/c++/search_ranges.cc:1:
  591. /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
  592.      std::unordered_set<std::string> stop_words;
  593.           ^
  594. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  595. /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'
  596.      SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  597.                                                    ^
  598. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  599. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  600.      void add(const std::string & word) { stop_words.insert(word); }
  601.                                           ^
  602. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  603. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  604.   return stop_words.find(term) != stop_words.end();
  605.          ^
  606. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  607.                  from code/c++/search_ranges.cc:1:
  608. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  609. /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
  610.      std::unordered_map<std::string, doccount> termfreq;
  611.           ^
  612. /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
  613.      std::unordered_map<std::string, double> weights;
  614.           ^
  615. In file included from /usr/include/c++/5/unordered_set:35:0,
  616.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  617.                  from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  618.                  from code/c++/support.cc:1:
  619. /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.
  620.  #error This file requires compiler and library support \
  621.   ^
  622. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  623.                  from code/c++/support.cc:1:
  624. /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
  625.      std::unordered_set<std::string> stop_words;
  626.           ^
  627. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  628. /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'
  629.      SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  630.                                                    ^
  631. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  632. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  633.      void add(const std::string & word) { stop_words.insert(word); }
  634.                                           ^
  635. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  636. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  637.   return stop_words.find(term) != stop_words.end();
  638.          ^
  639. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  640.                  from code/c++/support.cc:1:
  641. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  642. /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
  643.      std::unordered_map<std::string, doccount> termfreq;
  644.           ^
  645. /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
  646.      std::unordered_map<std::string, double> weights;
  647.           ^
  648. code/expected.out/search_ranges.db_..50mm.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
  649. --- tmp.out 2017-08-21 10:40:18.322772796 +0530
  650. +++ code/expected.out/search_ranges.db_..50mm.out   2017-08-10 14:41:44.689029766 +0530
  651. @@ -1 +1,7 @@
  652. -sh: 2: code/c++/built/search_ranges: not found
  653. +1: #031 (1588) overall diameter: 50 mm
  654. +        Portable universal equinoctial sundial, in brass, signed "A
  655. +2: #073 (1701-1721) overall: 15 mm x 44.45 mm, weight: 0.055kg
  656. +        Universal pocket sundial
  657. +3: #074 (1596) overall: 13 mm x 44.45 mm x 44.45 mm, weight: 0.095kg
  658. +        Sundial, made as a locket, gilt metal, part silver
  659. +'..50mm'[0:10] = 31 73 74
  660. $ 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`
  661. code/c++/built/search_ranges db ..50mm > tmp.out 2> tmp2.out
  662. $ cat tmp2.out >> tmp.out
  663. $ vimdiff tmp.out code/expected.out/search_ranges.db_..50mm.out
  664. In file included from /usr/include/c++/5/unordered_set:35:0,
  665.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  666.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  667.                 from code/c++/search_ranges.cc:1:
  668. /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.
  669. #error This file requires compiler and library support \
  670.  ^
  671. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  672.                 from code/c++/search_ranges.cc:1:
  673. /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
  674.     std::unordered_set<std::string> stop_words;
  675.          ^
  676. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  677. /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'
  678.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  679.                                                   ^
  680. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  681. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  682.     void add(const std::string & word) { stop_words.insert(word); }
  683.                                          ^
  684. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  685. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  686.  return stop_words.find(term) != stop_words.end();
  687.         ^
  688. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  689.                 from code/c++/search_ranges.cc:1:
  690. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  691. /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
  692.     std::unordered_map<std::string, doccount> termfreq;
  693.          ^
  694. /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
  695.     std::unordered_map<std::string, double> weights;
  696.          ^
  697. In file included from /usr/include/c++/5/unordered_set:35:0,
  698.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  699.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  700.                 from code/c++/support.cc:1:
  701. /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.
  702. #error This file requires compiler and library support \
  703.  ^
  704. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  705.                 from code/c++/support.cc:1:
  706. /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
  707.     std::unordered_set<std::string> stop_words;
  708.          ^
  709. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  710. /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'
  711.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  712.                                                   ^
  713. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  714. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  715.     void add(const std::string & word) { stop_words.insert(word); }
  716.                                          ^
  717. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  718. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  719.  return stop_words.find(term) != stop_words.end();
  720.         ^
  721. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  722.                 from code/c++/support.cc:1:
  723. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  724. /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
  725.     std::unordered_map<std::string, doccount> termfreq;
  726.          ^
  727. /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
  728.     std::unordered_map<std::string, double> weights;
  729.          ^
  730. code/expected.out/search_ranges.db_1980..1989.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
  731. --- tmp.out 2017-08-21 10:40:18.830762707 +0530
  732. +++ code/expected.out/search_ranges.db_1980..1989.out   2017-08-10 14:41:44.689029766 +0530
  733. @@ -1 +1,5 @@
  734. -sh: 2: code/c++/built/search_ranges: not found
  735. +1: #050 (1984) overall: 105 mm x 75 mm x 57 mm,
  736. +        Quartz Analogue "no battery" wristwatch by Pulsar Quartz (CA
  737. +2: #051 (1984) overall: 85 mm x 65 mm x 38 mm,
  738. +        Analogue quartz clock with voice controlled alarm by Braun,
  739. +'1980..1989'[0:10] = 50 51
  740. $ 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`
  741. code/c++/built/search_ranges db 1980..1989 > tmp.out 2> tmp2.out
  742. $ cat tmp2.out >> tmp.out
  743. $ vimdiff tmp.out code/expected.out/search_ranges.db_1980..1989.out
  744. In file included from /usr/include/c++/5/unordered_set:35:0,
  745.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  746.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  747.                 from code/c++/search_ranges.cc:1:
  748. /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.
  749. #error This file requires compiler and library support \
  750.  ^
  751. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  752.                 from code/c++/search_ranges.cc:1:
  753. /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
  754.     std::unordered_set<std::string> stop_words;
  755.          ^
  756. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  757. /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'
  758.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  759.                                                   ^
  760. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  761. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  762.     void add(const std::string & word) { stop_words.insert(word); }
  763.                                          ^
  764. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  765. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  766.  return stop_words.find(term) != stop_words.end();
  767.         ^
  768. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  769.                 from code/c++/search_ranges.cc:1:
  770. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  771. /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
  772.     std::unordered_map<std::string, doccount> termfreq;
  773.          ^
  774. /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
  775.     std::unordered_map<std::string, double> weights;
  776.          ^
  777. In file included from /usr/include/c++/5/unordered_set:35:0,
  778.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  779.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  780.                 from code/c++/support.cc:1:
  781. /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.
  782. #error This file requires compiler and library support \
  783.  ^
  784. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  785.                 from code/c++/support.cc:1:
  786. /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
  787.     std::unordered_set<std::string> stop_words;
  788.          ^
  789. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  790. /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'
  791.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  792.                                                   ^
  793. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  794. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  795.     void add(const std::string & word) { stop_words.insert(word); }
  796.                                          ^
  797. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  798. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  799.  return stop_words.find(term) != stop_words.end();
  800.         ^
  801. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  802.                 from code/c++/support.cc:1:
  803. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  804. /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
  805.     std::unordered_map<std::string, doccount> termfreq;
  806.          ^
  807. /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
  808.     std::unordered_map<std::string, double> weights;
  809.          ^
  810. code/expected.out/search_ranges.db_clock_1960...out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
  811. --- tmp.out 2017-08-21 10:40:19.322752947 +0530
  812. +++ code/expected.out/search_ranges.db_clock_1960...out 2017-08-10 14:41:44.689029766 +0530
  813. @@ -1 +1,7 @@
  814. -sh: 2: code/c++/built/search_ranges: not found
  815. +1: #052 (1974) clock: 1185 x 780 mm, 122 kg; rewind unit: 460 x 640 x 350 mm
  816. +        Reconstruction of Dondi's Astronomical Clock, 1974
  817. +2: #051 (1984) overall: 85 mm x 65 mm x 38 mm,
  818. +        Analogue quartz clock with voice controlled alarm by Braun,
  819. +3: #009 (1973) overall: 380 mm x 300 mm x 192 mm, weight: 6.45kg
  820. +        Copy  of a Dwerrihouse skeleton clock with coup-perdu escape
  821. +'clock 1960..'[0:10] = 52 51 9
  822. $ 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`
  823. code/c++/built/search_ranges db clock 1960.. > tmp.out 2> tmp2.out
  824. $ cat tmp2.out >> tmp.out
  825. $ vimdiff tmp.out code/expected.out/search_ranges.db_clock_1960...out
  826. In file included from /usr/include/c++/5/unordered_set:35:0,
  827.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  828.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  829.                 from code/c++/search_ranges.cc:1:
  830. /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.
  831. #error This file requires compiler and library support \
  832.  ^
  833. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  834.                 from code/c++/search_ranges.cc:1:
  835. /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
  836.     std::unordered_set<std::string> stop_words;
  837.          ^
  838. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  839. /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'
  840.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  841.                                                   ^
  842. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  843. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  844.     void add(const std::string & word) { stop_words.insert(word); }
  845.                                          ^
  846. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  847. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  848.  return stop_words.find(term) != stop_words.end();
  849.         ^
  850. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  851.                 from code/c++/search_ranges.cc:1:
  852. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  853. /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
  854.     std::unordered_map<std::string, doccount> termfreq;
  855.          ^
  856. /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
  857.     std::unordered_map<std::string, double> weights;
  858.          ^
  859. In file included from /usr/include/c++/5/unordered_set:35:0,
  860.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  861.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  862.                 from code/c++/support.cc:1:
  863. /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.
  864. #error This file requires compiler and library support \
  865.  ^
  866. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  867.                 from code/c++/support.cc:1:
  868. /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
  869.     std::unordered_set<std::string> stop_words;
  870.          ^
  871. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  872. /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'
  873.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  874.                                                   ^
  875. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  876. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  877.     void add(const std::string & word) { stop_words.insert(word); }
  878.                                          ^
  879. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  880. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  881.  return stop_words.find(term) != stop_words.end();
  882.         ^
  883. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  884.                 from code/c++/support.cc:1:
  885. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  886. /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
  887.     std::unordered_map<std::string, doccount> termfreq;
  888.          ^
  889. /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
  890.     std::unordered_map<std::string, double> weights;
  891.          ^
  892. 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
  893. --- tmp.out 2017-08-21 10:40:19.826742957 +0530
  894. +++ code/expected.out/search_ranges.db_1000..mm_1800..1899.out  2017-08-10 14:41:44.689029766 +0530
  895. @@ -1 +1,3 @@
  896. -sh: 2: code/c++/built/search_ranges: not found
  897. +1: #024 (1845-1855) overall: 1850 mm x 350 mm x 250 mm
  898. +        Regulator Clock with Gravity Escapement
  899. +'1000..mm 1800..1899'[0:10] = 24
  900. $ 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`
  901. code/c++/built/search_ranges db 1000..mm 1800..1899 > tmp.out 2> tmp2.out
  902. $ cat tmp2.out >> tmp.out
  903. $ vimdiff tmp.out code/expected.out/search_ranges.db_1000..mm_1800..1899.out
  904. In file included from /usr/include/c++/5/unordered_set:35:0,
  905.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  906.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  907.                 from code/c++/index_ranges2.cc:1:
  908. /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.
  909. #error This file requires compiler and library support \
  910.  ^
  911. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  912.                 from code/c++/index_ranges2.cc:1:
  913. /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
  914.     std::unordered_set<std::string> stop_words;
  915.          ^
  916. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  917. /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'
  918.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  919.                                                   ^
  920. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  921. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  922.     void add(const std::string & word) { stop_words.insert(word); }
  923.                                          ^
  924. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  925. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  926.  return stop_words.find(term) != stop_words.end();
  927.         ^
  928. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  929.                 from code/c++/index_ranges2.cc:1:
  930. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  931. /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
  932.     std::unordered_map<std::string, doccount> termfreq;
  933.          ^
  934. /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
  935.     std::unordered_map<std::string, double> weights;
  936.          ^
  937. In file included from /usr/include/c++/5/unordered_set:35:0,
  938.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  939.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  940.                 from code/c++/support.cc:1:
  941. /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.
  942. #error This file requires compiler and library support \
  943.  ^
  944. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  945.                 from code/c++/support.cc:1:
  946. /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
  947.     std::unordered_set<std::string> stop_words;
  948.          ^
  949. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  950. /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'
  951.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  952.                                                   ^
  953. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  954. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  955.     void add(const std::string & word) { stop_words.insert(word); }
  956.                                          ^
  957. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  958. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  959.  return stop_words.find(term) != stop_words.end();
  960.         ^
  961. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  962.                 from code/c++/support.cc:1:
  963. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  964. /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
  965.     std::unordered_map<std::string, doccount> termfreq;
  966.          ^
  967. /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
  968.     std::unordered_map<std::string, double> weights;
  969.          ^
  970. code/expected.out/index_ranges2.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
  971. --- tmp.out 2017-08-21 10:40:20.338732819 +0530
  972. +++ code/expected.out/index_ranges2.out 2017-08-10 14:41:44.689029766 +0530
  973. @@ -1 +0,0 @@
  974. -sh: 2: code/c++/built/index_ranges2: not found
  975. $ 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`
  976. code/c++/built/index_ranges2 data/states.csv statesdb > tmp.out 2> tmp2.out
  977. $ cat tmp2.out >> tmp.out
  978. $ vimdiff tmp.out code/expected.out/index_ranges2.out
  979. In file included from /usr/include/c++/5/unordered_set:35:0,
  980.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  981.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  982.                 from code/c++/search_ranges2.cc:1:
  983. /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.
  984. #error This file requires compiler and library support \
  985.  ^
  986. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  987.                 from code/c++/search_ranges2.cc:1:
  988. /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
  989.     std::unordered_set<std::string> stop_words;
  990.          ^
  991. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  992. /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'
  993.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  994.                                                   ^
  995. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  996. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  997.     void add(const std::string & word) { stop_words.insert(word); }
  998.                                          ^
  999. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1000. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1001.  return stop_words.find(term) != stop_words.end();
  1002.         ^
  1003. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1004.                 from code/c++/search_ranges2.cc:1:
  1005. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1006. /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
  1007.     std::unordered_map<std::string, doccount> termfreq;
  1008.          ^
  1009. /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
  1010.     std::unordered_map<std::string, double> weights;
  1011.          ^
  1012. In file included from /usr/include/c++/5/unordered_set:35:0,
  1013.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1014.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1015.                 from code/c++/support.cc:1:
  1016. /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.
  1017. #error This file requires compiler and library support \
  1018.  ^
  1019. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1020.                 from code/c++/support.cc:1:
  1021. /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
  1022.     std::unordered_set<std::string> stop_words;
  1023.          ^
  1024. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1025. /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'
  1026.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1027.                                                   ^
  1028. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1029. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1030.     void add(const std::string & word) { stop_words.insert(word); }
  1031.                                          ^
  1032. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1033. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1034.  return stop_words.find(term) != stop_words.end();
  1035.         ^
  1036. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1037.                 from code/c++/support.cc:1:
  1038. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1039. /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
  1040.     std::unordered_map<std::string, doccount> termfreq;
  1041.          ^
  1042. /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
  1043.     std::unordered_map<std::string, double> weights;
  1044.          ^
  1045. code/expected.out/search_ranges2.statesdb_spanish.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
  1046. --- tmp.out 2017-08-21 10:40:20.846722769 +0530
  1047. +++ code/expected.out/search_ranges2.statesdb_spanish.out   2017-08-10 14:41:44.689029766 +0530
  1048. @@ -1 +1,5 @@
  1049. -sh: 2: code/c++/built/search_ranges2: not found
  1050. +1: #004 State of Montana November 8, 1889
  1051. +        Population 989,415
  1052. +2: #019 State of Texas December 29, 1845
  1053. +        Population 25,145,561
  1054. +'spanish'[0:10] = 4 19
  1055. $ 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`
  1056. code/c++/built/search_ranges2 statesdb spanish > tmp.out 2> tmp2.out
  1057. $ cat tmp2.out >> tmp.out
  1058. $ vimdiff tmp.out code/expected.out/search_ranges2.statesdb_spanish.out
  1059. In file included from /usr/include/c++/5/unordered_set:35:0,
  1060.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1061.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1062.                 from code/c++/search_ranges2.cc:1:
  1063. /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.
  1064. #error This file requires compiler and library support \
  1065.  ^
  1066. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1067.                 from code/c++/search_ranges2.cc:1:
  1068. /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
  1069.     std::unordered_set<std::string> stop_words;
  1070.          ^
  1071. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1072. /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'
  1073.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1074.                                                   ^
  1075. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1076. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1077.     void add(const std::string & word) { stop_words.insert(word); }
  1078.                                          ^
  1079. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1080. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1081.  return stop_words.find(term) != stop_words.end();
  1082.         ^
  1083. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1084.                 from code/c++/search_ranges2.cc:1:
  1085. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1086. /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
  1087.     std::unordered_map<std::string, doccount> termfreq;
  1088.          ^
  1089. /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
  1090.     std::unordered_map<std::string, double> weights;
  1091.          ^
  1092. In file included from /usr/include/c++/5/unordered_set:35:0,
  1093.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1094.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1095.                 from code/c++/support.cc:1:
  1096. /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.
  1097. #error This file requires compiler and library support \
  1098.  ^
  1099. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1100.                 from code/c++/support.cc:1:
  1101. /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
  1102.     std::unordered_set<std::string> stop_words;
  1103.          ^
  1104. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1105. /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'
  1106.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1107.                                                   ^
  1108. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1109. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1110.     void add(const std::string & word) { stop_words.insert(word); }
  1111.                                          ^
  1112. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1113. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1114.  return stop_words.find(term) != stop_words.end();
  1115.         ^
  1116. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1117.                 from code/c++/support.cc:1:
  1118. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1119. /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
  1120.     std::unordered_map<std::string, doccount> termfreq;
  1121.          ^
  1122. /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
  1123.     std::unordered_map<std::string, double> weights;
  1124.          ^
  1125. code/expected.out/search_ranges2.statesdb_1800..1899.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
  1126. --- tmp.out 2017-08-21 10:40:21.350712810 +0530
  1127. +++ code/expected.out/search_ranges2.statesdb_1800..1899.out    2017-08-10 14:41:44.689029766 +0530
  1128. @@ -1 +1,21 @@
  1129. -sh: 2: code/c++/built/search_ranges2: not found
  1130. +1: #001 State of Washington November 11, 1889
  1131. +        Population 6,744,496
  1132. +2: #002 State of Arkansas June 15, 1836
  1133. +        Population 2,915,918
  1134. +3: #003 State of Oregon February 14, 1859
  1135. +        Population 3,831,074
  1136. +4: #004 State of Montana November 8, 1889
  1137. +        Population 989,415
  1138. +5: #005 Idaho July 3, 1890
  1139. +        Population 1,567,582
  1140. +6: #006 State of Nevada October 31, 1864
  1141. +        Population 2,700,551
  1142. +7: #007 State of California September 9, 1850
  1143. +        Population 37,253,956
  1144. +8: #009 State of Utah January 4, 1896
  1145. +        Population 2,763,885
  1146. +9: #010 State of Wyoming July 10, 1890
  1147. +        Population 563,626
  1148. +10: #011 State of Colorado August 1, 1876
  1149. +        Population 5,029,196
  1150. +'1800..1899'[0:10] = 1 2 3 4 5 6 7 9 10 11
  1151. $ 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`
  1152. code/c++/built/search_ranges2 statesdb 1800..1899 > tmp.out 2> tmp2.out
  1153. $ cat tmp2.out >> tmp.out
  1154. $ vimdiff tmp.out code/expected.out/search_ranges2.statesdb_1800..1899.out
  1155. In file included from /usr/include/c++/5/unordered_set:35:0,
  1156.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1157.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1158.                 from code/c++/search_ranges2.cc:1:
  1159. /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.
  1160. #error This file requires compiler and library support \
  1161.  ^
  1162. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1163.                 from code/c++/search_ranges2.cc:1:
  1164. /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
  1165.     std::unordered_set<std::string> stop_words;
  1166.          ^
  1167. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1168. /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'
  1169.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1170.                                                   ^
  1171. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1172. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1173.     void add(const std::string & word) { stop_words.insert(word); }
  1174.                                          ^
  1175. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1176. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1177.  return stop_words.find(term) != stop_words.end();
  1178.         ^
  1179. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1180.                 from code/c++/search_ranges2.cc:1:
  1181. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1182. /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
  1183.     std::unordered_map<std::string, doccount> termfreq;
  1184.          ^
  1185. /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
  1186.     std::unordered_map<std::string, double> weights;
  1187.          ^
  1188. In file included from /usr/include/c++/5/unordered_set:35:0,
  1189.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1190.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1191.                 from code/c++/support.cc:1:
  1192. /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.
  1193. #error This file requires compiler and library support \
  1194.  ^
  1195. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1196.                 from code/c++/support.cc:1:
  1197. /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
  1198.     std::unordered_set<std::string> stop_words;
  1199.          ^
  1200. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1201. /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'
  1202.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1203.                                                   ^
  1204. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1205. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1206.     void add(const std::string & word) { stop_words.insert(word); }
  1207.                                          ^
  1208. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1209. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1210.  return stop_words.find(term) != stop_words.end();
  1211.         ^
  1212. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1213.                 from code/c++/support.cc:1:
  1214. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1215. /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
  1216.     std::unordered_map<std::string, doccount> termfreq;
  1217.          ^
  1218. /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
  1219.     std::unordered_map<std::string, double> weights;
  1220.          ^
  1221. 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
  1222. --- tmp.out 2017-08-21 10:40:21.854702857 +0530
  1223. +++ code/expected.out/search_ranges2.statesdb_11=2f08=2f1889..07=2f10=2f1890.out    2017-08-10 14:41:44.689029766 +0530
  1224. @@ -1 +1,9 @@
  1225. -sh: 2: code/c++/built/search_ranges2: not found
  1226. +1: #001 State of Washington November 11, 1889
  1227. +        Population 6,744,496
  1228. +2: #004 State of Montana November 8, 1889
  1229. +        Population 989,415
  1230. +3: #005 Idaho July 3, 1890
  1231. +        Population 1,567,582
  1232. +4: #010 State of Wyoming July 10, 1890
  1233. +        Population 563,626
  1234. +'11/08/1889..07/10/1890'[0:10] = 1 4 5 10
  1235. $ 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`
  1236. code/c++/built/search_ranges2 statesdb 11/08/1889..07/10/1890 > tmp.out 2> tmp2.out
  1237. $ cat tmp2.out >> tmp.out
  1238. $ vimdiff tmp.out code/expected.out/search_ranges2.statesdb_11=2f08=2f1889..07=2f10=2f1890.out
  1239. In file included from /usr/include/c++/5/unordered_set:35:0,
  1240.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1241.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1242.                 from code/c++/search_ranges2.cc:1:
  1243. /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.
  1244. #error This file requires compiler and library support \
  1245.  ^
  1246. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1247.                 from code/c++/search_ranges2.cc:1:
  1248. /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
  1249.     std::unordered_set<std::string> stop_words;
  1250.          ^
  1251. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1252. /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'
  1253.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1254.                                                   ^
  1255. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1256. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1257.     void add(const std::string & word) { stop_words.insert(word); }
  1258.                                          ^
  1259. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1260. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1261.  return stop_words.find(term) != stop_words.end();
  1262.         ^
  1263. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1264.                 from code/c++/search_ranges2.cc:1:
  1265. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1266. /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
  1267.     std::unordered_map<std::string, doccount> termfreq;
  1268.          ^
  1269. /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
  1270.     std::unordered_map<std::string, double> weights;
  1271.          ^
  1272. In file included from /usr/include/c++/5/unordered_set:35:0,
  1273.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1274.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1275.                 from code/c++/support.cc:1:
  1276. /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.
  1277. #error This file requires compiler and library support \
  1278.  ^
  1279. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1280.                 from code/c++/support.cc:1:
  1281. /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
  1282.     std::unordered_set<std::string> stop_words;
  1283.          ^
  1284. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1285. /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'
  1286.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1287.                                                   ^
  1288. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1289. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1290.     void add(const std::string & word) { stop_words.insert(word); }
  1291.                                          ^
  1292. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1293. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1294.  return stop_words.find(term) != stop_words.end();
  1295.         ^
  1296. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1297.                 from code/c++/support.cc:1:
  1298. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1299. /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
  1300.     std::unordered_map<std::string, doccount> termfreq;
  1301.          ^
  1302. /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
  1303.     std::unordered_map<std::string, double> weights;
  1304.          ^
  1305. code/expected.out/search_ranges2.statesdb_10000000...out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
  1306. --- tmp.out 2017-08-21 10:40:22.362692840 +0530
  1307. +++ code/expected.out/search_ranges2.statesdb_10000000...out    2017-08-10 14:41:44.689029766 +0530
  1308. @@ -1 +1,15 @@
  1309. -sh: 2: code/c++/built/search_ranges2: not found
  1310. +1: #007 State of California September 9, 1850
  1311. +        Population 37,253,956
  1312. +2: #019 State of Texas December 29, 1845
  1313. +        Population 25,145,561
  1314. +3: #027 State of Illinois December 3, 1818
  1315. +        Population 12,830,632
  1316. +4: #030 State of Ohio March 1, 1803
  1317. +        Population 11,536,504
  1318. +5: #035 State of Florida March 3, 1845
  1319. +        Population 18,801,310
  1320. +6: #040 Commonwealth of Pennsylvania December 12, 1787
  1321. +        Population 12,702,379
  1322. +7: #041 State of New York July 26, 1788
  1323. +        Population 19,378,102
  1324. +'10000000..'[0:10] = 7 19 27 30 35 40 41
  1325. $ 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`
  1326. code/c++/built/search_ranges2 statesdb 10000000.. > tmp.out 2> tmp2.out
  1327. $ cat tmp2.out >> tmp.out
  1328. $ vimdiff tmp.out code/expected.out/search_ranges2.statesdb_10000000...out
  1329. In file included from /usr/include/c++/5/unordered_set:35:0,
  1330.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1331.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1332.                 from code/c++/search_ranges2.cc:1:
  1333. /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.
  1334. #error This file requires compiler and library support \
  1335.  ^
  1336. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1337.                 from code/c++/search_ranges2.cc:1:
  1338. /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
  1339.     std::unordered_set<std::string> stop_words;
  1340.          ^
  1341. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1342. /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'
  1343.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1344.                                                   ^
  1345. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1346. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1347.     void add(const std::string & word) { stop_words.insert(word); }
  1348.                                          ^
  1349. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1350. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1351.  return stop_words.find(term) != stop_words.end();
  1352.         ^
  1353. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1354.                 from code/c++/search_ranges2.cc:1:
  1355. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1356. /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
  1357.     std::unordered_map<std::string, doccount> termfreq;
  1358.          ^
  1359. /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
  1360.     std::unordered_map<std::string, double> weights;
  1361.          ^
  1362. In file included from /usr/include/c++/5/unordered_set:35:0,
  1363.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1364.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1365.                 from code/c++/support.cc:1:
  1366. /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.
  1367. #error This file requires compiler and library support \
  1368.  ^
  1369. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1370.                 from code/c++/support.cc:1:
  1371. /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
  1372.     std::unordered_set<std::string> stop_words;
  1373.          ^
  1374. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1375. /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'
  1376.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1377.                                                   ^
  1378. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1379. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1380.     void add(const std::string & word) { stop_words.insert(word); }
  1381.                                          ^
  1382. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1383. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1384.  return stop_words.find(term) != stop_words.end();
  1385.         ^
  1386. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1387.                 from code/c++/support.cc:1:
  1388. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1389. /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
  1390.     std::unordered_map<std::string, doccount> termfreq;
  1391.          ^
  1392. /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
  1393.     std::unordered_map<std::string, double> weights;
  1394.          ^
  1395. 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
  1396. --- tmp.out 2017-08-21 10:40:22.874682749 +0530
  1397. +++ code/expected.out/search_ranges2.statesdb_1780..1789_10000000...out 2017-08-10 14:41:44.689029766 +0530
  1398. @@ -1 +1,5 @@
  1399. -sh: 2: code/c++/built/search_ranges2: not found
  1400. +1: #040 Commonwealth of Pennsylvania December 12, 1787
  1401. +        Population 12,702,379
  1402. +2: #041 State of New York July 26, 1788
  1403. +        Population 19,378,102
  1404. +'1780..1789 10000000..'[0:10] = 40 41
  1405. $ 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`
  1406. code/c++/built/search_ranges2 statesdb 1780..1789 10000000.. > tmp.out 2> tmp2.out
  1407. $ cat tmp2.out >> tmp.out
  1408. $ vimdiff tmp.out code/expected.out/search_ranges2.statesdb_1780..1789_10000000...out
  1409. In file included from /usr/include/c++/5/unordered_set:35:0,
  1410.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1411.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1412.                 from code/c++/index_ranges2.cc:1:
  1413. /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.
  1414. #error This file requires compiler and library support \
  1415.  ^
  1416. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1417.                 from code/c++/index_ranges2.cc:1:
  1418. /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
  1419.     std::unordered_set<std::string> stop_words;
  1420.          ^
  1421. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1422. /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'
  1423.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1424.                                                   ^
  1425. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1426. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1427.     void add(const std::string & word) { stop_words.insert(word); }
  1428.                                          ^
  1429. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1430. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1431.  return stop_words.find(term) != stop_words.end();
  1432.         ^
  1433. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1434.                 from code/c++/index_ranges2.cc:1:
  1435. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1436. /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
  1437.     std::unordered_map<std::string, doccount> termfreq;
  1438.          ^
  1439. /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
  1440.     std::unordered_map<std::string, double> weights;
  1441.          ^
  1442. In file included from /usr/include/c++/5/unordered_set:35:0,
  1443.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1444.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1445.                 from code/c++/support.cc:1:
  1446. /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.
  1447. #error This file requires compiler and library support \
  1448.  ^
  1449. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1450.                 from code/c++/support.cc:1:
  1451. /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
  1452.     std::unordered_set<std::string> stop_words;
  1453.          ^
  1454. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1455. /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'
  1456.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1457.                                                   ^
  1458. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1459. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1460.     void add(const std::string & word) { stop_words.insert(word); }
  1461.                                          ^
  1462. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1463. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1464.  return stop_words.find(term) != stop_words.end();
  1465.         ^
  1466. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1467.                 from code/c++/support.cc:1:
  1468. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1469. /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
  1470.     std::unordered_map<std::string, doccount> termfreq;
  1471.          ^
  1472. /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
  1473.     std::unordered_map<std::string, double> weights;
  1474.          ^
  1475. code/expected.out/index_ranges2.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/sorting.rst): Exit status 32512, expected 0
  1476. --- tmp.out 2017-08-21 10:40:23.410672200 +0530
  1477. +++ code/expected.out/index_ranges2.out 2017-08-10 14:41:44.689029766 +0530
  1478. @@ -1 +0,0 @@
  1479. -sh: 2: code/c++/built/index_ranges2: not found
  1480. $ 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`
  1481. code/c++/built/index_ranges2 data/states.csv statesdb > tmp.out 2> tmp2.out
  1482. $ cat tmp2.out >> tmp.out
  1483. $ vimdiff tmp.out code/expected.out/index_ranges2.out
  1484. In file included from /usr/include/c++/5/unordered_set:35:0,
  1485.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1486.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1487.                 from code/c++/search_sorting.cc:1:
  1488. /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.
  1489. #error This file requires compiler and library support \
  1490.  ^
  1491. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1492.                 from code/c++/search_sorting.cc:1:
  1493. /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
  1494.     std::unordered_set<std::string> stop_words;
  1495.          ^
  1496. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1497. /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'
  1498.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1499.                                                   ^
  1500. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1501. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1502.     void add(const std::string & word) { stop_words.insert(word); }
  1503.                                          ^
  1504. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1505. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1506.  return stop_words.find(term) != stop_words.end();
  1507.         ^
  1508. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1509.                 from code/c++/search_sorting.cc:1:
  1510. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1511. /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
  1512.     std::unordered_map<std::string, doccount> termfreq;
  1513.          ^
  1514. /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
  1515.     std::unordered_map<std::string, double> weights;
  1516.          ^
  1517. In file included from /usr/include/c++/5/unordered_set:35:0,
  1518.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1519.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1520.                 from code/c++/support.cc:1:
  1521. /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.
  1522. #error This file requires compiler and library support \
  1523.  ^
  1524. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1525.                 from code/c++/support.cc:1:
  1526. /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
  1527.     std::unordered_set<std::string> stop_words;
  1528.          ^
  1529. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1530. /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'
  1531.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1532.                                                   ^
  1533. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1534. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1535.     void add(const std::string & word) { stop_words.insert(word); }
  1536.                                          ^
  1537. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1538. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1539.  return stop_words.find(term) != stop_words.end();
  1540.         ^
  1541. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1542.                 from code/c++/support.cc:1:
  1543. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1544. /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
  1545.     std::unordered_map<std::string, doccount> termfreq;
  1546.          ^
  1547. /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
  1548.     std::unordered_map<std::string, double> weights;
  1549.          ^
  1550. code/expected.out/search_sorting.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/sorting.rst): Exit status 32512, expected 0
  1551. --- tmp.out 2017-08-21 10:40:23.918662207 +0530
  1552. +++ code/expected.out/search_sorting.out    2017-08-10 14:41:44.689029766 +0530
  1553. @@ -1 +1,5 @@
  1554. -sh: 2: code/c++/built/search_sorting: not found
  1555. +1: #019 State of Texas December 29, 1845
  1556. +        Population 25,145,561
  1557. +2: #004 State of Montana November 8, 1889
  1558. +        Population 989,415
  1559. +'spanish'[0:10] = 19 4
  1560. $ 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`
  1561. code/c++/built/search_sorting statesdb spanish > tmp.out 2> tmp2.out
  1562. $ cat tmp2.out >> tmp.out
  1563. $ vimdiff tmp.out code/expected.out/search_sorting.out
  1564. In file included from /usr/include/c++/5/unordered_set:35:0,
  1565.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1566.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1567.                 from code/c++/search_sorting2.cc:1:
  1568. /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.
  1569. #error This file requires compiler and library support \
  1570.  ^
  1571. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1572.                 from code/c++/search_sorting2.cc:1:
  1573. /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
  1574.     std::unordered_set<std::string> stop_words;
  1575.          ^
  1576. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1577. /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'
  1578.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1579.                                                   ^
  1580. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1581. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1582.     void add(const std::string & word) { stop_words.insert(word); }
  1583.                                          ^
  1584. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1585. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1586.  return stop_words.find(term) != stop_words.end();
  1587.         ^
  1588. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1589.                 from code/c++/search_sorting2.cc:1:
  1590. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1591. /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
  1592.     std::unordered_map<std::string, doccount> termfreq;
  1593.          ^
  1594. /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
  1595.     std::unordered_map<std::string, double> weights;
  1596.          ^
  1597. In file included from /usr/include/c++/5/unordered_set:35:0,
  1598.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1599.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1600.                 from code/c++/support.cc:1:
  1601. /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.
  1602. #error This file requires compiler and library support \
  1603.  ^
  1604. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1605.                 from code/c++/support.cc:1:
  1606. /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
  1607.     std::unordered_set<std::string> stop_words;
  1608.          ^
  1609. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1610. /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'
  1611.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1612.                                                   ^
  1613. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1614. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1615.     void add(const std::string & word) { stop_words.insert(word); }
  1616.                                          ^
  1617. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1618. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1619.  return stop_words.find(term) != stop_words.end();
  1620.         ^
  1621. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1622.                 from code/c++/support.cc:1:
  1623. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1624. /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
  1625.     std::unordered_map<std::string, doccount> termfreq;
  1626.          ^
  1627. /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
  1628.     std::unordered_map<std::string, double> weights;
  1629.          ^
  1630. code/expected.out/search_sorting2.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/sorting.rst): Exit status 32512, expected 0
  1631. --- tmp.out 2017-08-21 10:40:24.434652073 +0530
  1632. +++ code/expected.out/search_sorting2.out   2017-08-10 14:41:44.689029766 +0530
  1633. @@ -1 +1,21 @@
  1634. -sh: 2: code/c++/built/search_sorting2: not found
  1635. +1: #040 Commonwealth of Pennsylvania December 12, 1787
  1636. +        Population 12,702,379
  1637. +2: #043 State of New Jersey December 18, 1787
  1638. +        Population 8,791,894
  1639. +3: #049 State of Delaware December 7, 1787
  1640. +        Population 897,934
  1641. +4: #041 State of New York July 26, 1788
  1642. +        Population 19,378,102
  1643. +5: #034 State of Georgia January 2, 1788
  1644. +        Population 9,687,653
  1645. +6: #038 Commonwealth of Virginia June 25, 1788
  1646. +        Population 8,001,024
  1647. +7: #046 Commonwealth of Massachusetts February 6, 1788
  1648. +        Population 6,547,629
  1649. +8: #050 State of Maryland April 28, 1788
  1650. +        Population 5,773,552
  1651. +9: #036 State of South Carolina May 23, 1788
  1652. +        Population 4,625,384
  1653. +10: #048 State of Connecticut January 9, 1788
  1654. +        Population 3,574,097
  1655. +'State'[0:10] = 40 43 49 41 34 38 46 50 36 48
  1656. $ 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`
  1657. code/c++/built/search_sorting2 statesdb State > tmp.out 2> tmp2.out
  1658. $ cat tmp2.out >> tmp.out
  1659. $ vimdiff tmp.out code/expected.out/search_sorting2.out
  1660. In file included from /usr/include/c++/5/unordered_set:35:0,
  1661.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1662.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1663.                 from code/c++/index_values_with_geo.cc:1:
  1664. /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.
  1665. #error This file requires compiler and library support \
  1666.  ^
  1667. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1668.                 from code/c++/index_values_with_geo.cc:1:
  1669. /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
  1670.     std::unordered_set<std::string> stop_words;
  1671.          ^
  1672. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1673. /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'
  1674.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1675.                                                   ^
  1676. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1677. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1678.     void add(const std::string & word) { stop_words.insert(word); }
  1679.                                          ^
  1680. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1681. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1682.  return stop_words.find(term) != stop_words.end();
  1683.         ^
  1684. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1685.                 from code/c++/index_values_with_geo.cc:1:
  1686. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1687. /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
  1688.     std::unordered_map<std::string, doccount> termfreq;
  1689.          ^
  1690. /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
  1691.     std::unordered_map<std::string, double> weights;
  1692.          ^
  1693. In file included from /usr/include/c++/5/unordered_set:35:0,
  1694.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1695.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1696.                 from code/c++/support.cc:1:
  1697. /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.
  1698. #error This file requires compiler and library support \
  1699.  ^
  1700. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1701.                 from code/c++/support.cc:1:
  1702. /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
  1703.     std::unordered_set<std::string> stop_words;
  1704.          ^
  1705. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1706. /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'
  1707.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1708.                                                   ^
  1709. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1710. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1711.     void add(const std::string & word) { stop_words.insert(word); }
  1712.                                          ^
  1713. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1714. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1715.  return stop_words.find(term) != stop_words.end();
  1716.         ^
  1717. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1718.                 from code/c++/support.cc:1:
  1719. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1720. /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
  1721.     std::unordered_map<std::string, doccount> termfreq;
  1722.          ^
  1723. /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
  1724.     std::unordered_map<std::string, double> weights;
  1725.          ^
  1726. code/expected.out/index_values_with_geo.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/sorting.rst): Exit status 32512, expected 0
  1727. --- tmp.out 2017-08-21 10:40:24.946642021 +0530
  1728. +++ code/expected.out/index_values_with_geo.out 2017-08-10 14:41:44.689029766 +0530
  1729. @@ -1 +0,0 @@
  1730. -sh: 2: code/c++/built/index_values_with_geo: not found
  1731. $ 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`
  1732. code/c++/built/index_values_with_geo data/states.csv statesdb > tmp.out 2> tmp2.out
  1733. $ cat tmp2.out >> tmp.out
  1734. $ vimdiff tmp.out code/expected.out/index_values_with_geo.out
  1735. In file included from /usr/include/c++/5/unordered_set:35:0,
  1736.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1737.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1738.                 from code/c++/search_sorting3.cc:1:
  1739. /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.
  1740. #error This file requires compiler and library support \
  1741.  ^
  1742. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1743.                 from code/c++/search_sorting3.cc:1:
  1744. /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
  1745.     std::unordered_set<std::string> stop_words;
  1746.          ^
  1747. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1748. /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'
  1749.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1750.                                                   ^
  1751. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1752. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1753.     void add(const std::string & word) { stop_words.insert(word); }
  1754.                                          ^
  1755. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1756. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1757.  return stop_words.find(term) != stop_words.end();
  1758.         ^
  1759. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1760.                 from code/c++/search_sorting3.cc:1:
  1761. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1762. /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
  1763.     std::unordered_map<std::string, doccount> termfreq;
  1764.          ^
  1765. /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
  1766.     std::unordered_map<std::string, double> weights;
  1767.          ^
  1768. 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':
  1769. code/c++/search_sorting3.cc:43:45: error: 'atof' was not declared in this scope
  1770.             double lat = atof(latlon.c_str());
  1771.                                             ^
  1772. In file included from /usr/include/c++/5/unordered_set:35:0,
  1773.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1774.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1775.                 from code/c++/support.cc:1:
  1776. /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.
  1777. #error This file requires compiler and library support \
  1778.  ^
  1779. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1780.                 from code/c++/support.cc:1:
  1781. /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
  1782.     std::unordered_set<std::string> stop_words;
  1783.          ^
  1784. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1785. /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'
  1786.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1787.                                                   ^
  1788. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1789. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1790.     void add(const std::string & word) { stop_words.insert(word); }
  1791.                                          ^
  1792. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1793. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1794.  return stop_words.find(term) != stop_words.end();
  1795.         ^
  1796. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1797.                 from code/c++/support.cc:1:
  1798. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1799. /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
  1800.     std::unordered_map<std::string, doccount> termfreq;
  1801.          ^
  1802. /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
  1803.     std::unordered_map<std::string, double> weights;
  1804.          ^
  1805. code/expected.out/search_sorting3.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/sorting.rst): Exit status 32512, expected 0
  1806. --- tmp.out 2017-08-21 10:40:25.458631985 +0530
  1807. +++ code/expected.out/search_sorting3.out   2017-08-10 14:41:44.689029766 +0530
  1808. @@ -1 +1,21 @@
  1809. -sh: 2: code/c++/built/search_sorting3: not found
  1810. +1: #050 State of Maryland April 28, 1788
  1811. +        Population 5,773,552
  1812. +2: #049 State of Delaware December 7, 1787
  1813. +        Population 897,934
  1814. +3: #040 Commonwealth of Pennsylvania December 12, 1787
  1815. +        Population 12,702,379
  1816. +4: #043 State of New Jersey December 18, 1787
  1817. +        Population 8,791,894
  1818. +5: #039 State of West Virginia June 20, 1863
  1819. +        Population 1,859,815
  1820. +6: #037 State of North Carolina November 21, 1789
  1821. +        Population 9,535,483
  1822. +7: #041 State of New York July 26, 1788
  1823. +        Population 19,378,102
  1824. +8: #038 Commonwealth of Virginia June 25, 1788
  1825. +        Population 8,001,024
  1826. +9: #048 State of Connecticut January 9, 1788
  1827. +        Population 3,574,097
  1828. +10: #036 State of South Carolina May 23, 1788
  1829. +        Population 4,625,384
  1830. +'State'[0:10] = 50 49 40 43 39 37 41 38 48 36
  1831. $ 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`
  1832. code/c++/built/search_sorting3 statesdb State > tmp.out 2> tmp2.out
  1833. $ cat tmp2.out >> tmp.out
  1834. $ vimdiff tmp.out code/expected.out/search_sorting3.out
  1835. In file included from /usr/include/c++/5/unordered_set:35:0,
  1836.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1837.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1838.                 from code/c++/index1.cc:1:
  1839. /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.
  1840. #error This file requires compiler and library support \
  1841.  ^
  1842. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1843.                 from code/c++/index1.cc:1:
  1844. /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
  1845.     std::unordered_set<std::string> stop_words;
  1846.          ^
  1847. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1848. /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'
  1849.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1850.                                                   ^
  1851. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1852. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1853.     void add(const std::string & word) { stop_words.insert(word); }
  1854.                                          ^
  1855. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1856. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1857.  return stop_words.find(term) != stop_words.end();
  1858.         ^
  1859. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1860.                 from code/c++/index1.cc:1:
  1861. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1862. /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
  1863.     std::unordered_map<std::string, doccount> termfreq;
  1864.          ^
  1865. /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
  1866.     std::unordered_map<std::string, double> weights;
  1867.          ^
  1868. In file included from /usr/include/c++/5/unordered_set:35:0,
  1869.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1870.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1871.                 from code/c++/support.cc:1:
  1872. /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.
  1873. #error This file requires compiler and library support \
  1874.  ^
  1875. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1876.                 from code/c++/support.cc:1:
  1877. /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
  1878.     std::unordered_set<std::string> stop_words;
  1879.          ^
  1880. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1881. /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'
  1882.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1883.                                                   ^
  1884. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1885. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1886.     void add(const std::string & word) { stop_words.insert(word); }
  1887.                                          ^
  1888. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1889. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1890.  return stop_words.find(term) != stop_words.end();
  1891.         ^
  1892. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1893.                 from code/c++/support.cc:1:
  1894. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1895. /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
  1896.     std::unordered_map<std::string, doccount> termfreq;
  1897.          ^
  1898. /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
  1899.     std::unordered_map<std::string, double> weights;
  1900.          ^
  1901. code/expected.out/index1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/synonyms.rst): Exit status 32512, expected 0
  1902. --- tmp.out 2017-08-21 10:40:25.998621403 +0530
  1903. +++ code/expected.out/index1.out    2017-08-10 14:41:44.689029766 +0530
  1904. @@ -1 +0,0 @@
  1905. -sh: 2: code/c++/built/index1: not found
  1906. $ 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`
  1907. code/c++/built/index1 data/100-objects-v1.csv db > tmp.out 2> tmp2.out
  1908. $ cat tmp2.out >> tmp.out
  1909. $ vimdiff tmp.out code/expected.out/index1.out
  1910. In file included from /usr/include/c++/5/unordered_set:35:0,
  1911.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1912.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1913.                 from code/c++/delete1.cc:1:
  1914. /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.
  1915. #error This file requires compiler and library support \
  1916.  ^
  1917. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1918.                 from code/c++/delete1.cc:1:
  1919. /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
  1920.     std::unordered_set<std::string> stop_words;
  1921.          ^
  1922. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1923. /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'
  1924.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1925.                                                   ^
  1926. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1927. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1928.     void add(const std::string & word) { stop_words.insert(word); }
  1929.                                          ^
  1930. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1931. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1932.  return stop_words.find(term) != stop_words.end();
  1933.         ^
  1934. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1935.                 from code/c++/delete1.cc:1:
  1936. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1937. /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
  1938.     std::unordered_map<std::string, doccount> termfreq;
  1939.          ^
  1940. /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
  1941.     std::unordered_map<std::string, double> weights;
  1942.          ^
  1943. In file included from /usr/include/c++/5/unordered_set:35:0,
  1944.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1945.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1946.                 from code/c++/support.cc:1:
  1947. /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.
  1948. #error This file requires compiler and library support \
  1949.  ^
  1950. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1951.                 from code/c++/support.cc:1:
  1952. /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
  1953.     std::unordered_set<std::string> stop_words;
  1954.          ^
  1955. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1956. /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'
  1957.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  1958.                                                   ^
  1959. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  1960. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  1961.     void add(const std::string & word) { stop_words.insert(word); }
  1962.                                          ^
  1963. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  1964. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  1965.  return stop_words.find(term) != stop_words.end();
  1966.         ^
  1967. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  1968.                 from code/c++/support.cc:1:
  1969. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  1970. /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
  1971.     std::unordered_map<std::string, doccount> termfreq;
  1972.          ^
  1973. /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
  1974.     std::unordered_map<std::string, double> weights;
  1975.          ^
  1976. code/expected.out/delete1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/synonyms.rst): Exit status 32512, expected 0
  1977. --- tmp.out 2017-08-21 10:40:26.482611938 +0530
  1978. +++ code/expected.out/delete1.out   2017-08-10 14:41:44.689029766 +0530
  1979. @@ -1 +0,0 @@
  1980. -sh: 2: code/c++/built/delete1: not found
  1981. $ 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`
  1982. code/c++/built/delete1 db 1953-448 1985-438 > tmp.out 2> tmp2.out
  1983. $ cat tmp2.out >> tmp.out
  1984. $ vimdiff tmp.out code/expected.out/delete1.out
  1985. In file included from /usr/include/c++/5/unordered_set:35:0,
  1986.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  1987.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  1988.                 from code/c++/search_synonyms.cc:1:
  1989. /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.
  1990. #error This file requires compiler and library support \
  1991.  ^
  1992. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  1993.                 from code/c++/search_synonyms.cc:1:
  1994. /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
  1995.     std::unordered_set<std::string> stop_words;
  1996.          ^
  1997. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  1998. /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'
  1999.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2000.                                                   ^
  2001. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2002. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2003.     void add(const std::string & word) { stop_words.insert(word); }
  2004.                                          ^
  2005. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2006. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2007.  return stop_words.find(term) != stop_words.end();
  2008.         ^
  2009. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2010.                 from code/c++/search_synonyms.cc:1:
  2011. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2012. /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
  2013.     std::unordered_map<std::string, doccount> termfreq;
  2014.          ^
  2015. /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
  2016.     std::unordered_map<std::string, double> weights;
  2017.          ^
  2018. In file included from /usr/include/c++/5/unordered_set:35:0,
  2019.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2020.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2021.                 from code/c++/support.cc:1:
  2022. /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.
  2023. #error This file requires compiler and library support \
  2024.  ^
  2025. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2026.                 from code/c++/support.cc:1:
  2027. /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
  2028.     std::unordered_set<std::string> stop_words;
  2029.          ^
  2030. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2031. /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'
  2032.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2033.                                                   ^
  2034. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2035. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2036.     void add(const std::string & word) { stop_words.insert(word); }
  2037.                                          ^
  2038. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2039. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2040.  return stop_words.find(term) != stop_words.end();
  2041.         ^
  2042. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2043.                 from code/c++/support.cc:1:
  2044. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2045. /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
  2046.     std::unordered_map<std::string, doccount> termfreq;
  2047.          ^
  2048. /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
  2049.     std::unordered_map<std::string, double> weights;
  2050.          ^
  2051. code/expected.out/search_synonyms.db_time.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/synonyms.rst): Exit status 32512, expected 0
  2052. --- tmp.out 2017-08-21 10:40:26.998601846 +0530
  2053. +++ code/expected.out/search_synonyms.db_time.out   2017-08-10 14:41:44.689029766 +0530
  2054. @@ -1 +1,10 @@
  2055. -sh: 2: code/c++/built/search_synonyms: not found
  2056. +1: #065 Electric time piece with hands but without dial (no pendulum
  2057. +2: #058 The "Empire" clock, to show the time at various longitudes,
  2058. +3: #041 Frequency and time measuring instrument type TSA3436 by Venn
  2059. +4: #056 Single sandglass in 4 pillared wood mount, running time 15 1
  2060. +5: #043 Loughborough-Hayes automatic timing apparatus. Used by the R
  2061. +6: #011 "Timetrunk" by Hines and Co., Glasgow (a sandglass for timin
  2062. +7: #016 Copy of the gearing of the Byzantine sundial-calendar (1983-
  2063. +8: #045 Master clock of the "Silent Electric" type made by the Magne
  2064. +9: #018 Solar/Sidereal verge watch with epicyclic maintaining power
  2065. +'time'[0:10] = 65 58 41 56 43 11 16 45 18
  2066. $ 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`
  2067. code/c++/built/search_synonyms db time > tmp.out 2> tmp2.out
  2068. $ cat tmp2.out >> tmp.out
  2069. $ vimdiff tmp.out code/expected.out/search_synonyms.db_time.out
  2070. In file included from /usr/include/c++/5/unordered_set:35:0,
  2071.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2072.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2073.                 from code/c++/index1.cc:1:
  2074. /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.
  2075. #error This file requires compiler and library support \
  2076.  ^
  2077. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2078.                 from code/c++/index1.cc:1:
  2079. /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
  2080.     std::unordered_set<std::string> stop_words;
  2081.          ^
  2082. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2083. /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'
  2084.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2085.                                                   ^
  2086. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2087. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2088.     void add(const std::string & word) { stop_words.insert(word); }
  2089.                                          ^
  2090. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2091. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2092.  return stop_words.find(term) != stop_words.end();
  2093.         ^
  2094. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2095.                 from code/c++/index1.cc:1:
  2096. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2097. /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
  2098.     std::unordered_map<std::string, doccount> termfreq;
  2099.          ^
  2100. /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
  2101.     std::unordered_map<std::string, double> weights;
  2102.          ^
  2103. In file included from /usr/include/c++/5/unordered_set:35:0,
  2104.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2105.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2106.                 from code/c++/support.cc:1:
  2107. /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.
  2108. #error This file requires compiler and library support \
  2109.  ^
  2110. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2111.                 from code/c++/support.cc:1:
  2112. /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
  2113.     std::unordered_set<std::string> stop_words;
  2114.          ^
  2115. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2116. /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'
  2117.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2118.                                                   ^
  2119. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2120. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2121.     void add(const std::string & word) { stop_words.insert(word); }
  2122.                                          ^
  2123. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2124. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2125.  return stop_words.find(term) != stop_words.end();
  2126.         ^
  2127. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2128.                 from code/c++/support.cc:1:
  2129. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2130. /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
  2131.     std::unordered_map<std::string, doccount> termfreq;
  2132.          ^
  2133. /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
  2134.     std::unordered_map<std::string, double> weights;
  2135.          ^
  2136. code/expected.out/index1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/synonyms.rst): Exit status 32512, expected 0
  2137. --- tmp.out 2017-08-21 10:40:27.510591851 +0530
  2138. +++ code/expected.out/index1.out    2017-08-10 14:41:44.689029766 +0530
  2139. @@ -1 +0,0 @@
  2140. -sh: 2: code/c++/built/index1: not found
  2141. $ 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`
  2142. code/c++/built/index1 data/100-objects-v1.csv db > tmp.out 2> tmp2.out
  2143. $ cat tmp2.out >> tmp.out
  2144. $ vimdiff tmp.out code/expected.out/index1.out
  2145. In file included from /usr/include/c++/5/unordered_set:35:0,
  2146.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2147.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2148.                 from code/c++/delete1.cc:1:
  2149. /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.
  2150. #error This file requires compiler and library support \
  2151.  ^
  2152. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2153.                 from code/c++/delete1.cc:1:
  2154. /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
  2155.     std::unordered_set<std::string> stop_words;
  2156.          ^
  2157. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2158. /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'
  2159.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2160.                                                   ^
  2161. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2162. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2163.     void add(const std::string & word) { stop_words.insert(word); }
  2164.                                          ^
  2165. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2166. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2167.  return stop_words.find(term) != stop_words.end();
  2168.         ^
  2169. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2170.                 from code/c++/delete1.cc:1:
  2171. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2172. /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
  2173.     std::unordered_map<std::string, doccount> termfreq;
  2174.          ^
  2175. /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
  2176.     std::unordered_map<std::string, double> weights;
  2177.          ^
  2178. In file included from /usr/include/c++/5/unordered_set:35:0,
  2179.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2180.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2181.                 from code/c++/support.cc:1:
  2182. /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.
  2183. #error This file requires compiler and library support \
  2184.  ^
  2185. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2186.                 from code/c++/support.cc:1:
  2187. /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
  2188.     std::unordered_set<std::string> stop_words;
  2189.          ^
  2190. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2191. /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'
  2192.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2193.                                                   ^
  2194. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2195. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2196.     void add(const std::string & word) { stop_words.insert(word); }
  2197.                                          ^
  2198. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2199. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2200.  return stop_words.find(term) != stop_words.end();
  2201.         ^
  2202. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2203.                 from code/c++/support.cc:1:
  2204. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2205. /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
  2206.     std::unordered_map<std::string, doccount> termfreq;
  2207.          ^
  2208. /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
  2209.     std::unordered_map<std::string, double> weights;
  2210.          ^
  2211. code/expected.out/delete1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/synonyms.rst): Exit status 32512, expected 0
  2212. --- tmp.out 2017-08-21 10:40:28.002582247 +0530
  2213. +++ code/expected.out/delete1.out   2017-08-10 14:41:44.689029766 +0530
  2214. @@ -1 +0,0 @@
  2215. -sh: 2: code/c++/built/delete1: not found
  2216. $ 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`
  2217. code/c++/built/delete1 db 1953-448 1985-438 > tmp.out 2> tmp2.out
  2218. $ cat tmp2.out >> tmp.out
  2219. $ vimdiff tmp.out code/expected.out/delete1.out
  2220. In file included from /usr/include/c++/5/unordered_set:35:0,
  2221.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2222.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2223.                 from code/c++/search_synonyms.cc:1:
  2224. /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.
  2225. #error This file requires compiler and library support \
  2226.  ^
  2227. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2228.                 from code/c++/search_synonyms.cc:1:
  2229. /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
  2230.     std::unordered_set<std::string> stop_words;
  2231.          ^
  2232. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2233. /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'
  2234.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2235.                                                   ^
  2236. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2237. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2238.     void add(const std::string & word) { stop_words.insert(word); }
  2239.                                          ^
  2240. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2241. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2242.  return stop_words.find(term) != stop_words.end();
  2243.         ^
  2244. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2245.                 from code/c++/search_synonyms.cc:1:
  2246. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2247. /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
  2248.     std::unordered_map<std::string, doccount> termfreq;
  2249.          ^
  2250. /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
  2251.     std::unordered_map<std::string, double> weights;
  2252.          ^
  2253. In file included from /usr/include/c++/5/unordered_set:35:0,
  2254.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2255.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2256.                 from code/c++/support.cc:1:
  2257. /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.
  2258. #error This file requires compiler and library support \
  2259.  ^
  2260. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2261.                 from code/c++/support.cc:1:
  2262. /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
  2263.     std::unordered_set<std::string> stop_words;
  2264.          ^
  2265. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2266. /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'
  2267.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2268.                                                   ^
  2269. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2270. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2271.     void add(const std::string & word) { stop_words.insert(word); }
  2272.                                          ^
  2273. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2274. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2275.  return stop_words.find(term) != stop_words.end();
  2276.         ^
  2277. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2278.                 from code/c++/support.cc:1:
  2279. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2280. /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
  2281.     std::unordered_map<std::string, doccount> termfreq;
  2282.          ^
  2283. /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
  2284.     std::unordered_map<std::string, double> weights;
  2285.          ^
  2286. code/expected.out/search_synonyms.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/synonyms.rst): Exit status 32512, expected 0
  2287. --- tmp.out 2017-08-21 10:40:28.494572660 +0530
  2288. +++ code/expected.out/search_synonyms.out   2017-08-10 14:41:44.689029766 +0530
  2289. @@ -1 +1,11 @@
  2290. -sh: 2: code/c++/built/search_synonyms: not found
  2291. +1: #016 Copy of the gearing of the Byzantine sundial-calendar (1983-
  2292. +2: #072 German Perpetual Calendar in gilt metal
  2293. +3: #065 Electric time piece with hands but without dial (no pendulum
  2294. +4: #068 Ornate brass Perpetual Calendar
  2295. +5: #058 The "Empire" clock, to show the time at various longitudes,
  2296. +6: #041 Frequency and time measuring instrument type TSA3436 by Venn
  2297. +7: #056 Single sandglass in 4 pillared wood mount, running time 15 1
  2298. +8: #043 Loughborough-Hayes automatic timing apparatus. Used by the R
  2299. +9: #026 Sundial and compass with perpetual calendar and lunar circles
  2300. +10: #036 Universal 'Tri-Compax' chronographic wrist watch
  2301. +'~time'[0:10] = 16 72 65 68 58 41 56 43 26 36
  2302. $ 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`
  2303. code/c++/built/search_synonyms db ~time > tmp.out 2> tmp2.out
  2304. $ cat tmp2.out >> tmp.out
  2305. $ vimdiff tmp.out code/expected.out/search_synonyms.out
  2306. In file included from /usr/include/c++/5/unordered_set:35:0,
  2307.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2308.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2309.                 from code/c++/index1.cc:1:
  2310. /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.
  2311. #error This file requires compiler and library support \
  2312.  ^
  2313. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2314.                 from code/c++/index1.cc:1:
  2315. /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
  2316.     std::unordered_set<std::string> stop_words;
  2317.          ^
  2318. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2319. /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'
  2320.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2321.                                                   ^
  2322. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2323. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2324.     void add(const std::string & word) { stop_words.insert(word); }
  2325.                                          ^
  2326. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2327. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2328.  return stop_words.find(term) != stop_words.end();
  2329.         ^
  2330. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2331.                 from code/c++/index1.cc:1:
  2332. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2333. /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
  2334.     std::unordered_map<std::string, doccount> termfreq;
  2335.          ^
  2336. /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
  2337.     std::unordered_map<std::string, double> weights;
  2338.          ^
  2339. In file included from /usr/include/c++/5/unordered_set:35:0,
  2340.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2341.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2342.                 from code/c++/support.cc:1:
  2343. /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.
  2344. #error This file requires compiler and library support \
  2345.  ^
  2346. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2347.                 from code/c++/support.cc:1:
  2348. /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
  2349.     std::unordered_set<std::string> stop_words;
  2350.          ^
  2351. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2352. /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'
  2353.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2354.                                                   ^
  2355. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2356. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2357.     void add(const std::string & word) { stop_words.insert(word); }
  2358.                                          ^
  2359. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2360. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2361.  return stop_words.find(term) != stop_words.end();
  2362.         ^
  2363. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2364.                 from code/c++/support.cc:1:
  2365. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2366. /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
  2367.     std::unordered_map<std::string, doccount> termfreq;
  2368.          ^
  2369. /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
  2370.     std::unordered_map<std::string, double> weights;
  2371.          ^
  2372. code/expected.out/index1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/indexing/updating_the_database.rst): Exit status 32512, expected 0
  2373. --- tmp.out 2017-08-21 10:40:29.106560740 +0530
  2374. +++ code/expected.out/index1.out    2017-08-10 14:41:44.689029766 +0530
  2375. @@ -1 +0,0 @@
  2376. -sh: 2: code/c++/built/index1: not found
  2377. $ 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`
  2378. code/c++/built/index1 data/100-objects-v1.csv db > tmp.out 2> tmp2.out
  2379. $ cat tmp2.out >> tmp.out
  2380. $ vimdiff tmp.out code/expected.out/index1.out
  2381. In file included from /usr/include/c++/5/unordered_set:35:0,
  2382.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2383.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2384.                 from code/c++/delete1.cc:1:
  2385. /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.
  2386. #error This file requires compiler and library support \
  2387.  ^
  2388. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2389.                 from code/c++/delete1.cc:1:
  2390. /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
  2391.     std::unordered_set<std::string> stop_words;
  2392.          ^
  2393. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2394. /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'
  2395.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2396.                                                   ^
  2397. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2398. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2399.     void add(const std::string & word) { stop_words.insert(word); }
  2400.                                          ^
  2401. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2402. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2403.  return stop_words.find(term) != stop_words.end();
  2404.         ^
  2405. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2406.                 from code/c++/delete1.cc:1:
  2407. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2408. /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
  2409.     std::unordered_map<std::string, doccount> termfreq;
  2410.          ^
  2411. /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
  2412.     std::unordered_map<std::string, double> weights;
  2413.          ^
  2414. In file included from /usr/include/c++/5/unordered_set:35:0,
  2415.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2416.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2417.                 from code/c++/support.cc:1:
  2418. /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.
  2419. #error This file requires compiler and library support \
  2420.  ^
  2421. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2422.                 from code/c++/support.cc:1:
  2423. /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
  2424.     std::unordered_set<std::string> stop_words;
  2425.          ^
  2426. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2427. /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'
  2428.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2429.                                                   ^
  2430. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2431. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2432.     void add(const std::string & word) { stop_words.insert(word); }
  2433.                                          ^
  2434. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2435. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2436.  return stop_words.find(term) != stop_words.end();
  2437.         ^
  2438. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2439.                 from code/c++/support.cc:1:
  2440. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2441. /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
  2442.     std::unordered_map<std::string, doccount> termfreq;
  2443.          ^
  2444. /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
  2445.     std::unordered_map<std::string, double> weights;
  2446.          ^
  2447. code/expected.out/delete1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/indexing/updating_the_database.rst): Exit status 32512, expected 0
  2448. --- tmp.out 2017-08-21 10:40:29.594551251 +0530
  2449. +++ code/expected.out/delete1.out   2017-08-10 14:41:44.689029766 +0530
  2450. @@ -1 +0,0 @@
  2451. -sh: 2: code/c++/built/delete1: not found
  2452. $ 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`
  2453. code/c++/built/delete1 db 1953-448 1985-438 > tmp.out 2> tmp2.out
  2454. $ cat tmp2.out >> tmp.out
  2455. $ vimdiff tmp.out code/expected.out/delete1.out
  2456. In file included from /usr/include/c++/5/unordered_set:35:0,
  2457.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2458.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2459.                 from code/c++/index1.cc:1:
  2460. /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.
  2461. #error This file requires compiler and library support \
  2462.  ^
  2463. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2464.                 from code/c++/index1.cc:1:
  2465. /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
  2466.     std::unordered_set<std::string> stop_words;
  2467.          ^
  2468. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2469. /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'
  2470.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2471.                                                   ^
  2472. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2473. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2474.     void add(const std::string & word) { stop_words.insert(word); }
  2475.                                          ^
  2476. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2477. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2478.  return stop_words.find(term) != stop_words.end();
  2479.         ^
  2480. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2481.                 from code/c++/index1.cc:1:
  2482. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2483. /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
  2484.     std::unordered_map<std::string, doccount> termfreq;
  2485.          ^
  2486. /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
  2487.     std::unordered_map<std::string, double> weights;
  2488.          ^
  2489. In file included from /usr/include/c++/5/unordered_set:35:0,
  2490.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2491.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2492.                 from code/c++/support.cc:1:
  2493. /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.
  2494. #error This file requires compiler and library support \
  2495.  ^
  2496. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2497.                 from code/c++/support.cc:1:
  2498. /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
  2499.     std::unordered_set<std::string> stop_words;
  2500.          ^
  2501. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2502. /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'
  2503.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2504.                                                   ^
  2505. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2506. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2507.     void add(const std::string & word) { stop_words.insert(word); }
  2508.                                          ^
  2509. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2510. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2511.  return stop_words.find(term) != stop_words.end();
  2512.         ^
  2513. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2514.                 from code/c++/support.cc:1:
  2515. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2516. /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
  2517.     std::unordered_map<std::string, doccount> termfreq;
  2518.          ^
  2519. /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
  2520.     std::unordered_map<std::string, double> weights;
  2521.          ^
  2522. code/expected.out/index1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/indexing/writing_the_code.rst): Exit status 32512, expected 0
  2523. --- tmp.out 2017-08-21 10:40:30.130540832 +0530
  2524. +++ code/expected.out/index1.out    2017-08-10 14:41:44.689029766 +0530
  2525. @@ -1 +0,0 @@
  2526. -sh: 2: code/c++/built/index1: not found
  2527. $ 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`
  2528. code/c++/built/index1 data/100-objects-v1.csv db > tmp.out 2> tmp2.out
  2529. $ cat tmp2.out >> tmp.out
  2530. $ vimdiff tmp.out code/expected.out/index1.out
  2531. In file included from /usr/include/c++/5/unordered_set:35:0,
  2532.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2533.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2534.                 from code/c++/index1.cc:1:
  2535. /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.
  2536. #error This file requires compiler and library support \
  2537.  ^
  2538. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2539.                 from code/c++/index1.cc:1:
  2540. /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
  2541.     std::unordered_set<std::string> stop_words;
  2542.          ^
  2543. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2544. /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'
  2545.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2546.                                                   ^
  2547. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2548. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2549.     void add(const std::string & word) { stop_words.insert(word); }
  2550.                                          ^
  2551. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2552. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2553.  return stop_words.find(term) != stop_words.end();
  2554.         ^
  2555. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2556.                 from code/c++/index1.cc:1:
  2557. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2558. /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
  2559.     std::unordered_map<std::string, doccount> termfreq;
  2560.          ^
  2561. /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
  2562.     std::unordered_map<std::string, double> weights;
  2563.          ^
  2564. In file included from /usr/include/c++/5/unordered_set:35:0,
  2565.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2566.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2567.                 from code/c++/support.cc:1:
  2568. /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.
  2569. #error This file requires compiler and library support \
  2570.  ^
  2571. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2572.                 from code/c++/support.cc:1:
  2573. /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
  2574.     std::unordered_set<std::string> stop_words;
  2575.          ^
  2576. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2577. /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'
  2578.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2579.                                                   ^
  2580. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2581. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2582.     void add(const std::string & word) { stop_words.insert(word); }
  2583.                                          ^
  2584. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2585. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2586.  return stop_words.find(term) != stop_words.end();
  2587.         ^
  2588. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2589.                 from code/c++/support.cc:1:
  2590. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2591. /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
  2592.     std::unordered_map<std::string, doccount> termfreq;
  2593.          ^
  2594. /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
  2595.     std::unordered_map<std::string, double> weights;
  2596.          ^
  2597. code/expected.out/index1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/prefix.rst): Exit status 32512, expected 0
  2598. --- tmp.out 2017-08-21 10:40:30.666530430 +0530
  2599. +++ code/expected.out/index1.out    2017-08-10 14:41:44.689029766 +0530
  2600. @@ -1 +0,0 @@
  2601. -sh: 2: code/c++/built/index1: not found
  2602. $ 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`
  2603. code/c++/built/index1 data/100-objects-v1.csv db > tmp.out 2> tmp2.out
  2604. $ cat tmp2.out >> tmp.out
  2605. $ vimdiff tmp.out code/expected.out/index1.out
  2606. In file included from /usr/include/c++/5/unordered_set:35:0,
  2607.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2608.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2609.                 from code/c++/delete1.cc:1:
  2610. /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.
  2611. #error This file requires compiler and library support \
  2612.  ^
  2613. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2614.                 from code/c++/delete1.cc:1:
  2615. /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
  2616.     std::unordered_set<std::string> stop_words;
  2617.          ^
  2618. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2619. /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'
  2620.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2621.                                                   ^
  2622. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2623. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2624.     void add(const std::string & word) { stop_words.insert(word); }
  2625.                                          ^
  2626. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2627. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2628.  return stop_words.find(term) != stop_words.end();
  2629.         ^
  2630. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2631.                 from code/c++/delete1.cc:1:
  2632. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2633. /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
  2634.     std::unordered_map<std::string, doccount> termfreq;
  2635.          ^
  2636. /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
  2637.     std::unordered_map<std::string, double> weights;
  2638.          ^
  2639. In file included from /usr/include/c++/5/unordered_set:35:0,
  2640.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2641.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2642.                 from code/c++/support.cc:1:
  2643. /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.
  2644. #error This file requires compiler and library support \
  2645.  ^
  2646. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2647.                 from code/c++/support.cc:1:
  2648. /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
  2649.     std::unordered_set<std::string> stop_words;
  2650.          ^
  2651. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2652. /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'
  2653.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2654.                                                   ^
  2655. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2656. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2657.     void add(const std::string & word) { stop_words.insert(word); }
  2658.                                          ^
  2659. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2660. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2661.  return stop_words.find(term) != stop_words.end();
  2662.         ^
  2663. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2664.                 from code/c++/support.cc:1:
  2665. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2666. /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
  2667.     std::unordered_map<std::string, doccount> termfreq;
  2668.          ^
  2669. /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
  2670.     std::unordered_map<std::string, double> weights;
  2671.          ^
  2672. code/expected.out/delete1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/prefix.rst): Exit status 32512, expected 0
  2673. --- tmp.out 2017-08-21 10:40:31.154520964 +0530
  2674. +++ code/expected.out/delete1.out   2017-08-10 14:41:44.689029766 +0530
  2675. @@ -1 +0,0 @@
  2676. -sh: 2: code/c++/built/delete1: not found
  2677. $ 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`
  2678. code/c++/built/delete1 db 1953-448 1985-438 > tmp.out 2> tmp2.out
  2679. $ cat tmp2.out >> tmp.out
  2680. $ vimdiff tmp.out code/expected.out/delete1.out
  2681. In file included from /usr/include/c++/5/unordered_set:35:0,
  2682.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2683.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2684.                 from code/c++/search1.cc:1:
  2685. /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.
  2686. #error This file requires compiler and library support \
  2687.  ^
  2688. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2689.                 from code/c++/search1.cc:1:
  2690. /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
  2691.     std::unordered_set<std::string> stop_words;
  2692.          ^
  2693. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2694. /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'
  2695.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2696.                                                   ^
  2697. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2698. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2699.     void add(const std::string & word) { stop_words.insert(word); }
  2700.                                          ^
  2701. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2702. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2703.  return stop_words.find(term) != stop_words.end();
  2704.         ^
  2705. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2706.                 from code/c++/search1.cc:1:
  2707. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2708. /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
  2709.     std::unordered_map<std::string, doccount> termfreq;
  2710.          ^
  2711. /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
  2712.     std::unordered_map<std::string, double> weights;
  2713.          ^
  2714. In file included from /usr/include/c++/5/unordered_set:35:0,
  2715.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2716.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2717.                 from code/c++/support.cc:1:
  2718. /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.
  2719. #error This file requires compiler and library support \
  2720.  ^
  2721. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2722.                 from code/c++/support.cc:1:
  2723. /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
  2724.     std::unordered_set<std::string> stop_words;
  2725.          ^
  2726. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2727. /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'
  2728.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2729.                                                   ^
  2730. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2731. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2732.     void add(const std::string & word) { stop_words.insert(word); }
  2733.                                          ^
  2734. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2735. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2736.  return stop_words.find(term) != stop_words.end();
  2737.         ^
  2738. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2739.                 from code/c++/support.cc:1:
  2740. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2741. /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
  2742.     std::unordered_map<std::string, doccount> termfreq;
  2743.          ^
  2744. /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
  2745.     std::unordered_map<std::string, double> weights;
  2746.          ^
  2747. code/expected.out/search1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/prefix.rst): Exit status 32512, expected 0
  2748. --- tmp.out 2017-08-21 10:40:31.654511278 +0530
  2749. +++ code/expected.out/search1.out   2017-08-10 14:41:44.689029766 +0530
  2750. @@ -1 +1,2 @@
  2751. -sh: 2: code/c++/built/search1: not found
  2752. +1: #001 Ansonia Sunwatch (pocket compas dial)
  2753. +'title:sunwatch'[0:10] = 1
  2754. $ 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`
  2755. code/c++/built/search1 db title:sunwatch > tmp.out 2> tmp2.out
  2756. $ cat tmp2.out >> tmp.out
  2757. $ vimdiff tmp.out code/expected.out/search1.out
  2758. In file included from /usr/include/c++/5/unordered_set:35:0,
  2759.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2760.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2761.                 from code/c++/search1.cc:1:
  2762. /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.
  2763. #error This file requires compiler and library support \
  2764.  ^
  2765. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2766.                 from code/c++/search1.cc:1:
  2767. /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
  2768.     std::unordered_set<std::string> stop_words;
  2769.          ^
  2770. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2771. /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'
  2772.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2773.                                                   ^
  2774. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2775. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2776.     void add(const std::string & word) { stop_words.insert(word); }
  2777.                                          ^
  2778. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2779. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2780.  return stop_words.find(term) != stop_words.end();
  2781.         ^
  2782. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2783.                 from code/c++/search1.cc:1:
  2784. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2785. /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
  2786.     std::unordered_map<std::string, doccount> termfreq;
  2787.          ^
  2788. /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
  2789.     std::unordered_map<std::string, double> weights;
  2790.          ^
  2791. In file included from /usr/include/c++/5/unordered_set:35:0,
  2792.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2793.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2794.                 from code/c++/support.cc:1:
  2795. /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.
  2796. #error This file requires compiler and library support \
  2797.  ^
  2798. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2799.                 from code/c++/support.cc:1:
  2800. /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
  2801.     std::unordered_set<std::string> stop_words;
  2802.          ^
  2803. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2804. /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'
  2805.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2806.                                                   ^
  2807. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2808. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2809.     void add(const std::string & word) { stop_words.insert(word); }
  2810.                                          ^
  2811. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2812. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2813.  return stop_words.find(term) != stop_words.end();
  2814.         ^
  2815. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2816.                 from code/c++/support.cc:1:
  2817. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2818. /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
  2819.     std::unordered_map<std::string, doccount> termfreq;
  2820.          ^
  2821. /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
  2822.     std::unordered_map<std::string, double> weights;
  2823.          ^
  2824. 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
  2825. --- tmp.out 2017-08-21 10:40:32.154501598 +0530
  2826. +++ code/expected.out/search1.db_description=3a=5c=22leather_case=5c=22_AND_title=3asundial.out 2017-08-10 14:41:44.689029766 +0530
  2827. @@ -1 +1,2 @@
  2828. -sh: 2: code/c++/built/search1: not found
  2829. +1: #055 Silver altitude sundial in leather case
  2830. +'description:"leather case" AND title:sundial'[0:10] = 55
  2831. $ 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`
  2832. code/c++/built/search1 db description:\"leather case\" AND title:sundial > tmp.out 2> tmp2.out
  2833. $ cat tmp2.out >> tmp.out
  2834. $ vimdiff tmp.out code/expected.out/search1.db_description=3a=5c=22leather_case=5c=22_AND_title=3asundial.out
  2835. In file included from /usr/include/c++/5/unordered_set:35:0,
  2836.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2837.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2838.                 from code/c++/index1.cc:1:
  2839. /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.
  2840. #error This file requires compiler and library support \
  2841.  ^
  2842. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2843.                 from code/c++/index1.cc:1:
  2844. /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
  2845.     std::unordered_set<std::string> stop_words;
  2846.          ^
  2847. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2848. /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'
  2849.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2850.                                                   ^
  2851. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2852. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2853.     void add(const std::string & word) { stop_words.insert(word); }
  2854.                                          ^
  2855. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2856. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2857.  return stop_words.find(term) != stop_words.end();
  2858.         ^
  2859. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2860.                 from code/c++/index1.cc:1:
  2861. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2862. /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
  2863.     std::unordered_map<std::string, doccount> termfreq;
  2864.          ^
  2865. /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
  2866.     std::unordered_map<std::string, double> weights;
  2867.          ^
  2868. In file included from /usr/include/c++/5/unordered_set:35:0,
  2869.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2870.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2871.                 from code/c++/support.cc:1:
  2872. /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.
  2873. #error This file requires compiler and library support \
  2874.  ^
  2875. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2876.                 from code/c++/support.cc:1:
  2877. /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
  2878.     std::unordered_set<std::string> stop_words;
  2879.          ^
  2880. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2881. /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'
  2882.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2883.                                                   ^
  2884. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2885. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2886.     void add(const std::string & word) { stop_words.insert(word); }
  2887.                                          ^
  2888. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2889. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2890.  return stop_words.find(term) != stop_words.end();
  2891.         ^
  2892. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2893.                 from code/c++/support.cc:1:
  2894. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2895. /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
  2896.     std::unordered_map<std::string, doccount> termfreq;
  2897.          ^
  2898. /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
  2899.     std::unordered_map<std::string, double> weights;
  2900.          ^
  2901. code/expected.out/index1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/running_the_search.rst): Exit status 32512, expected 0
  2902. --- tmp.out 2017-08-21 10:40:32.670491621 +0530
  2903. +++ code/expected.out/index1.out    2017-08-10 14:41:44.689029766 +0530
  2904. @@ -1 +0,0 @@
  2905. -sh: 2: code/c++/built/index1: not found
  2906. $ 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`
  2907. code/c++/built/index1 data/100-objects-v1.csv db > tmp.out 2> tmp2.out
  2908. $ cat tmp2.out >> tmp.out
  2909. $ vimdiff tmp.out code/expected.out/index1.out
  2910. In file included from /usr/include/c++/5/unordered_set:35:0,
  2911.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2912.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2913.                 from code/c++/delete1.cc:1:
  2914. /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.
  2915. #error This file requires compiler and library support \
  2916.  ^
  2917. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2918.                 from code/c++/delete1.cc:1:
  2919. /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
  2920.     std::unordered_set<std::string> stop_words;
  2921.          ^
  2922. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2923. /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'
  2924.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2925.                                                   ^
  2926. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2927. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2928.     void add(const std::string & word) { stop_words.insert(word); }
  2929.                                          ^
  2930. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2931. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2932.  return stop_words.find(term) != stop_words.end();
  2933.         ^
  2934. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2935.                 from code/c++/delete1.cc:1:
  2936. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2937. /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
  2938.     std::unordered_map<std::string, doccount> termfreq;
  2939.          ^
  2940. /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
  2941.     std::unordered_map<std::string, double> weights;
  2942.          ^
  2943. In file included from /usr/include/c++/5/unordered_set:35:0,
  2944.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2945.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2946.                 from code/c++/support.cc:1:
  2947. /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.
  2948. #error This file requires compiler and library support \
  2949.  ^
  2950. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2951.                 from code/c++/support.cc:1:
  2952. /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
  2953.     std::unordered_set<std::string> stop_words;
  2954.          ^
  2955. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2956. /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'
  2957.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  2958.                                                   ^
  2959. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  2960. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  2961.     void add(const std::string & word) { stop_words.insert(word); }
  2962.                                          ^
  2963. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  2964. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  2965.  return stop_words.find(term) != stop_words.end();
  2966.         ^
  2967. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  2968.                 from code/c++/support.cc:1:
  2969. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  2970. /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
  2971.     std::unordered_map<std::string, doccount> termfreq;
  2972.          ^
  2973. /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
  2974.     std::unordered_map<std::string, double> weights;
  2975.          ^
  2976. code/expected.out/delete1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/running_the_search.rst): Exit status 32512, expected 0
  2977. --- tmp.out 2017-08-21 10:40:33.158482192 +0530
  2978. +++ code/expected.out/delete1.out   2017-08-10 14:41:44.689029766 +0530
  2979. @@ -1 +0,0 @@
  2980. -sh: 2: code/c++/built/delete1: not found
  2981. $ 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`
  2982. code/c++/built/delete1 db 1953-448 1985-438 > tmp.out 2> tmp2.out
  2983. $ cat tmp2.out >> tmp.out
  2984. $ vimdiff tmp.out code/expected.out/delete1.out
  2985. In file included from /usr/include/c++/5/unordered_set:35:0,
  2986.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  2987.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  2988.                 from code/c++/search1.cc:1:
  2989. /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.
  2990. #error This file requires compiler and library support \
  2991.  ^
  2992. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  2993.                 from code/c++/search1.cc:1:
  2994. /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
  2995.     std::unordered_set<std::string> stop_words;
  2996.          ^
  2997. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  2998. /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'
  2999.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  3000.                                                   ^
  3001. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  3002. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  3003.     void add(const std::string & word) { stop_words.insert(word); }
  3004.                                          ^
  3005. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  3006. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  3007.  return stop_words.find(term) != stop_words.end();
  3008.         ^
  3009. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  3010.                 from code/c++/search1.cc:1:
  3011. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  3012. /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
  3013.     std::unordered_map<std::string, doccount> termfreq;
  3014.          ^
  3015. /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
  3016.     std::unordered_map<std::string, double> weights;
  3017.          ^
  3018. In file included from /usr/include/c++/5/unordered_set:35:0,
  3019.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  3020.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  3021.                 from code/c++/support.cc:1:
  3022. /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.
  3023. #error This file requires compiler and library support \
  3024.  ^
  3025. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  3026.                 from code/c++/support.cc:1:
  3027. /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
  3028.     std::unordered_set<std::string> stop_words;
  3029.          ^
  3030. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  3031. /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'
  3032.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  3033.                                                   ^
  3034. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  3035. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  3036.     void add(const std::string & word) { stop_words.insert(word); }
  3037.                                          ^
  3038. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  3039. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  3040.  return stop_words.find(term) != stop_words.end();
  3041.         ^
  3042. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  3043.                 from code/c++/support.cc:1:
  3044. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  3045. /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
  3046.     std::unordered_map<std::string, doccount> termfreq;
  3047.          ^
  3048. /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
  3049.     std::unordered_map<std::string, double> weights;
  3050.          ^
  3051. 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
  3052. --- tmp.out 2017-08-21 10:40:33.666472389 +0530
  3053. +++ code/expected.out/search1.db_watch.out  2017-08-10 14:41:44.689029766 +0530
  3054. @@ -1 +1,8 @@
  3055. -sh: 2: code/c++/built/search1: not found
  3056. +1: #004 Watch with Chinese duplex escapement
  3057. +2: #018 Solar/Sidereal verge watch with epicyclic maintaining power
  3058. +3: #013 Watch timer by P
  3059. +4: #033 A device by Favag of Neuchatel which enables a stop watch to
  3060. +5: #015 Ingersoll "Dan Dare" automaton pocket watch with pin-pallet
  3061. +6: #036 Universal 'Tri-Compax' chronographic wrist watch
  3062. +7: #046 Model by Dent of mechanism for setting hands and winding up
  3063. +'watch'[0:10] = 4 18 13 33 15 36 46
  3064. $ 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`
  3065. code/c++/built/search1 db watch > tmp.out 2> tmp2.out
  3066. $ cat tmp2.out >> tmp.out
  3067. $ vimdiff tmp.out code/expected.out/search1.db_watch.out
  3068. In file included from /usr/include/c++/5/unordered_set:35:0,
  3069.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  3070.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  3071.                 from code/c++/search1.cc:1:
  3072. /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.
  3073. #error This file requires compiler and library support \
  3074.  ^
  3075. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  3076.                 from code/c++/search1.cc:1:
  3077. /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
  3078.     std::unordered_set<std::string> stop_words;
  3079.          ^
  3080. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  3081. /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'
  3082.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  3083.                                                   ^
  3084. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  3085. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  3086.     void add(const std::string & word) { stop_words.insert(word); }
  3087.                                          ^
  3088. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  3089. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  3090.  return stop_words.find(term) != stop_words.end();
  3091.         ^
  3092. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  3093.                 from code/c++/search1.cc:1:
  3094. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  3095. /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
  3096.     std::unordered_map<std::string, doccount> termfreq;
  3097.          ^
  3098. /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
  3099.     std::unordered_map<std::string, double> weights;
  3100.          ^
  3101. In file included from /usr/include/c++/5/unordered_set:35:0,
  3102.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:37,
  3103.                 from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80,
  3104.                 from code/c++/support.cc:1:
  3105. /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.
  3106. #error This file requires compiler and library support \
  3107.  ^
  3108. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:80:0,
  3109.                 from code/c++/support.cc:1:
  3110. /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
  3111.     std::unordered_set<std::string> stop_words;
  3112.          ^
  3113. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In constructor 'Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)':
  3114. /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'
  3115.     SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
  3116.                                                   ^
  3117. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'void Xapian::SimpleStopper::add(const string&)':
  3118. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:115:42: error: 'stop_words' was not declared in this scope
  3119.     void add(const std::string & word) { stop_words.insert(word); }
  3120.                                          ^
  3121. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h: In member function 'virtual bool Xapian::SimpleStopper::operator()(const string&) const':
  3122. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/queryparser.h:118:9: error: 'stop_words' was not declared in this scope
  3123.  return stop_words.find(term) != stop_words.end();
  3124.         ^
  3125. In file included from /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian.h:85:0,
  3126.                 from code/c++/support.cc:1:
  3127. /home/ayush/Desktop/xapian-patch/xapian/xapian-core/include/xapian/cluster.h: At global scope:
  3128. /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
  3129.     std::unordered_map<std::string, doccount> termfreq;
  3130.          ^
  3131. /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
  3132.     std::unordered_map<std::string, double> weights;
  3133.          ^
  3134. 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
  3135. --- tmp.out 2017-08-21 10:40:34.174462593 +0530
  3136. +++ code/expected.out/search1.db_Dent_watch.out 2017-08-10 14:41:44.689029766 +0530
  3137. @@ -1 +1,11 @@
  3138. -sh: 2: code/c++/built/search1: not found
  3139. +1: #046 Model by Dent of mechanism for setting hands and winding up
  3140. +2: #004 Watch with Chinese duplex escapement
  3141. +3: #018 Solar/Sidereal verge watch with epicyclic maintaining power
  3142. +4: #013 Watch timer by P
  3143. +5: #094 Model of a Lever Escapement , 1850-1883
  3144. +6: #093 Model of Graham's Cylinder Escapement, 1850-1883
  3145. +7: #033 A device by Favag of Neuchatel which enables a stop watch to
  3146. +8: #015 Ingersoll "Dan Dare" automaton pocket watch with pin-pallet
  3147. +9: #086 Model representing Earnshaw's detent chronometer escapement, 1950-1883
  3148. +10: #036 Universal 'Tri-Compax' chronographic wrist watch
  3149. +'Dent watch'[0:10] = 46 4 18 13 94 93 33 15 86 36
  3150. $ 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`
  3151. code/c++/built/search1 db Dent watch > tmp.out 2> tmp2.out
  3152. $ cat tmp2.out >> tmp.out
  3153. $ vimdiff tmp.out code/expected.out/search1.db_Dent_watch.out
  3154. /home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst:137: WARNING: Duplicate explicit target name: "nallapati2004".
  3155. /home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst:162: ERROR: 2 error(s) with example code
  3156. /home/ayush/Desktop/workspace/xapian-docsprint/howtos/boolean_filters.rst:147: ERROR: 6 error(s) with example code
  3157. /home/ayush/Desktop/workspace/xapian-docsprint/howtos/facets.rst:130: ERROR: 4 error(s) with example code
  3158. /home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst:298: ERROR: 22 error(s) with example code
  3159. /home/ayush/Desktop/workspace/xapian-docsprint/howtos/sorting.rst:147: ERROR: 10 error(s) with example code
  3160. /home/ayush/Desktop/workspace/xapian-docsprint/howtos/synonyms.rst:137: ERROR: 12 error(s) with example code
  3161. /home/ayush/Desktop/workspace/xapian-docsprint/practical_example/indexing/updating_the_database.rst:57: ERROR: 4 error(s) with example code
  3162. /home/ayush/Desktop/workspace/xapian-docsprint/practical_example/indexing/writing_the_code.rst:18: ERROR: 2 error(s) with example code
  3163. /home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/prefix.rst:42: ERROR: 8 error(s) with example code
  3164. /home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/running_the_search.rst:31: ERROR: 8 error(s) with example code
  3165. /home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst:37: WARNING: Could not lex literal_block as "c++". Highlighting skipped.
  3166. /home/ayush/Desktop/workspace/xapian-docsprint/concepts/search/search_limitations.rst:46: WARNING: unknown document: /advanced/remote
  3167. *** No version of example postingsource in language c++ - patches welcome!
  3168. *** 78 total error(s) with example code
  3169. Error in atexit._run_exitfuncs:
  3170. Traceback (most recent call last):
  3171.  File "conf.py", line 902, in xapian_check_examples
  3172.    raise SystemExit()
  3173. SystemExit
  3174.  
  3175. Build finished. The HTML pages are in _build/html.
Add Comment
Please, Sign In to add comment