Advertisement
AyushP123

learning to rank

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