Crls1235

Erro de instalação GDAL - Slackware

Jan 26th, 2016
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 303.94 KB | None | 0 0
  1. /bin/sh: ./config.rpath: No such file or directory
  2. config.status: WARNING: 'GDALmake.opt.in' seems to ignore the --datarootdir setting
  3. geo_new.c: In function ‘gdal_ReadKey’:
  4. geo_new.c:236:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  5. *(pinfo_t *)(&keyptr->gk_data) = entptr->ent_val_offset;
  6. ^
  7. geo_write.c: In function ‘gdal_WriteKey’:
  8. geo_write.c:135:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  9. entptr->ent_val_offset = *(pinfo_t*)&keyptr->gk_data;
  10. ^
  11. hfaband.cpp: In function ‘CPLErr UncompressBlock(GByte*, int, GByte*, int, int)’:
  12. hfaband.cpp:686:80: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  13. ((float *) pabyDest)[nPixelsOutput] = *((float*)( &nDataValue ));
  14. ^
  15. hfaband.cpp: In member function ‘void HFABand::NullBlock(void*)’:
  16. hfaband.cpp:1051:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  17. ((GUInt16 *) &adfND)[0] = (GUInt16) dfNoData;
  18. ^
  19. hfaband.cpp:1055:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  20. ((GInt16 *) &adfND)[0] = (GInt16) dfNoData;
  21. ^
  22. hfaband.cpp:1059:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  23. ((GUInt32 *) &adfND)[0] = (GUInt32) dfNoData;
  24. ^
  25. hfaband.cpp:1063:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  26. ((GInt32 *) &adfND)[0] = (GInt32) dfNoData;
  27. ^
  28. hfaband.cpp:1067:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  29. ((float *) &adfND)[0] = (float) dfNoData;
  30. ^
  31. hfaband.cpp:1075:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  32. ((float *) &adfND)[0] = (float) dfNoData;
  33. ^
  34. sdk/segment/cpcidsk_array.cpp: In member function ‘void PCIDSK::CPCIDSK_ARRAY::Load()’:
  35. sdk/segment/cpcidsk_array.cpp:120:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  36. double dValue = *((double*)uValue);
  37. ^
  38. levellerdataset.cpp: In member function ‘bool LevellerDataset::load_from_file(VSILFILE*, const char*)’:
  39. levellerdataset.cpp:1349:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  40. if(!this->get((int&)unitcode, file, "coordsys_units"))
  41. ^
  42. levellerdataset.cpp:1399:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  43. if(this->get((int&)unitcode, file, "coordsys_em_units"))
  44. ^
  45. msg_basic_types.cpp: In function ‘void msg_native_format::to_native(msg_native_format::IMAGE_DESCRIPTION_RECORD&)’:
  46. msg_basic_types.cpp:82:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  47. t = *(unsigned int *)&r.referencegrid_visir.lineDirGridStep;
  48. ^
  49. msg_basic_types.cpp:84:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  50. r.referencegrid_visir.lineDirGridStep = *(float *)&t;
  51. ^
  52. msg_basic_types.cpp:87:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  53. t = *(unsigned int *)&r.referencegrid_visir.columnDirGridStep;
  54. ^
  55. msg_basic_types.cpp:89:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  56. r.referencegrid_visir.columnDirGridStep = *(float *)&t;
  57. ^
  58. openjpegdataset.cpp: In static member function ‘static GDALDataset* JP2OpenJPEGDataset::Open(GDALOpenInfo*)’:
  59. openjpegdataset.cpp:968:16: warning: variable ‘nX0’ set but not used [-Wunused-but-set-variable]
  60. OPJ_INT32 nX0,nY0;
  61. ^
  62. openjpegdataset.cpp:968:20: warning: variable ‘nY0’ set but not used [-Wunused-but-set-variable]
  63. OPJ_INT32 nX0,nY0;
  64. ^
  65. openjpegdataset.cpp:969:30: warning: variable ‘nTilesX’ set but not used [-Wunused-but-set-variable]
  66. OPJ_UINT32 nTileW,nTileH,nTilesX,nTilesY;
  67. ^
  68. openjpegdataset.cpp:969:38: warning: variable ‘nTilesY’ set but not used [-Wunused-but-set-variable]
  69. OPJ_UINT32 nTileW,nTileH,nTilesX,nTilesY;
  70. ^
  71. libcsf/ruseas.c: In function ‘RuseAs’:
  72. libcsf/ruseas.c:443:5: warning: case value ‘224’ not in enumerated type ‘CSF_CR {aka enum CSF_CR}’ [-Wswitch]
  73. case VS_BOOLEAN:
  74. ^
  75. libcsf/ruseas.c:467:4: warning: case value ‘240’ not in enumerated type ‘CSF_CR {aka enum CSF_CR}’ [-Wswitch]
  76. case VS_LDD:
  77. ^
  78. mbtilesdataset.cpp: In member function ‘char* MBTilesDataset::FindKey(int, int, int&, int&, int&)’:
  79. mbtilesdataset.cpp:632:18: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  80. poGrid = json_object_object_get(jsobj, "grid");
  81. ^
  82. In file included from /usr/include/json-c/linkhash.h:16:0,
  83. from /usr/include/json-c/json.h:22,
  84. from mbtilesdataset.cpp:36:
  85. /usr/include/json-c/json_object.h:290:56: note: declared here
  86. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  87. ^
  88. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  89. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  90. ^
  91. mbtilesdataset.cpp:632:18: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  92. poGrid = json_object_object_get(jsobj, "grid");
  93. ^
  94. In file included from /usr/include/json-c/linkhash.h:16:0,
  95. from /usr/include/json-c/json.h:22,
  96. from mbtilesdataset.cpp:36:
  97. /usr/include/json-c/json_object.h:290:56: note: declared here
  98. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  99. ^
  100. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  101. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  102. ^
  103. mbtilesdataset.cpp:632:54: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  104. poGrid = json_object_object_get(jsobj, "grid");
  105. ^
  106. In file included from /usr/include/json-c/linkhash.h:16:0,
  107. from /usr/include/json-c/json.h:22,
  108. from mbtilesdataset.cpp:36:
  109. /usr/include/json-c/json_object.h:290:56: note: declared here
  110. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  111. ^
  112. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  113. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  114. ^
  115. mbtilesdataset.cpp:702:35: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  116. json_object* poKeys = json_object_object_get(jsobj, "keys");
  117. ^
  118. In file included from /usr/include/json-c/linkhash.h:16:0,
  119. from /usr/include/json-c/json.h:22,
  120. from mbtilesdataset.cpp:36:
  121. /usr/include/json-c/json_object.h:290:56: note: declared here
  122. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  123. ^
  124. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  125. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  126. ^
  127. mbtilesdataset.cpp:702:35: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  128. json_object* poKeys = json_object_object_get(jsobj, "keys");
  129. ^
  130. In file included from /usr/include/json-c/linkhash.h:16:0,
  131. from /usr/include/json-c/json.h:22,
  132. from mbtilesdataset.cpp:36:
  133. /usr/include/json-c/json_object.h:290:56: note: declared here
  134. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  135. ^
  136. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  137. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  138. ^
  139. mbtilesdataset.cpp:702:71: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  140. json_object* poKeys = json_object_object_get(jsobj, "keys");
  141. ^
  142. In file included from /usr/include/json-c/linkhash.h:16:0,
  143. from /usr/include/json-c/json.h:22,
  144. from mbtilesdataset.cpp:36:
  145. /usr/include/json-c/json_object.h:290:56: note: declared here
  146. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  147. ^
  148. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  149. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  150. ^
  151. argdataset.cpp: In function ‘const char* GetJsonValueStr(json_object*, CPLString)’:
  152. argdataset.cpp:156:31: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  153. json_object * pJSONItem = json_object_object_get(pJSONObject, pszKey.c_str());
  154. ^
  155. In file included from /usr/include/json-c/linkhash.h:16:0,
  156. from /usr/include/json-c/json.h:22,
  157. from argdataset.cpp:34:
  158. /usr/include/json-c/json_object.h:290:56: note: declared here
  159. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  160. ^
  161. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  162. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  163. ^
  164. argdataset.cpp:156:31: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  165. json_object * pJSONItem = json_object_object_get(pJSONObject, pszKey.c_str());
  166. ^
  167. In file included from /usr/include/json-c/linkhash.h:16:0,
  168. from /usr/include/json-c/json.h:22,
  169. from argdataset.cpp:34:
  170. /usr/include/json-c/json_object.h:290:56: note: declared here
  171. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  172. ^
  173. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  174. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  175. ^
  176. argdataset.cpp:156:81: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  177. json_object * pJSONItem = json_object_object_get(pJSONObject, pszKey.c_str());
  178. ^
  179. In file included from /usr/include/json-c/linkhash.h:16:0,
  180. from /usr/include/json-c/json.h:22,
  181. from argdataset.cpp:34:
  182. /usr/include/json-c/json_object.h:290:56: note: declared here
  183. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  184. ^
  185. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  186. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  187. ^
  188. dgnwrite.cpp: In function ‘int DGNAddRawAttrLink(DGNHandle, DGNElemCore*, int, unsigned char*)’:
  189. dgnwrite.cpp:2414:61: warning: operation on ‘psElement->DGNElemCore::raw_bytes’ may be undefined [-Wsequence-point]
  190. psElement->raw_bytes = psElement->raw_bytes += nLinkSize;
  191. ^
  192. ogrgeojsonreader.cpp: In member function ‘bool OGRGeoJSONReader::GenerateFeatureDefn(OGRGeoJSONLayer*, json_object*)’:
  193. ogrgeojsonreader.cpp:474:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  194. poObjProps = json_object_object_get(poObjProps, "properties");
  195. ^
  196. In file included from /usr/include/json-c/linkhash.h:16:0,
  197. from /usr/include/json-c/json.h:22,
  198. from ogrgeojsonreader.h:34,
  199. from ogrgeojsonreader.cpp:30:
  200. /usr/include/json-c/json_object.h:290:56: note: declared here
  201. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  202. ^
  203. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  204. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  205. ^
  206. ogrgeojsonreader.cpp:474:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  207. poObjProps = json_object_object_get(poObjProps, "properties");
  208. ^
  209. In file included from /usr/include/json-c/linkhash.h:16:0,
  210. from /usr/include/json-c/json.h:22,
  211. from ogrgeojsonreader.h:34,
  212. from ogrgeojsonreader.cpp:30:
  213. /usr/include/json-c/json_object.h:290:56: note: declared here
  214. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  215. ^
  216. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  217. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  218. ^
  219. ogrgeojsonreader.cpp:474:73: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  220. poObjProps = json_object_object_get(poObjProps, "properties");
  221. ^
  222. In file included from /usr/include/json-c/linkhash.h:16:0,
  223. from /usr/include/json-c/json.h:22,
  224. from ogrgeojsonreader.h:34,
  225. from ogrgeojsonreader.cpp:30:
  226. /usr/include/json-c/json_object.h:290:56: note: declared here
  227. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  228. ^
  229. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  230. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  231. ^
  232. ogrgeojsonreader.cpp: In member function ‘OGRFeature* OGRGeoJSONReader::ReadFeature(OGRGeoJSONLayer*, json_object*)’:
  233. ogrgeojsonreader.cpp:662:33: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  234. json_object* poId = json_object_object_get(poObjProps, "_id");
  235. ^
  236. In file included from /usr/include/json-c/linkhash.h:16:0,
  237. from /usr/include/json-c/json.h:22,
  238. from ogrgeojsonreader.h:34,
  239. from ogrgeojsonreader.cpp:30:
  240. /usr/include/json-c/json_object.h:290:56: note: declared here
  241. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  242. ^
  243. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  244. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  245. ^
  246. ogrgeojsonreader.cpp:662:33: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  247. json_object* poId = json_object_object_get(poObjProps, "_id");
  248. ^
  249. In file included from /usr/include/json-c/linkhash.h:16:0,
  250. from /usr/include/json-c/json.h:22,
  251. from ogrgeojsonreader.h:34,
  252. from ogrgeojsonreader.cpp:30:
  253. /usr/include/json-c/json_object.h:290:56: note: declared here
  254. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  255. ^
  256. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  257. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  258. ^
  259. ogrgeojsonreader.cpp:662:73: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  260. json_object* poId = json_object_object_get(poObjProps, "_id");
  261. ^
  262. In file included from /usr/include/json-c/linkhash.h:16:0,
  263. from /usr/include/json-c/json.h:22,
  264. from ogrgeojsonreader.h:34,
  265. from ogrgeojsonreader.cpp:30:
  266. /usr/include/json-c/json_object.h:290:56: note: declared here
  267. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  268. ^
  269. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  270. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  271. ^
  272. ogrgeojsonreader.cpp:666:34: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  273. json_object* poRev = json_object_object_get(poObjProps, "_rev");
  274. ^
  275. In file included from /usr/include/json-c/linkhash.h:16:0,
  276. from /usr/include/json-c/json.h:22,
  277. from ogrgeojsonreader.h:34,
  278. from ogrgeojsonreader.cpp:30:
  279. /usr/include/json-c/json_object.h:290:56: note: declared here
  280. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  281. ^
  282. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  283. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  284. ^
  285. ogrgeojsonreader.cpp:666:34: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  286. json_object* poRev = json_object_object_get(poObjProps, "_rev");
  287. ^
  288. In file included from /usr/include/json-c/linkhash.h:16:0,
  289. from /usr/include/json-c/json.h:22,
  290. from ogrgeojsonreader.h:34,
  291. from ogrgeojsonreader.cpp:30:
  292. /usr/include/json-c/json_object.h:290:56: note: declared here
  293. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  294. ^
  295. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  296. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  297. ^
  298. ogrgeojsonreader.cpp:666:75: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  299. json_object* poRev = json_object_object_get(poObjProps, "_rev");
  300. ^
  301. In file included from /usr/include/json-c/linkhash.h:16:0,
  302. from /usr/include/json-c/json.h:22,
  303. from ogrgeojsonreader.h:34,
  304. from ogrgeojsonreader.cpp:30:
  305. /usr/include/json-c/json_object.h:290:56: note: declared here
  306. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  307. ^
  308. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  309. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  310. ^
  311. ogrgeojsonreader.cpp:670:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  312. poObjProps = json_object_object_get(poObjProps, "properties");
  313. ^
  314. In file included from /usr/include/json-c/linkhash.h:16:0,
  315. from /usr/include/json-c/json.h:22,
  316. from ogrgeojsonreader.h:34,
  317. from ogrgeojsonreader.cpp:30:
  318. /usr/include/json-c/json_object.h:290:56: note: declared here
  319. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  320. ^
  321. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  322. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  323. ^
  324. ogrgeojsonreader.cpp:670:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  325. poObjProps = json_object_object_get(poObjProps, "properties");
  326. ^
  327. In file included from /usr/include/json-c/linkhash.h:16:0,
  328. from /usr/include/json-c/json.h:22,
  329. from ogrgeojsonreader.h:34,
  330. from ogrgeojsonreader.cpp:30:
  331. /usr/include/json-c/json_object.h:290:56: note: declared here
  332. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  333. ^
  334. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  335. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  336. ^
  337. ogrgeojsonreader.cpp:670:73: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  338. poObjProps = json_object_object_get(poObjProps, "properties");
  339. ^
  340. In file included from /usr/include/json-c/linkhash.h:16:0,
  341. from /usr/include/json-c/json.h:22,
  342. from ogrgeojsonreader.h:34,
  343. from ogrgeojsonreader.cpp:30:
  344. /usr/include/json-c/json_object.h:290:56: note: declared here
  345. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  346. ^
  347. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  348. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  349. ^
  350. ogrsxflayer.cpp: In member function ‘virtual OGRFeature* OGRSXFLayer::GetNextRawFeature(long int)’:
  351. ogrsxflayer.cpp:800:10: warning: ‘eGeomType’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  352. else if (eGeomType == SXF_GT_TextTemplate ) // TODO realise this
  353. ^
  354. ogrsxflayer.cpp:689:10: warning: ‘code’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  355. else if (code == 0x05) // xxxx0101
  356. ^
  357. ogrgmedatasource.cpp: In member function ‘CPLHTTPResult* OGRGMEDataSource::MakeRequest(const char*, const char*)’:
  358. ogrgmedatasource.cpp:398:38: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  359. json_object *error_doc = json_object_object_get(error_response, "error");
  360. ^
  361. In file included from /usr/include/json-c/linkhash.h:16:0,
  362. from /usr/include/json-c/json.h:22,
  363. from ../geojson/ogrgeojsonreader.h:34,
  364. from ogr_gme.h:35,
  365. from ogrgmedatasource.cpp:31:
  366. /usr/include/json-c/json_object.h:290:56: note: declared here
  367. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  368. ^
  369. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  370. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  371. ^
  372. ogrgmedatasource.cpp:398:38: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  373. json_object *error_doc = json_object_object_get(error_response, "error");
  374. ^
  375. In file included from /usr/include/json-c/linkhash.h:16:0,
  376. from /usr/include/json-c/json.h:22,
  377. from ../geojson/ogrgeojsonreader.h:34,
  378. from ogr_gme.h:35,
  379. from ogrgmedatasource.cpp:31:
  380. /usr/include/json-c/json_object.h:290:56: note: declared here
  381. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  382. ^
  383. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  384. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  385. ^
  386. ogrgmedatasource.cpp:398:84: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  387. json_object *error_doc = json_object_object_get(error_response, "error");
  388. ^
  389. In file included from /usr/include/json-c/linkhash.h:16:0,
  390. from /usr/include/json-c/json.h:22,
  391. from ../geojson/ogrgeojsonreader.h:34,
  392. from ogr_gme.h:35,
  393. from ogrgmedatasource.cpp:31:
  394. /usr/include/json-c/json_object.h:290:56: note: declared here
  395. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  396. ^
  397. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  398. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  399. ^
  400. ogrgmedatasource.cpp:399:39: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  401. json_object *errors_doc = json_object_object_get(error_doc, "errors");
  402. ^
  403. In file included from /usr/include/json-c/linkhash.h:16:0,
  404. from /usr/include/json-c/json.h:22,
  405. from ../geojson/ogrgeojsonreader.h:34,
  406. from ogr_gme.h:35,
  407. from ogrgmedatasource.cpp:31:
  408. /usr/include/json-c/json_object.h:290:56: note: declared here
  409. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  410. ^
  411. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  412. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  413. ^
  414. ogrgmedatasource.cpp:399:39: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  415. json_object *errors_doc = json_object_object_get(error_doc, "errors");
  416. ^
  417. In file included from /usr/include/json-c/linkhash.h:16:0,
  418. from /usr/include/json-c/json.h:22,
  419. from ../geojson/ogrgeojsonreader.h:34,
  420. from ogr_gme.h:35,
  421. from ogrgmedatasource.cpp:31:
  422. /usr/include/json-c/json_object.h:290:56: note: declared here
  423. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  424. ^
  425. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  426. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  427. ^
  428. ogrgmedatasource.cpp:399:81: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  429. json_object *errors_doc = json_object_object_get(error_doc, "errors");
  430. ^
  431. In file included from /usr/include/json-c/linkhash.h:16:0,
  432. from /usr/include/json-c/json.h:22,
  433. from ../geojson/ogrgeojsonreader.h:34,
  434. from ogr_gme.h:35,
  435. from ogrgmedatasource.cpp:31:
  436. /usr/include/json-c/json_object.h:290:56: note: declared here
  437. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  438. ^
  439. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  440. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  441. ^
  442. ogrgmedatasource.cpp:432:47: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  443. json_object *code_child = json_object_object_get(error_doc, "code");
  444. ^
  445. In file included from /usr/include/json-c/linkhash.h:16:0,
  446. from /usr/include/json-c/json.h:22,
  447. from ../geojson/ogrgeojsonreader.h:34,
  448. from ogr_gme.h:35,
  449. from ogrgmedatasource.cpp:31:
  450. /usr/include/json-c/json_object.h:290:56: note: declared here
  451. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  452. ^
  453. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  454. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  455. ^
  456. ogrgmedatasource.cpp:432:47: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  457. json_object *code_child = json_object_object_get(error_doc, "code");
  458. ^
  459. In file included from /usr/include/json-c/linkhash.h:16:0,
  460. from /usr/include/json-c/json.h:22,
  461. from ../geojson/ogrgeojsonreader.h:34,
  462. from ogr_gme.h:35,
  463. from ogrgmedatasource.cpp:31:
  464. /usr/include/json-c/json_object.h:290:56: note: declared here
  465. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  466. ^
  467. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  468. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  469. ^
  470. ogrgmedatasource.cpp:432:87: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  471. json_object *code_child = json_object_object_get(error_doc, "code");
  472. ^
  473. In file included from /usr/include/json-c/linkhash.h:16:0,
  474. from /usr/include/json-c/json.h:22,
  475. from ../geojson/ogrgeojsonreader.h:34,
  476. from ogr_gme.h:35,
  477. from ogrgmedatasource.cpp:31:
  478. /usr/include/json-c/json_object.h:290:56: note: declared here
  479. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  480. ^
  481. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  482. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  483. ^
  484. ogrgmedatasource.cpp: In member function ‘CPLHTTPResult* OGRGMEDataSource::PostRequest(const char*, const char*)’:
  485. ogrgmedatasource.cpp:543:34: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  486. json_object *error_doc = json_object_object_get(error_response, "error");
  487. ^
  488. In file included from /usr/include/json-c/linkhash.h:16:0,
  489. from /usr/include/json-c/json.h:22,
  490. from ../geojson/ogrgeojsonreader.h:34,
  491. from ogr_gme.h:35,
  492. from ogrgmedatasource.cpp:31:
  493. /usr/include/json-c/json_object.h:290:56: note: declared here
  494. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  495. ^
  496. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  497. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  498. ^
  499. ogrgmedatasource.cpp:543:34: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  500. json_object *error_doc = json_object_object_get(error_response, "error");
  501. ^
  502. In file included from /usr/include/json-c/linkhash.h:16:0,
  503. from /usr/include/json-c/json.h:22,
  504. from ../geojson/ogrgeojsonreader.h:34,
  505. from ogr_gme.h:35,
  506. from ogrgmedatasource.cpp:31:
  507. /usr/include/json-c/json_object.h:290:56: note: declared here
  508. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  509. ^
  510. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  511. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  512. ^
  513. ogrgmedatasource.cpp:543:80: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  514. json_object *error_doc = json_object_object_get(error_response, "error");
  515. ^
  516. In file included from /usr/include/json-c/linkhash.h:16:0,
  517. from /usr/include/json-c/json.h:22,
  518. from ../geojson/ogrgeojsonreader.h:34,
  519. from ogr_gme.h:35,
  520. from ogrgmedatasource.cpp:31:
  521. /usr/include/json-c/json_object.h:290:56: note: declared here
  522. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  523. ^
  524. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  525. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  526. ^
  527. ogrgmedatasource.cpp:544:35: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  528. json_object *errors_doc = json_object_object_get(error_doc, "errors");
  529. ^
  530. In file included from /usr/include/json-c/linkhash.h:16:0,
  531. from /usr/include/json-c/json.h:22,
  532. from ../geojson/ogrgeojsonreader.h:34,
  533. from ogr_gme.h:35,
  534. from ogrgmedatasource.cpp:31:
  535. /usr/include/json-c/json_object.h:290:56: note: declared here
  536. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  537. ^
  538. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  539. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  540. ^
  541. ogrgmedatasource.cpp:544:35: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  542. json_object *errors_doc = json_object_object_get(error_doc, "errors");
  543. ^
  544. In file included from /usr/include/json-c/linkhash.h:16:0,
  545. from /usr/include/json-c/json.h:22,
  546. from ../geojson/ogrgeojsonreader.h:34,
  547. from ogr_gme.h:35,
  548. from ogrgmedatasource.cpp:31:
  549. /usr/include/json-c/json_object.h:290:56: note: declared here
  550. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  551. ^
  552. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  553. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  554. ^
  555. ogrgmedatasource.cpp:544:77: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  556. json_object *errors_doc = json_object_object_get(error_doc, "errors");
  557. ^
  558. In file included from /usr/include/json-c/linkhash.h:16:0,
  559. from /usr/include/json-c/json.h:22,
  560. from ../geojson/ogrgeojsonreader.h:34,
  561. from ogr_gme.h:35,
  562. from ogrgmedatasource.cpp:31:
  563. /usr/include/json-c/json_object.h:290:56: note: declared here
  564. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  565. ^
  566. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  567. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  568. ^
  569. ogrgmedatasource.cpp:577:43: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  570. json_object *code_child = json_object_object_get(error_doc, "code");
  571. ^
  572. In file included from /usr/include/json-c/linkhash.h:16:0,
  573. from /usr/include/json-c/json.h:22,
  574. from ../geojson/ogrgeojsonreader.h:34,
  575. from ogr_gme.h:35,
  576. from ogrgmedatasource.cpp:31:
  577. /usr/include/json-c/json_object.h:290:56: note: declared here
  578. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  579. ^
  580. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  581. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  582. ^
  583. ogrgmedatasource.cpp:577:43: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  584. json_object *code_child = json_object_object_get(error_doc, "code");
  585. ^
  586. In file included from /usr/include/json-c/linkhash.h:16:0,
  587. from /usr/include/json-c/json.h:22,
  588. from ../geojson/ogrgeojsonreader.h:34,
  589. from ogr_gme.h:35,
  590. from ogrgmedatasource.cpp:31:
  591. /usr/include/json-c/json_object.h:290:56: note: declared here
  592. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  593. ^
  594. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  595. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  596. ^
  597. ogrgmedatasource.cpp:577:83: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  598. json_object *code_child = json_object_object_get(error_doc, "code");
  599. ^
  600. In file included from /usr/include/json-c/linkhash.h:16:0,
  601. from /usr/include/json-c/json.h:22,
  602. from ../geojson/ogrgeojsonreader.h:34,
  603. from ogr_gme.h:35,
  604. from ogrgmedatasource.cpp:31:
  605. /usr/include/json-c/json_object.h:290:56: note: declared here
  606. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  607. ^
  608. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  609. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  610. ^
  611. ogrgmelayer.cpp: In member function ‘int OGRGMELayer::FetchDescribe()’:
  612. ogrgmelayer.cpp:184:31: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  613. json_object *schema_doc = json_object_object_get(table_doc, "schema");
  614. ^
  615. In file included from /usr/include/json-c/linkhash.h:16:0,
  616. from /usr/include/json-c/json.h:22,
  617. from ../geojson/ogrgeojsonreader.h:34,
  618. from ogr_gme.h:35,
  619. from ogrgmelayer.cpp:32:
  620. /usr/include/json-c/json_object.h:290:56: note: declared here
  621. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  622. ^
  623. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  624. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  625. ^
  626. ogrgmelayer.cpp:184:31: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  627. json_object *schema_doc = json_object_object_get(table_doc, "schema");
  628. ^
  629. In file included from /usr/include/json-c/linkhash.h:16:0,
  630. from /usr/include/json-c/json.h:22,
  631. from ../geojson/ogrgeojsonreader.h:34,
  632. from ogr_gme.h:35,
  633. from ogrgmelayer.cpp:32:
  634. /usr/include/json-c/json_object.h:290:56: note: declared here
  635. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  636. ^
  637. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  638. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  639. ^
  640. ogrgmelayer.cpp:184:73: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  641. json_object *schema_doc = json_object_object_get(table_doc, "schema");
  642. ^
  643. In file included from /usr/include/json-c/linkhash.h:16:0,
  644. from /usr/include/json-c/json.h:22,
  645. from ../geojson/ogrgeojsonreader.h:34,
  646. from ogr_gme.h:35,
  647. from ogrgmelayer.cpp:32:
  648. /usr/include/json-c/json_object.h:290:56: note: declared here
  649. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  650. ^
  651. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  652. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  653. ^
  654. ogrgmelayer.cpp:185:32: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  655. json_object *columns_doc = json_object_object_get(schema_doc, "columns");
  656. ^
  657. In file included from /usr/include/json-c/linkhash.h:16:0,
  658. from /usr/include/json-c/json.h:22,
  659. from ../geojson/ogrgeojsonreader.h:34,
  660. from ogr_gme.h:35,
  661. from ogrgmelayer.cpp:32:
  662. /usr/include/json-c/json_object.h:290:56: note: declared here
  663. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  664. ^
  665. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  666. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  667. ^
  668. ogrgmelayer.cpp:185:32: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  669. json_object *columns_doc = json_object_object_get(schema_doc, "columns");
  670. ^
  671. In file included from /usr/include/json-c/linkhash.h:16:0,
  672. from /usr/include/json-c/json.h:22,
  673. from ../geojson/ogrgeojsonreader.h:34,
  674. from ogr_gme.h:35,
  675. from ogrgmelayer.cpp:32:
  676. /usr/include/json-c/json_object.h:290:56: note: declared here
  677. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  678. ^
  679. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  680. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  681. ^
  682. ogrgmelayer.cpp:185:76: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  683. json_object *columns_doc = json_object_object_get(schema_doc, "columns");
  684. ^
  685. In file included from /usr/include/json-c/linkhash.h:16:0,
  686. from /usr/include/json-c/json.h:22,
  687. from ../geojson/ogrgeojsonreader.h:34,
  688. from ogr_gme.h:35,
  689. from ogrgmelayer.cpp:32:
  690. /usr/include/json-c/json_object.h:290:56: note: declared here
  691. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  692. ^
  693. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  694. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  695. ^
  696. ogrgmelayer.cpp: In member function ‘void OGRGMELayer::GetPageOfFeatures()’:
  697. ogrgmelayer.cpp:314:9: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  698. json_object_object_get(current_feature_page, "features");
  699. ^
  700. In file included from /usr/include/json-c/linkhash.h:16:0,
  701. from /usr/include/json-c/json.h:22,
  702. from ../geojson/ogrgeojsonreader.h:34,
  703. from ogr_gme.h:35,
  704. from ogrgmelayer.cpp:32:
  705. /usr/include/json-c/json_object.h:290:56: note: declared here
  706. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  707. ^
  708. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  709. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  710. ^
  711. ogrgmelayer.cpp:314:9: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  712. json_object_object_get(current_feature_page, "features");
  713. ^
  714. In file included from /usr/include/json-c/linkhash.h:16:0,
  715. from /usr/include/json-c/json.h:22,
  716. from ../geojson/ogrgeojsonreader.h:34,
  717. from ogr_gme.h:35,
  718. from ogrgmelayer.cpp:32:
  719. /usr/include/json-c/json_object.h:290:56: note: declared here
  720. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  721. ^
  722. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  723. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  724. ^
  725. ogrgmelayer.cpp:314:64: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  726. json_object_object_get(current_feature_page, "features");
  727. ^
  728. In file included from /usr/include/json-c/linkhash.h:16:0,
  729. from /usr/include/json-c/json.h:22,
  730. from ../geojson/ogrgeojsonreader.h:34,
  731. from ogr_gme.h:35,
  732. from ogrgmelayer.cpp:32:
  733. /usr/include/json-c/json_object.h:290:56: note: declared here
  734. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  735. ^
  736. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  737. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  738. ^
  739. ogrgmelayer.cpp: In member function ‘OGRFeature* OGRGMELayer::GetNextRawFeature()’:
  740. ogrgmelayer.cpp:352:9: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  741. json_object_object_get(feature_obj, "properties");
  742. ^
  743. In file included from /usr/include/json-c/linkhash.h:16:0,
  744. from /usr/include/json-c/json.h:22,
  745. from ../geojson/ogrgeojsonreader.h:34,
  746. from ogr_gme.h:35,
  747. from ogrgmelayer.cpp:32:
  748. /usr/include/json-c/json_object.h:290:56: note: declared here
  749. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  750. ^
  751. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  752. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  753. ^
  754. ogrgmelayer.cpp:352:9: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  755. json_object_object_get(feature_obj, "properties");
  756. ^
  757. In file included from /usr/include/json-c/linkhash.h:16:0,
  758. from /usr/include/json-c/json.h:22,
  759. from ../geojson/ogrgeojsonreader.h:34,
  760. from ogr_gme.h:35,
  761. from ogrgmelayer.cpp:32:
  762. /usr/include/json-c/json_object.h:290:56: note: declared here
  763. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  764. ^
  765. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  766. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  767. ^
  768. ogrgmelayer.cpp:352:57: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  769. json_object_object_get(feature_obj, "properties");
  770. ^
  771. In file included from /usr/include/json-c/linkhash.h:16:0,
  772. from /usr/include/json-c/json.h:22,
  773. from ../geojson/ogrgeojsonreader.h:34,
  774. from ogr_gme.h:35,
  775. from ogrgmelayer.cpp:32:
  776. /usr/include/json-c/json_object.h:290:56: note: declared here
  777. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  778. ^
  779. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  780. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  781. ^
  782. ogrgmelayer.cpp:381:9: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  783. json_object_object_get(feature_obj, "geometry");
  784. ^
  785. In file included from /usr/include/json-c/linkhash.h:16:0,
  786. from /usr/include/json-c/json.h:22,
  787. from ../geojson/ogrgeojsonreader.h:34,
  788. from ogr_gme.h:35,
  789. from ogrgmelayer.cpp:32:
  790. /usr/include/json-c/json_object.h:290:56: note: declared here
  791. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  792. ^
  793. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  794. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  795. ^
  796. ogrgmelayer.cpp:381:9: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  797. json_object_object_get(feature_obj, "geometry");
  798. ^
  799. In file included from /usr/include/json-c/linkhash.h:16:0,
  800. from /usr/include/json-c/json.h:22,
  801. from ../geojson/ogrgeojsonreader.h:34,
  802. from ogr_gme.h:35,
  803. from ogrgmelayer.cpp:32:
  804. /usr/include/json-c/json_object.h:290:56: note: declared here
  805. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  806. ^
  807. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  808. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  809. ^
  810. ogrgmelayer.cpp:381:55: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  811. json_object_object_get(feature_obj, "geometry");
  812. ^
  813. In file included from /usr/include/json-c/linkhash.h:16:0,
  814. from /usr/include/json-c/json.h:22,
  815. from ../geojson/ogrgeojsonreader.h:34,
  816. from ogr_gme.h:35,
  817. from ogrgmelayer.cpp:32:
  818. /usr/include/json-c/json_object.h:290:56: note: declared here
  819. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  820. ^
  821. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  822. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  823. ^
  824. ogrgmejson.cpp: In function ‘const char* OGRGMEGetJSONString(json_object*, const char*, const char*)’:
  825. ogrgmejson.cpp:545:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  826. json_object *child = json_object_object_get(parent, field);
  827. ^
  828. In file included from /usr/include/json-c/linkhash.h:16:0,
  829. from /usr/include/json-c/json.h:22,
  830. from ogrgmejson.h:36,
  831. from ogrgmejson.cpp:31:
  832. /usr/include/json-c/json_object.h:290:56: note: declared here
  833. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  834. ^
  835. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  836. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  837. ^
  838. ogrgmejson.cpp:545:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  839. json_object *child = json_object_object_get(parent, field);
  840. ^
  841. In file included from /usr/include/json-c/linkhash.h:16:0,
  842. from /usr/include/json-c/json.h:22,
  843. from ogrgmejson.h:36,
  844. from ogrgmejson.cpp:31:
  845. /usr/include/json-c/json_object.h:290:56: note: declared here
  846. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  847. ^
  848. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  849. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  850. ^
  851. ogrgmejson.cpp:545:62: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  852. json_object *child = json_object_object_get(parent, field);
  853. ^
  854. In file included from /usr/include/json-c/linkhash.h:16:0,
  855. from /usr/include/json-c/json.h:22,
  856. from ogrgmejson.h:36,
  857. from ogrgmejson.cpp:31:
  858. /usr/include/json-c/json_object.h:290:56: note: declared here
  859. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  860. ^
  861. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  862. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  863. ^
  864. ogrcouchdbdatasource.cpp: In member function ‘OGRLayer* OGRCouchDBDataSource::OpenDatabase(const char*)’:
  865. ogrcouchdbdatasource.cpp:158:13: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  866. json_object_object_get(poAnswerObj, "db_name") == NULL )
  867. ^
  868. In file included from /usr/include/json-c/linkhash.h:16:0,
  869. from /usr/include/json-c/json.h:22,
  870. from ogr_couchdb.h:35,
  871. from ogrcouchdbdatasource.cpp:30:
  872. /usr/include/json-c/json_object.h:290:56: note: declared here
  873. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  874. ^
  875. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  876. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  877. ^
  878. ogrcouchdbdatasource.cpp:158:13: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  879. json_object_object_get(poAnswerObj, "db_name") == NULL )
  880. ^
  881. In file included from /usr/include/json-c/linkhash.h:16:0,
  882. from /usr/include/json-c/json.h:22,
  883. from ogr_couchdb.h:35,
  884. from ogrcouchdbdatasource.cpp:30:
  885. /usr/include/json-c/json_object.h:290:56: note: declared here
  886. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  887. ^
  888. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  889. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  890. ^
  891. ogrcouchdbdatasource.cpp:158:58: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  892. json_object_object_get(poAnswerObj, "db_name") == NULL )
  893. ^
  894. In file included from /usr/include/json-c/linkhash.h:16:0,
  895. from /usr/include/json-c/json.h:22,
  896. from ogr_couchdb.h:35,
  897. from ogrcouchdbdatasource.cpp:30:
  898. /usr/include/json-c/json_object.h:290:56: note: declared here
  899. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  900. ^
  901. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  902. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  903. ^
  904. ogrcouchdbdatasource.cpp:168:10: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  905. if ( json_object_object_get(poAnswerObj, "update_seq") != NULL )
  906. ^
  907. In file included from /usr/include/json-c/linkhash.h:16:0,
  908. from /usr/include/json-c/json.h:22,
  909. from ogr_couchdb.h:35,
  910. from ogrcouchdbdatasource.cpp:30:
  911. /usr/include/json-c/json_object.h:290:56: note: declared here
  912. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  913. ^
  914. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  915. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  916. ^
  917. ogrcouchdbdatasource.cpp:168:10: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  918. if ( json_object_object_get(poAnswerObj, "update_seq") != NULL )
  919. ^
  920. In file included from /usr/include/json-c/linkhash.h:16:0,
  921. from /usr/include/json-c/json.h:22,
  922. from ogr_couchdb.h:35,
  923. from ogrcouchdbdatasource.cpp:30:
  924. /usr/include/json-c/json_object.h:290:56: note: declared here
  925. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  926. ^
  927. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  928. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  929. ^
  930. ogrcouchdbdatasource.cpp:168:58: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  931. if ( json_object_object_get(poAnswerObj, "update_seq") != NULL )
  932. ^
  933. In file included from /usr/include/json-c/linkhash.h:16:0,
  934. from /usr/include/json-c/json.h:22,
  935. from ogr_couchdb.h:35,
  936. from ogrcouchdbdatasource.cpp:30:
  937. /usr/include/json-c/json_object.h:290:56: note: declared here
  938. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  939. ^
  940. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  941. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  942. ^
  943. ogrcouchdbdatasource.cpp:170:46: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  944. int nUpdateSeq = json_object_get_int(json_object_object_get(poAnswerObj, "update_seq"));
  945. ^
  946. In file included from /usr/include/json-c/linkhash.h:16:0,
  947. from /usr/include/json-c/json.h:22,
  948. from ogr_couchdb.h:35,
  949. from ogrcouchdbdatasource.cpp:30:
  950. /usr/include/json-c/json_object.h:290:56: note: declared here
  951. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  952. ^
  953. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  954. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  955. ^
  956. ogrcouchdbdatasource.cpp:170:46: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  957. int nUpdateSeq = json_object_get_int(json_object_object_get(poAnswerObj, "update_seq"));
  958. ^
  959. In file included from /usr/include/json-c/linkhash.h:16:0,
  960. from /usr/include/json-c/json.h:22,
  961. from ogr_couchdb.h:35,
  962. from ogrcouchdbdatasource.cpp:30:
  963. /usr/include/json-c/json_object.h:290:56: note: declared here
  964. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  965. ^
  966. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  967. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  968. ^
  969. ogrcouchdbdatasource.cpp:170:94: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  970. int nUpdateSeq = json_object_get_int(json_object_object_get(poAnswerObj, "update_seq"));
  971. ^
  972. In file included from /usr/include/json-c/linkhash.h:16:0,
  973. from /usr/include/json-c/json.h:22,
  974. from ogr_couchdb.h:35,
  975. from ogrcouchdbdatasource.cpp:30:
  976. /usr/include/json-c/json_object.h:290:56: note: declared here
  977. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  978. ^
  979. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  980. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  981. ^
  982. ogrcouchdbdatasource.cpp: In member function ‘int OGRCouchDBDataSource::Open(const char*, int)’:
  983. ogrcouchdbdatasource.cpp:262:36: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  984. json_object* poError = json_object_object_get(poAnswerObj, "error");
  985. ^
  986. In file included from /usr/include/json-c/linkhash.h:16:0,
  987. from /usr/include/json-c/json.h:22,
  988. from ogr_couchdb.h:35,
  989. from ogrcouchdbdatasource.cpp:30:
  990. /usr/include/json-c/json_object.h:290:56: note: declared here
  991. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  992. ^
  993. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  994. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  995. ^
  996. ogrcouchdbdatasource.cpp:262:36: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  997. json_object* poError = json_object_object_get(poAnswerObj, "error");
  998. ^
  999. In file included from /usr/include/json-c/linkhash.h:16:0,
  1000. from /usr/include/json-c/json.h:22,
  1001. from ogr_couchdb.h:35,
  1002. from ogrcouchdbdatasource.cpp:30:
  1003. /usr/include/json-c/json_object.h:290:56: note: declared here
  1004. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1005. ^
  1006. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1007. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1008. ^
  1009. ogrcouchdbdatasource.cpp:262:79: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1010. json_object* poError = json_object_object_get(poAnswerObj, "error");
  1011. ^
  1012. In file included from /usr/include/json-c/linkhash.h:16:0,
  1013. from /usr/include/json-c/json.h:22,
  1014. from ogr_couchdb.h:35,
  1015. from ogrcouchdbdatasource.cpp:30:
  1016. /usr/include/json-c/json_object.h:290:56: note: declared here
  1017. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1018. ^
  1019. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1020. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1021. ^
  1022. ogrcouchdbdatasource.cpp:263:37: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1023. json_object* poReason = json_object_object_get(poAnswerObj, "reason");
  1024. ^
  1025. In file included from /usr/include/json-c/linkhash.h:16:0,
  1026. from /usr/include/json-c/json.h:22,
  1027. from ogr_couchdb.h:35,
  1028. from ogrcouchdbdatasource.cpp:30:
  1029. /usr/include/json-c/json_object.h:290:56: note: declared here
  1030. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1031. ^
  1032. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1033. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1034. ^
  1035. ogrcouchdbdatasource.cpp:263:37: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1036. json_object* poReason = json_object_object_get(poAnswerObj, "reason");
  1037. ^
  1038. In file included from /usr/include/json-c/linkhash.h:16:0,
  1039. from /usr/include/json-c/json.h:22,
  1040. from ogr_couchdb.h:35,
  1041. from ogrcouchdbdatasource.cpp:30:
  1042. /usr/include/json-c/json_object.h:290:56: note: declared here
  1043. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1044. ^
  1045. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1046. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1047. ^
  1048. ogrcouchdbdatasource.cpp:263:81: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1049. json_object* poReason = json_object_object_get(poAnswerObj, "reason");
  1050. ^
  1051. In file included from /usr/include/json-c/linkhash.h:16:0,
  1052. from /usr/include/json-c/json.h:22,
  1053. from ogr_couchdb.h:35,
  1054. from ogrcouchdbdatasource.cpp:30:
  1055. /usr/include/json-c/json_object.h:290:56: note: declared here
  1056. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1057. ^
  1058. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1059. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1060. ^
  1061. ogrcouchdbdatasource.cpp: In member function ‘OGRLayer* OGRCouchDBDataSource::ExecuteSQLStats(const char*)’:
  1062. ogrcouchdbdatasource.cpp:887:21: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1063. (poRows = json_object_object_get(poAnswerObj, "rows")) != NULL &&
  1064. ^
  1065. In file included from /usr/include/json-c/linkhash.h:16:0,
  1066. from /usr/include/json-c/json.h:22,
  1067. from ogr_couchdb.h:35,
  1068. from ogrcouchdbdatasource.cpp:30:
  1069. /usr/include/json-c/json_object.h:290:56: note: declared here
  1070. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1071. ^
  1072. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1073. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1074. ^
  1075. ogrcouchdbdatasource.cpp:887:21: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1076. (poRows = json_object_object_get(poAnswerObj, "rows")) != NULL &&
  1077. ^
  1078. In file included from /usr/include/json-c/linkhash.h:16:0,
  1079. from /usr/include/json-c/json.h:22,
  1080. from ogr_couchdb.h:35,
  1081. from ogrcouchdbdatasource.cpp:30:
  1082. /usr/include/json-c/json_object.h:290:56: note: declared here
  1083. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1084. ^
  1085. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1086. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1087. ^
  1088. ogrcouchdbdatasource.cpp:887:63: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1089. (poRows = json_object_object_get(poAnswerObj, "rows")) != NULL &&
  1090. ^
  1091. In file included from /usr/include/json-c/linkhash.h:16:0,
  1092. from /usr/include/json-c/json.h:22,
  1093. from ogr_couchdb.h:35,
  1094. from ogrcouchdbdatasource.cpp:30:
  1095. /usr/include/json-c/json_object.h:290:56: note: declared here
  1096. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1097. ^
  1098. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1099. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1100. ^
  1101. ogrcouchdbdatasource.cpp:908:28: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1102. json_object* poValue = json_object_object_get(poRow, "value");
  1103. ^
  1104. In file included from /usr/include/json-c/linkhash.h:16:0,
  1105. from /usr/include/json-c/json.h:22,
  1106. from ogr_couchdb.h:35,
  1107. from ogrcouchdbdatasource.cpp:30:
  1108. /usr/include/json-c/json_object.h:290:56: note: declared here
  1109. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1110. ^
  1111. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1112. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1113. ^
  1114. ogrcouchdbdatasource.cpp:908:28: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1115. json_object* poValue = json_object_object_get(poRow, "value");
  1116. ^
  1117. In file included from /usr/include/json-c/linkhash.h:16:0,
  1118. from /usr/include/json-c/json.h:22,
  1119. from ogr_couchdb.h:35,
  1120. from ogrcouchdbdatasource.cpp:30:
  1121. /usr/include/json-c/json_object.h:290:56: note: declared here
  1122. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1123. ^
  1124. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1125. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1126. ^
  1127. ogrcouchdbdatasource.cpp:908:65: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1128. json_object* poValue = json_object_object_get(poRow, "value");
  1129. ^
  1130. In file included from /usr/include/json-c/linkhash.h:16:0,
  1131. from /usr/include/json-c/json.h:22,
  1132. from ogr_couchdb.h:35,
  1133. from ogrcouchdbdatasource.cpp:30:
  1134. /usr/include/json-c/json_object.h:290:56: note: declared here
  1135. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1136. ^
  1137. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1138. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1139. ^
  1140. ogrcouchdbdatasource.cpp:915:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1141. json_object* poSum = json_object_object_get(poValue, "sum");
  1142. ^
  1143. In file included from /usr/include/json-c/linkhash.h:16:0,
  1144. from /usr/include/json-c/json.h:22,
  1145. from ogr_couchdb.h:35,
  1146. from ogrcouchdbdatasource.cpp:30:
  1147. /usr/include/json-c/json_object.h:290:56: note: declared here
  1148. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1149. ^
  1150. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1151. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1152. ^
  1153. ogrcouchdbdatasource.cpp:915:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1154. json_object* poSum = json_object_object_get(poValue, "sum");
  1155. ^
  1156. In file included from /usr/include/json-c/linkhash.h:16:0,
  1157. from /usr/include/json-c/json.h:22,
  1158. from ogr_couchdb.h:35,
  1159. from ogrcouchdbdatasource.cpp:30:
  1160. /usr/include/json-c/json_object.h:290:56: note: declared here
  1161. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1162. ^
  1163. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1164. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1165. ^
  1166. ogrcouchdbdatasource.cpp:915:63: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1167. json_object* poSum = json_object_object_get(poValue, "sum");
  1168. ^
  1169. In file included from /usr/include/json-c/linkhash.h:16:0,
  1170. from /usr/include/json-c/json.h:22,
  1171. from ogr_couchdb.h:35,
  1172. from ogrcouchdbdatasource.cpp:30:
  1173. /usr/include/json-c/json_object.h:290:56: note: declared here
  1174. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1175. ^
  1176. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1177. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1178. ^
  1179. ogrcouchdbdatasource.cpp:916:28: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1180. json_object* poCount = json_object_object_get(poValue, "count");
  1181. ^
  1182. In file included from /usr/include/json-c/linkhash.h:16:0,
  1183. from /usr/include/json-c/json.h:22,
  1184. from ogr_couchdb.h:35,
  1185. from ogrcouchdbdatasource.cpp:30:
  1186. /usr/include/json-c/json_object.h:290:56: note: declared here
  1187. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1188. ^
  1189. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1190. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1191. ^
  1192. ogrcouchdbdatasource.cpp:916:28: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1193. json_object* poCount = json_object_object_get(poValue, "count");
  1194. ^
  1195. In file included from /usr/include/json-c/linkhash.h:16:0,
  1196. from /usr/include/json-c/json.h:22,
  1197. from ogr_couchdb.h:35,
  1198. from ogrcouchdbdatasource.cpp:30:
  1199. /usr/include/json-c/json_object.h:290:56: note: declared here
  1200. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1201. ^
  1202. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1203. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1204. ^
  1205. ogrcouchdbdatasource.cpp:916:67: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1206. json_object* poCount = json_object_object_get(poValue, "count");
  1207. ^
  1208. In file included from /usr/include/json-c/linkhash.h:16:0,
  1209. from /usr/include/json-c/json.h:22,
  1210. from ogr_couchdb.h:35,
  1211. from ogrcouchdbdatasource.cpp:30:
  1212. /usr/include/json-c/json_object.h:290:56: note: declared here
  1213. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1214. ^
  1215. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1216. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1217. ^
  1218. ogrcouchdbdatasource.cpp:917:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1219. json_object* poMin = json_object_object_get(poValue, "min");
  1220. ^
  1221. In file included from /usr/include/json-c/linkhash.h:16:0,
  1222. from /usr/include/json-c/json.h:22,
  1223. from ogr_couchdb.h:35,
  1224. from ogrcouchdbdatasource.cpp:30:
  1225. /usr/include/json-c/json_object.h:290:56: note: declared here
  1226. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1227. ^
  1228. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1229. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1230. ^
  1231. ogrcouchdbdatasource.cpp:917:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1232. json_object* poMin = json_object_object_get(poValue, "min");
  1233. ^
  1234. In file included from /usr/include/json-c/linkhash.h:16:0,
  1235. from /usr/include/json-c/json.h:22,
  1236. from ogr_couchdb.h:35,
  1237. from ogrcouchdbdatasource.cpp:30:
  1238. /usr/include/json-c/json_object.h:290:56: note: declared here
  1239. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1240. ^
  1241. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1242. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1243. ^
  1244. ogrcouchdbdatasource.cpp:917:63: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1245. json_object* poMin = json_object_object_get(poValue, "min");
  1246. ^
  1247. In file included from /usr/include/json-c/linkhash.h:16:0,
  1248. from /usr/include/json-c/json.h:22,
  1249. from ogr_couchdb.h:35,
  1250. from ogrcouchdbdatasource.cpp:30:
  1251. /usr/include/json-c/json_object.h:290:56: note: declared here
  1252. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1253. ^
  1254. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1255. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1256. ^
  1257. ogrcouchdbdatasource.cpp:918:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1258. json_object* poMax = json_object_object_get(poValue, "max");
  1259. ^
  1260. In file included from /usr/include/json-c/linkhash.h:16:0,
  1261. from /usr/include/json-c/json.h:22,
  1262. from ogr_couchdb.h:35,
  1263. from ogrcouchdbdatasource.cpp:30:
  1264. /usr/include/json-c/json_object.h:290:56: note: declared here
  1265. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1266. ^
  1267. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1268. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1269. ^
  1270. ogrcouchdbdatasource.cpp:918:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1271. json_object* poMax = json_object_object_get(poValue, "max");
  1272. ^
  1273. In file included from /usr/include/json-c/linkhash.h:16:0,
  1274. from /usr/include/json-c/json.h:22,
  1275. from ogr_couchdb.h:35,
  1276. from ogrcouchdbdatasource.cpp:30:
  1277. /usr/include/json-c/json_object.h:290:56: note: declared here
  1278. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1279. ^
  1280. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1281. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1282. ^
  1283. ogrcouchdbdatasource.cpp:918:63: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1284. json_object* poMax = json_object_object_get(poValue, "max");
  1285. ^
  1286. In file included from /usr/include/json-c/linkhash.h:16:0,
  1287. from /usr/include/json-c/json.h:22,
  1288. from ogr_couchdb.h:35,
  1289. from ogrcouchdbdatasource.cpp:30:
  1290. /usr/include/json-c/json_object.h:290:56: note: declared here
  1291. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1292. ^
  1293. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1294. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1295. ^
  1296. ogrcouchdbdatasource.cpp: In static member function ‘static int OGRCouchDBDataSource::IsError(json_object*, const char*)’:
  1297. ogrcouchdbdatasource.cpp:1143:28: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1298. json_object* poError = json_object_object_get(poAnswerObj, "error");
  1299. ^
  1300. In file included from /usr/include/json-c/linkhash.h:16:0,
  1301. from /usr/include/json-c/json.h:22,
  1302. from ogr_couchdb.h:35,
  1303. from ogrcouchdbdatasource.cpp:30:
  1304. /usr/include/json-c/json_object.h:290:56: note: declared here
  1305. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1306. ^
  1307. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1308. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1309. ^
  1310. ogrcouchdbdatasource.cpp:1143:28: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1311. json_object* poError = json_object_object_get(poAnswerObj, "error");
  1312. ^
  1313. In file included from /usr/include/json-c/linkhash.h:16:0,
  1314. from /usr/include/json-c/json.h:22,
  1315. from ogr_couchdb.h:35,
  1316. from ogrcouchdbdatasource.cpp:30:
  1317. /usr/include/json-c/json_object.h:290:56: note: declared here
  1318. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1319. ^
  1320. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1321. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1322. ^
  1323. ogrcouchdbdatasource.cpp:1143:71: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1324. json_object* poError = json_object_object_get(poAnswerObj, "error");
  1325. ^
  1326. In file included from /usr/include/json-c/linkhash.h:16:0,
  1327. from /usr/include/json-c/json.h:22,
  1328. from ogr_couchdb.h:35,
  1329. from ogrcouchdbdatasource.cpp:30:
  1330. /usr/include/json-c/json_object.h:290:56: note: declared here
  1331. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1332. ^
  1333. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1334. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1335. ^
  1336. ogrcouchdbdatasource.cpp:1144:29: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1337. json_object* poReason = json_object_object_get(poAnswerObj, "reason");
  1338. ^
  1339. In file included from /usr/include/json-c/linkhash.h:16:0,
  1340. from /usr/include/json-c/json.h:22,
  1341. from ogr_couchdb.h:35,
  1342. from ogrcouchdbdatasource.cpp:30:
  1343. /usr/include/json-c/json_object.h:290:56: note: declared here
  1344. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1345. ^
  1346. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1347. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1348. ^
  1349. ogrcouchdbdatasource.cpp:1144:29: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1350. json_object* poReason = json_object_object_get(poAnswerObj, "reason");
  1351. ^
  1352. In file included from /usr/include/json-c/linkhash.h:16:0,
  1353. from /usr/include/json-c/json.h:22,
  1354. from ogr_couchdb.h:35,
  1355. from ogrcouchdbdatasource.cpp:30:
  1356. /usr/include/json-c/json_object.h:290:56: note: declared here
  1357. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1358. ^
  1359. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1360. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1361. ^
  1362. ogrcouchdbdatasource.cpp:1144:73: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1363. json_object* poReason = json_object_object_get(poAnswerObj, "reason");
  1364. ^
  1365. In file included from /usr/include/json-c/linkhash.h:16:0,
  1366. from /usr/include/json-c/json.h:22,
  1367. from ogr_couchdb.h:35,
  1368. from ogrcouchdbdatasource.cpp:30:
  1369. /usr/include/json-c/json_object.h:290:56: note: declared here
  1370. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1371. ^
  1372. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1373. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1374. ^
  1375. ogrcouchdbdatasource.cpp: In static member function ‘static int OGRCouchDBDataSource::IsOK(json_object*, const char*)’:
  1376. ogrcouchdbdatasource.cpp:1178:25: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1377. json_object* poOK = json_object_object_get(poAnswerObj, "ok");
  1378. ^
  1379. In file included from /usr/include/json-c/linkhash.h:16:0,
  1380. from /usr/include/json-c/json.h:22,
  1381. from ogr_couchdb.h:35,
  1382. from ogrcouchdbdatasource.cpp:30:
  1383. /usr/include/json-c/json_object.h:290:56: note: declared here
  1384. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1385. ^
  1386. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1387. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1388. ^
  1389. ogrcouchdbdatasource.cpp:1178:25: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1390. json_object* poOK = json_object_object_get(poAnswerObj, "ok");
  1391. ^
  1392. In file included from /usr/include/json-c/linkhash.h:16:0,
  1393. from /usr/include/json-c/json.h:22,
  1394. from ogr_couchdb.h:35,
  1395. from ogrcouchdbdatasource.cpp:30:
  1396. /usr/include/json-c/json_object.h:290:56: note: declared here
  1397. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1398. ^
  1399. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1400. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1401. ^
  1402. ogrcouchdbdatasource.cpp:1178:65: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1403. json_object* poOK = json_object_object_get(poAnswerObj, "ok");
  1404. ^
  1405. In file included from /usr/include/json-c/linkhash.h:16:0,
  1406. from /usr/include/json-c/json.h:22,
  1407. from ogr_couchdb.h:35,
  1408. from ogrcouchdbdatasource.cpp:30:
  1409. /usr/include/json-c/json_object.h:290:56: note: declared here
  1410. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1411. ^
  1412. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1413. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1414. ^
  1415. ogrcouchdblayer.cpp: In member function ‘OGRFeature* OGRCouchDBLayer::TranslateFeature(json_object*)’:
  1416. ogrcouchdblayer.cpp:191:25: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1417. json_object* poId = json_object_object_get(poObj, "_id");
  1418. ^
  1419. In file included from /usr/include/json-c/linkhash.h:16:0,
  1420. from /usr/include/json-c/json.h:22,
  1421. from ogr_couchdb.h:35,
  1422. from ogrcouchdblayer.cpp:30:
  1423. /usr/include/json-c/json_object.h:290:56: note: declared here
  1424. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1425. ^
  1426. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1427. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1428. ^
  1429. ogrcouchdblayer.cpp:191:25: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1430. json_object* poId = json_object_object_get(poObj, "_id");
  1431. ^
  1432. In file included from /usr/include/json-c/linkhash.h:16:0,
  1433. from /usr/include/json-c/json.h:22,
  1434. from ogr_couchdb.h:35,
  1435. from ogrcouchdblayer.cpp:30:
  1436. /usr/include/json-c/json_object.h:290:56: note: declared here
  1437. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1438. ^
  1439. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1440. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1441. ^
  1442. ogrcouchdblayer.cpp:191:60: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1443. json_object* poId = json_object_object_get(poObj, "_id");
  1444. ^
  1445. In file included from /usr/include/json-c/linkhash.h:16:0,
  1446. from /usr/include/json-c/json.h:22,
  1447. from ogr_couchdb.h:35,
  1448. from ogrcouchdblayer.cpp:30:
  1449. /usr/include/json-c/json_object.h:290:56: note: declared here
  1450. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1451. ^
  1452. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1453. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1454. ^
  1455. ogrcouchdblayer.cpp:203:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1456. json_object* poRev = json_object_object_get(poObj, "_rev");
  1457. ^
  1458. In file included from /usr/include/json-c/linkhash.h:16:0,
  1459. from /usr/include/json-c/json.h:22,
  1460. from ogr_couchdb.h:35,
  1461. from ogrcouchdblayer.cpp:30:
  1462. /usr/include/json-c/json_object.h:290:56: note: declared here
  1463. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1464. ^
  1465. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1466. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1467. ^
  1468. ogrcouchdblayer.cpp:203:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1469. json_object* poRev = json_object_object_get(poObj, "_rev");
  1470. ^
  1471. In file included from /usr/include/json-c/linkhash.h:16:0,
  1472. from /usr/include/json-c/json.h:22,
  1473. from ogr_couchdb.h:35,
  1474. from ogrcouchdblayer.cpp:30:
  1475. /usr/include/json-c/json_object.h:290:56: note: declared here
  1476. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1477. ^
  1478. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1479. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1480. ^
  1481. ogrcouchdblayer.cpp:203:62: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1482. json_object* poRev = json_object_object_get(poObj, "_rev");
  1483. ^
  1484. In file included from /usr/include/json-c/linkhash.h:16:0,
  1485. from /usr/include/json-c/json.h:22,
  1486. from ogr_couchdb.h:35,
  1487. from ogrcouchdblayer.cpp:30:
  1488. /usr/include/json-c/json_object.h:290:56: note: declared here
  1489. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1490. ^
  1491. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1492. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1493. ^
  1494. ogrcouchdblayer.cpp:218:35: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1495. json_object* poObjProps = json_object_object_get( poObj, "properties" );
  1496. ^
  1497. In file included from /usr/include/json-c/linkhash.h:16:0,
  1498. from /usr/include/json-c/json.h:22,
  1499. from ogr_couchdb.h:35,
  1500. from ogrcouchdblayer.cpp:30:
  1501. /usr/include/json-c/json_object.h:290:56: note: declared here
  1502. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1503. ^
  1504. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1505. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1506. ^
  1507. ogrcouchdblayer.cpp:218:35: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1508. json_object* poObjProps = json_object_object_get( poObj, "properties" );
  1509. ^
  1510. In file included from /usr/include/json-c/linkhash.h:16:0,
  1511. from /usr/include/json-c/json.h:22,
  1512. from ogr_couchdb.h:35,
  1513. from ogrcouchdblayer.cpp:30:
  1514. /usr/include/json-c/json_object.h:290:56: note: declared here
  1515. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1516. ^
  1517. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1518. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1519. ^
  1520. ogrcouchdblayer.cpp:218:79: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1521. json_object* poObjProps = json_object_object_get( poObj, "properties" );
  1522. ^
  1523. In file included from /usr/include/json-c/linkhash.h:16:0,
  1524. from /usr/include/json-c/json.h:22,
  1525. from ogr_couchdb.h:35,
  1526. from ogrcouchdblayer.cpp:30:
  1527. /usr/include/json-c/json_object.h:290:56: note: declared here
  1528. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1529. ^
  1530. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1531. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1532. ^
  1533. ogrcouchdblayer.cpp:245:30: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1534. json_object* poObjGeom = json_object_object_get( poObj, "geometry" );
  1535. ^
  1536. In file included from /usr/include/json-c/linkhash.h:16:0,
  1537. from /usr/include/json-c/json.h:22,
  1538. from ogr_couchdb.h:35,
  1539. from ogrcouchdblayer.cpp:30:
  1540. /usr/include/json-c/json_object.h:290:56: note: declared here
  1541. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1542. ^
  1543. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1544. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1545. ^
  1546. ogrcouchdblayer.cpp:245:30: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1547. json_object* poObjGeom = json_object_object_get( poObj, "geometry" );
  1548. ^
  1549. In file included from /usr/include/json-c/linkhash.h:16:0,
  1550. from /usr/include/json-c/json.h:22,
  1551. from ogr_couchdb.h:35,
  1552. from ogrcouchdblayer.cpp:30:
  1553. /usr/include/json-c/json_object.h:290:56: note: declared here
  1554. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1555. ^
  1556. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1557. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1558. ^
  1559. ogrcouchdblayer.cpp:245:72: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1560. json_object* poObjGeom = json_object_object_get( poObj, "geometry" );
  1561. ^
  1562. In file included from /usr/include/json-c/linkhash.h:16:0,
  1563. from /usr/include/json-c/json.h:22,
  1564. from ogr_couchdb.h:35,
  1565. from ogrcouchdblayer.cpp:30:
  1566. /usr/include/json-c/json_object.h:290:56: note: declared here
  1567. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1568. ^
  1569. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1570. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1571. ^
  1572. ogrcouchdblayer.cpp: In member function ‘void OGRCouchDBLayer::BuildFeatureDefnFromDoc(json_object*)’:
  1573. ogrcouchdblayer.cpp:357:31: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1574. json_object* poObjProps = json_object_object_get( poDoc,
  1575. ^
  1576. In file included from /usr/include/json-c/linkhash.h:16:0,
  1577. from /usr/include/json-c/json.h:22,
  1578. from ogr_couchdb.h:35,
  1579. from ogrcouchdblayer.cpp:30:
  1580. /usr/include/json-c/json_object.h:290:56: note: declared here
  1581. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1582. ^
  1583. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1584. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1585. ^
  1586. ogrcouchdblayer.cpp:357:31: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1587. json_object* poObjProps = json_object_object_get( poDoc,
  1588. ^
  1589. In file included from /usr/include/json-c/linkhash.h:16:0,
  1590. from /usr/include/json-c/json.h:22,
  1591. from ogr_couchdb.h:35,
  1592. from ogrcouchdblayer.cpp:30:
  1593. /usr/include/json-c/json_object.h:290:56: note: declared here
  1594. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1595. ^
  1596. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1597. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1598. ^
  1599. ogrcouchdblayer.cpp:358:70: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1600. "properties" );
  1601. ^
  1602. In file included from /usr/include/json-c/linkhash.h:16:0,
  1603. from /usr/include/json-c/json.h:22,
  1604. from ogr_couchdb.h:35,
  1605. from ogrcouchdblayer.cpp:30:
  1606. /usr/include/json-c/json_object.h:290:56: note: declared here
  1607. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1608. ^
  1609. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1610. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1611. ^
  1612. ogrcouchdblayer.cpp:393:9: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1613. if( json_object_object_get( poDoc, "geometry" ) == NULL )
  1614. ^
  1615. In file included from /usr/include/json-c/linkhash.h:16:0,
  1616. from /usr/include/json-c/json.h:22,
  1617. from ogr_couchdb.h:35,
  1618. from ogrcouchdblayer.cpp:30:
  1619. /usr/include/json-c/json_object.h:290:56: note: declared here
  1620. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1621. ^
  1622. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1623. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1624. ^
  1625. ogrcouchdblayer.cpp:393:9: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1626. if( json_object_object_get( poDoc, "geometry" ) == NULL )
  1627. ^
  1628. In file included from /usr/include/json-c/linkhash.h:16:0,
  1629. from /usr/include/json-c/json.h:22,
  1630. from ogr_couchdb.h:35,
  1631. from ogrcouchdblayer.cpp:30:
  1632. /usr/include/json-c/json_object.h:290:56: note: declared here
  1633. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1634. ^
  1635. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1636. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1637. ^
  1638. ogrcouchdblayer.cpp:393:51: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1639. if( json_object_object_get( poDoc, "geometry" ) == NULL )
  1640. ^
  1641. In file included from /usr/include/json-c/linkhash.h:16:0,
  1642. from /usr/include/json-c/json.h:22,
  1643. from ogr_couchdb.h:35,
  1644. from ogrcouchdblayer.cpp:30:
  1645. /usr/include/json-c/json_object.h:290:56: note: declared here
  1646. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1647. ^
  1648. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1649. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1650. ^
  1651. ogrcouchdblayer.cpp: In member function ‘int OGRCouchDBLayer::BuildFeatureDefnFromRows(json_object*)’:
  1652. ogrcouchdblayer.cpp:418:27: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1653. json_object* poRows = json_object_object_get(poAnswerObj, "rows");
  1654. ^
  1655. In file included from /usr/include/json-c/linkhash.h:16:0,
  1656. from /usr/include/json-c/json.h:22,
  1657. from ogr_couchdb.h:35,
  1658. from ogrcouchdblayer.cpp:30:
  1659. /usr/include/json-c/json_object.h:290:56: note: declared here
  1660. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1661. ^
  1662. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1663. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1664. ^
  1665. ogrcouchdblayer.cpp:418:27: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1666. json_object* poRows = json_object_object_get(poAnswerObj, "rows");
  1667. ^
  1668. In file included from /usr/include/json-c/linkhash.h:16:0,
  1669. from /usr/include/json-c/json.h:22,
  1670. from ogr_couchdb.h:35,
  1671. from ogrcouchdblayer.cpp:30:
  1672. /usr/include/json-c/json_object.h:290:56: note: declared here
  1673. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1674. ^
  1675. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1676. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1677. ^
  1678. ogrcouchdblayer.cpp:418:69: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1679. json_object* poRows = json_object_object_get(poAnswerObj, "rows");
  1680. ^
  1681. In file included from /usr/include/json-c/linkhash.h:16:0,
  1682. from /usr/include/json-c/json.h:22,
  1683. from ogr_couchdb.h:35,
  1684. from ogrcouchdblayer.cpp:30:
  1685. /usr/include/json-c/json_object.h:290:56: note: declared here
  1686. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1687. ^
  1688. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1689. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1690. ^
  1691. ogrcouchdblayer.cpp:436:33: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1692. json_object* poId = json_object_object_get(poTmpRow, "id");
  1693. ^
  1694. In file included from /usr/include/json-c/linkhash.h:16:0,
  1695. from /usr/include/json-c/json.h:22,
  1696. from ogr_couchdb.h:35,
  1697. from ogrcouchdblayer.cpp:30:
  1698. /usr/include/json-c/json_object.h:290:56: note: declared here
  1699. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1700. ^
  1701. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1702. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1703. ^
  1704. ogrcouchdblayer.cpp:436:33: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1705. json_object* poId = json_object_object_get(poTmpRow, "id");
  1706. ^
  1707. In file included from /usr/include/json-c/linkhash.h:16:0,
  1708. from /usr/include/json-c/json.h:22,
  1709. from ogr_couchdb.h:35,
  1710. from ogrcouchdblayer.cpp:30:
  1711. /usr/include/json-c/json_object.h:290:56: note: declared here
  1712. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1713. ^
  1714. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1715. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1716. ^
  1717. ogrcouchdblayer.cpp:436:70: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1718. json_object* poId = json_object_object_get(poTmpRow, "id");
  1719. ^
  1720. In file included from /usr/include/json-c/linkhash.h:16:0,
  1721. from /usr/include/json-c/json.h:22,
  1722. from ogr_couchdb.h:35,
  1723. from ogrcouchdblayer.cpp:30:
  1724. /usr/include/json-c/json_object.h:290:56: note: declared here
  1725. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1726. ^
  1727. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1728. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1729. ^
  1730. ogrcouchdblayer.cpp:451:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1731. json_object* poDoc = json_object_object_get(poRow, "doc");
  1732. ^
  1733. In file included from /usr/include/json-c/linkhash.h:16:0,
  1734. from /usr/include/json-c/json.h:22,
  1735. from ogr_couchdb.h:35,
  1736. from ogrcouchdblayer.cpp:30:
  1737. /usr/include/json-c/json_object.h:290:56: note: declared here
  1738. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1739. ^
  1740. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1741. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1742. ^
  1743. ogrcouchdblayer.cpp:451:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1744. json_object* poDoc = json_object_object_get(poRow, "doc");
  1745. ^
  1746. In file included from /usr/include/json-c/linkhash.h:16:0,
  1747. from /usr/include/json-c/json.h:22,
  1748. from ogr_couchdb.h:35,
  1749. from ogrcouchdblayer.cpp:30:
  1750. /usr/include/json-c/json_object.h:290:56: note: declared here
  1751. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1752. ^
  1753. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1754. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1755. ^
  1756. ogrcouchdblayer.cpp:451:61: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1757. json_object* poDoc = json_object_object_get(poRow, "doc");
  1758. ^
  1759. In file included from /usr/include/json-c/linkhash.h:16:0,
  1760. from /usr/include/json-c/json.h:22,
  1761. from ogr_couchdb.h:35,
  1762. from ogrcouchdblayer.cpp:30:
  1763. /usr/include/json-c/json_object.h:290:56: note: declared here
  1764. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1765. ^
  1766. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1767. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1768. ^
  1769. ogrcouchdblayer.cpp:453:17: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1770. poDoc = json_object_object_get(poRow, "value");
  1771. ^
  1772. In file included from /usr/include/json-c/linkhash.h:16:0,
  1773. from /usr/include/json-c/json.h:22,
  1774. from ogr_couchdb.h:35,
  1775. from ogrcouchdblayer.cpp:30:
  1776. /usr/include/json-c/json_object.h:290:56: note: declared here
  1777. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1778. ^
  1779. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1780. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1781. ^
  1782. ogrcouchdblayer.cpp:453:17: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1783. poDoc = json_object_object_get(poRow, "value");
  1784. ^
  1785. In file included from /usr/include/json-c/linkhash.h:16:0,
  1786. from /usr/include/json-c/json.h:22,
  1787. from ogr_couchdb.h:35,
  1788. from ogrcouchdblayer.cpp:30:
  1789. /usr/include/json-c/json_object.h:290:56: note: declared here
  1790. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1791. ^
  1792. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1793. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1794. ^
  1795. ogrcouchdblayer.cpp:453:54: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1796. poDoc = json_object_object_get(poRow, "value");
  1797. ^
  1798. In file included from /usr/include/json-c/linkhash.h:16:0,
  1799. from /usr/include/json-c/json.h:22,
  1800. from ogr_couchdb.h:35,
  1801. from ogrcouchdblayer.cpp:30:
  1802. /usr/include/json-c/json_object.h:290:56: note: declared here
  1803. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1804. ^
  1805. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1806. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1807. ^
  1808. ogrcouchdblayer.cpp: In member function ‘int OGRCouchDBLayer::FetchNextRowsAnalyseDocs(json_object*)’:
  1809. ogrcouchdblayer.cpp:490:27: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1810. json_object* poRows = json_object_object_get(poAnswerObj, "rows");
  1811. ^
  1812. In file included from /usr/include/json-c/linkhash.h:16:0,
  1813. from /usr/include/json-c/json.h:22,
  1814. from ogr_couchdb.h:35,
  1815. from ogrcouchdblayer.cpp:30:
  1816. /usr/include/json-c/json_object.h:290:56: note: declared here
  1817. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1818. ^
  1819. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1820. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1821. ^
  1822. ogrcouchdblayer.cpp:490:27: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1823. json_object* poRows = json_object_object_get(poAnswerObj, "rows");
  1824. ^
  1825. In file included from /usr/include/json-c/linkhash.h:16:0,
  1826. from /usr/include/json-c/json.h:22,
  1827. from ogr_couchdb.h:35,
  1828. from ogrcouchdblayer.cpp:30:
  1829. /usr/include/json-c/json_object.h:290:56: note: declared here
  1830. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1831. ^
  1832. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1833. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1834. ^
  1835. ogrcouchdblayer.cpp:490:69: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1836. json_object* poRows = json_object_object_get(poAnswerObj, "rows");
  1837. ^
  1838. In file included from /usr/include/json-c/linkhash.h:16:0,
  1839. from /usr/include/json-c/json.h:22,
  1840. from ogr_couchdb.h:35,
  1841. from ogrcouchdblayer.cpp:30:
  1842. /usr/include/json-c/json_object.h:290:56: note: declared here
  1843. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1844. ^
  1845. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1846. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1847. ^
  1848. ogrcouchdblayer.cpp:513:30: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1849. json_object* poDoc = json_object_object_get(poRow, "doc");
  1850. ^
  1851. In file included from /usr/include/json-c/linkhash.h:16:0,
  1852. from /usr/include/json-c/json.h:22,
  1853. from ogr_couchdb.h:35,
  1854. from ogrcouchdblayer.cpp:30:
  1855. /usr/include/json-c/json_object.h:290:56: note: declared here
  1856. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1857. ^
  1858. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1859. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1860. ^
  1861. ogrcouchdblayer.cpp:513:30: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1862. json_object* poDoc = json_object_object_get(poRow, "doc");
  1863. ^
  1864. In file included from /usr/include/json-c/linkhash.h:16:0,
  1865. from /usr/include/json-c/json.h:22,
  1866. from ogr_couchdb.h:35,
  1867. from ogrcouchdblayer.cpp:30:
  1868. /usr/include/json-c/json_object.h:290:56: note: declared here
  1869. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1870. ^
  1871. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1872. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1873. ^
  1874. ogrcouchdblayer.cpp:513:65: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1875. json_object* poDoc = json_object_object_get(poRow, "doc");
  1876. ^
  1877. In file included from /usr/include/json-c/linkhash.h:16:0,
  1878. from /usr/include/json-c/json.h:22,
  1879. from ogr_couchdb.h:35,
  1880. from ogrcouchdblayer.cpp:30:
  1881. /usr/include/json-c/json_object.h:290:56: note: declared here
  1882. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1883. ^
  1884. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1885. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1886. ^
  1887. ogrcouchdblayer.cpp:515:21: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1888. poDoc = json_object_object_get(poRow, "value");
  1889. ^
  1890. In file included from /usr/include/json-c/linkhash.h:16:0,
  1891. from /usr/include/json-c/json.h:22,
  1892. from ogr_couchdb.h:35,
  1893. from ogrcouchdblayer.cpp:30:
  1894. /usr/include/json-c/json_object.h:290:56: note: declared here
  1895. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1896. ^
  1897. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1898. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1899. ^
  1900. ogrcouchdblayer.cpp:515:21: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1901. poDoc = json_object_object_get(poRow, "value");
  1902. ^
  1903. In file included from /usr/include/json-c/linkhash.h:16:0,
  1904. from /usr/include/json-c/json.h:22,
  1905. from ogr_couchdb.h:35,
  1906. from ogrcouchdblayer.cpp:30:
  1907. /usr/include/json-c/json_object.h:290:56: note: declared here
  1908. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1909. ^
  1910. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1911. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1912. ^
  1913. ogrcouchdblayer.cpp:515:58: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1914. poDoc = json_object_object_get(poRow, "value");
  1915. ^
  1916. In file included from /usr/include/json-c/linkhash.h:16:0,
  1917. from /usr/include/json-c/json.h:22,
  1918. from ogr_couchdb.h:35,
  1919. from ogrcouchdblayer.cpp:30:
  1920. /usr/include/json-c/json_object.h:290:56: note: declared here
  1921. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1922. ^
  1923. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1924. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1925. ^
  1926. ogrcouchdblayer.cpp:525:29: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1927. json_object* poId = json_object_object_get(poDoc, "_id");
  1928. ^
  1929. In file included from /usr/include/json-c/linkhash.h:16:0,
  1930. from /usr/include/json-c/json.h:22,
  1931. from ogr_couchdb.h:35,
  1932. from ogrcouchdblayer.cpp:30:
  1933. /usr/include/json-c/json_object.h:290:56: note: declared here
  1934. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1935. ^
  1936. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1937. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1938. ^
  1939. ogrcouchdblayer.cpp:525:29: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1940. json_object* poId = json_object_object_get(poDoc, "_id");
  1941. ^
  1942. In file included from /usr/include/json-c/linkhash.h:16:0,
  1943. from /usr/include/json-c/json.h:22,
  1944. from ogr_couchdb.h:35,
  1945. from ogrcouchdblayer.cpp:30:
  1946. /usr/include/json-c/json_object.h:290:56: note: declared here
  1947. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1948. ^
  1949. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1950. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1951. ^
  1952. ogrcouchdblayer.cpp:525:64: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1953. json_object* poId = json_object_object_get(poDoc, "_id");
  1954. ^
  1955. In file included from /usr/include/json-c/linkhash.h:16:0,
  1956. from /usr/include/json-c/json.h:22,
  1957. from ogr_couchdb.h:35,
  1958. from ogrcouchdblayer.cpp:30:
  1959. /usr/include/json-c/json_object.h:290:56: note: declared here
  1960. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1961. ^
  1962. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1963. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1964. ^
  1965. ogrcouchdbtablelayer.cpp: In member function ‘int OGRCouchDBTableLayer::RunSpatialFilterQueryIfNecessary()’:
  1966. ogrcouchdbtablelayer.cpp:177:13: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1967. json_object_object_get(poAnswerObj, "spatial") != NULL);
  1968. ^
  1969. In file included from /usr/include/json-c/linkhash.h:16:0,
  1970. from /usr/include/json-c/json.h:22,
  1971. from ogr_couchdb.h:35,
  1972. from ogrcouchdbtablelayer.cpp:30:
  1973. /usr/include/json-c/json_object.h:290:56: note: declared here
  1974. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1975. ^
  1976. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1977. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1978. ^
  1979. ogrcouchdbtablelayer.cpp:177:13: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1980. json_object_object_get(poAnswerObj, "spatial") != NULL);
  1981. ^
  1982. In file included from /usr/include/json-c/linkhash.h:16:0,
  1983. from /usr/include/json-c/json.h:22,
  1984. from ogr_couchdb.h:35,
  1985. from ogrcouchdbtablelayer.cpp:30:
  1986. /usr/include/json-c/json_object.h:290:56: note: declared here
  1987. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  1988. ^
  1989. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  1990. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  1991. ^
  1992. ogrcouchdbtablelayer.cpp:177:58: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  1993. json_object_object_get(poAnswerObj, "spatial") != NULL);
  1994. ^
  1995. In file included from /usr/include/json-c/linkhash.h:16:0,
  1996. from /usr/include/json-c/json.h:22,
  1997. from ogr_couchdb.h:35,
  1998. from ogrcouchdbtablelayer.cpp:30:
  1999. /usr/include/json-c/json_object.h:290:56: note: declared here
  2000. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2001. ^
  2002. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2003. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2004. ^
  2005. ogrcouchdbtablelayer.cpp:191:33: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2006. (poSpatialObj = json_object_object_get(poAnswerObj, "spatial")) != NULL &&
  2007. ^
  2008. In file included from /usr/include/json-c/linkhash.h:16:0,
  2009. from /usr/include/json-c/json.h:22,
  2010. from ogr_couchdb.h:35,
  2011. from ogrcouchdbtablelayer.cpp:30:
  2012. /usr/include/json-c/json_object.h:290:56: note: declared here
  2013. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2014. ^
  2015. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2016. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2017. ^
  2018. ogrcouchdbtablelayer.cpp:191:33: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2019. (poSpatialObj = json_object_object_get(poAnswerObj, "spatial")) != NULL &&
  2020. ^
  2021. In file included from /usr/include/json-c/linkhash.h:16:0,
  2022. from /usr/include/json-c/json.h:22,
  2023. from ogr_couchdb.h:35,
  2024. from ogrcouchdbtablelayer.cpp:30:
  2025. /usr/include/json-c/json_object.h:290:56: note: declared here
  2026. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2027. ^
  2028. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2029. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2030. ^
  2031. ogrcouchdbtablelayer.cpp:191:78: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2032. (poSpatialObj = json_object_object_get(poAnswerObj, "spatial")) != NULL &&
  2033. ^
  2034. In file included from /usr/include/json-c/linkhash.h:16:0,
  2035. from /usr/include/json-c/json.h:22,
  2036. from ogr_couchdb.h:35,
  2037. from ogrcouchdbtablelayer.cpp:30:
  2038. /usr/include/json-c/json_object.h:290:56: note: declared here
  2039. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2040. ^
  2041. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2042. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2043. ^
  2044. ogrcouchdbtablelayer.cpp:193:17: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2045. json_object_object_get(poSpatialObj, "minimal") != NULL);
  2046. ^
  2047. In file included from /usr/include/json-c/linkhash.h:16:0,
  2048. from /usr/include/json-c/json.h:22,
  2049. from ogr_couchdb.h:35,
  2050. from ogrcouchdbtablelayer.cpp:30:
  2051. /usr/include/json-c/json_object.h:290:56: note: declared here
  2052. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2053. ^
  2054. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2055. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2056. ^
  2057. ogrcouchdbtablelayer.cpp:193:17: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2058. json_object_object_get(poSpatialObj, "minimal") != NULL);
  2059. ^
  2060. In file included from /usr/include/json-c/linkhash.h:16:0,
  2061. from /usr/include/json-c/json.h:22,
  2062. from ogr_couchdb.h:35,
  2063. from ogrcouchdbtablelayer.cpp:30:
  2064. /usr/include/json-c/json_object.h:290:56: note: declared here
  2065. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2066. ^
  2067. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2068. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2069. ^
  2070. ogrcouchdbtablelayer.cpp:193:63: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2071. json_object_object_get(poSpatialObj, "minimal") != NULL);
  2072. ^
  2073. In file included from /usr/include/json-c/linkhash.h:16:0,
  2074. from /usr/include/json-c/json.h:22,
  2075. from ogr_couchdb.h:35,
  2076. from ogrcouchdbtablelayer.cpp:30:
  2077. /usr/include/json-c/json_object.h:290:56: note: declared here
  2078. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2079. ^
  2080. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2081. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2082. ^
  2083. ogrcouchdbtablelayer.cpp:244:28: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2084. json_object* poError = json_object_object_get(poAnswerObj, "error");
  2085. ^
  2086. In file included from /usr/include/json-c/linkhash.h:16:0,
  2087. from /usr/include/json-c/json.h:22,
  2088. from ogr_couchdb.h:35,
  2089. from ogrcouchdbtablelayer.cpp:30:
  2090. /usr/include/json-c/json_object.h:290:56: note: declared here
  2091. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2092. ^
  2093. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2094. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2095. ^
  2096. ogrcouchdbtablelayer.cpp:244:28: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2097. json_object* poError = json_object_object_get(poAnswerObj, "error");
  2098. ^
  2099. In file included from /usr/include/json-c/linkhash.h:16:0,
  2100. from /usr/include/json-c/json.h:22,
  2101. from ogr_couchdb.h:35,
  2102. from ogrcouchdbtablelayer.cpp:30:
  2103. /usr/include/json-c/json_object.h:290:56: note: declared here
  2104. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2105. ^
  2106. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2107. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2108. ^
  2109. ogrcouchdbtablelayer.cpp:244:71: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2110. json_object* poError = json_object_object_get(poAnswerObj, "error");
  2111. ^
  2112. In file included from /usr/include/json-c/linkhash.h:16:0,
  2113. from /usr/include/json-c/json.h:22,
  2114. from ogr_couchdb.h:35,
  2115. from ogrcouchdbtablelayer.cpp:30:
  2116. /usr/include/json-c/json_object.h:290:56: note: declared here
  2117. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2118. ^
  2119. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2120. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2121. ^
  2122. ogrcouchdbtablelayer.cpp:245:29: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2123. json_object* poReason = json_object_object_get(poAnswerObj, "reason");
  2124. ^
  2125. In file included from /usr/include/json-c/linkhash.h:16:0,
  2126. from /usr/include/json-c/json.h:22,
  2127. from ogr_couchdb.h:35,
  2128. from ogrcouchdbtablelayer.cpp:30:
  2129. /usr/include/json-c/json_object.h:290:56: note: declared here
  2130. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2131. ^
  2132. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2133. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2134. ^
  2135. ogrcouchdbtablelayer.cpp:245:29: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2136. json_object* poReason = json_object_object_get(poAnswerObj, "reason");
  2137. ^
  2138. In file included from /usr/include/json-c/linkhash.h:16:0,
  2139. from /usr/include/json-c/json.h:22,
  2140. from ogr_couchdb.h:35,
  2141. from ogrcouchdbtablelayer.cpp:30:
  2142. /usr/include/json-c/json_object.h:290:56: note: declared here
  2143. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2144. ^
  2145. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2146. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2147. ^
  2148. ogrcouchdbtablelayer.cpp:245:73: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2149. json_object* poReason = json_object_object_get(poAnswerObj, "reason");
  2150. ^
  2151. In file included from /usr/include/json-c/linkhash.h:16:0,
  2152. from /usr/include/json-c/json.h:22,
  2153. from ogr_couchdb.h:35,
  2154. from ogrcouchdbtablelayer.cpp:30:
  2155. /usr/include/json-c/json_object.h:290:56: note: declared here
  2156. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2157. ^
  2158. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2159. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2160. ^
  2161. ogrcouchdbtablelayer.cpp:269:27: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2162. json_object* poRows = json_object_object_get(poAnswerObj, "rows");
  2163. ^
  2164. In file included from /usr/include/json-c/linkhash.h:16:0,
  2165. from /usr/include/json-c/json.h:22,
  2166. from ogr_couchdb.h:35,
  2167. from ogrcouchdbtablelayer.cpp:30:
  2168. /usr/include/json-c/json_object.h:290:56: note: declared here
  2169. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2170. ^
  2171. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2172. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2173. ^
  2174. ogrcouchdbtablelayer.cpp:269:27: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2175. json_object* poRows = json_object_object_get(poAnswerObj, "rows");
  2176. ^
  2177. In file included from /usr/include/json-c/linkhash.h:16:0,
  2178. from /usr/include/json-c/json.h:22,
  2179. from ogr_couchdb.h:35,
  2180. from ogrcouchdbtablelayer.cpp:30:
  2181. /usr/include/json-c/json_object.h:290:56: note: declared here
  2182. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2183. ^
  2184. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2185. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2186. ^
  2187. ogrcouchdbtablelayer.cpp:269:69: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2188. json_object* poRows = json_object_object_get(poAnswerObj, "rows");
  2189. ^
  2190. In file included from /usr/include/json-c/linkhash.h:16:0,
  2191. from /usr/include/json-c/json.h:22,
  2192. from ogr_couchdb.h:35,
  2193. from ogrcouchdbtablelayer.cpp:30:
  2194. /usr/include/json-c/json_object.h:290:56: note: declared here
  2195. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2196. ^
  2197. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2198. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2199. ^
  2200. ogrcouchdbtablelayer.cpp:295:29: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2201. json_object* poId = json_object_object_get(poRow, "id");
  2202. ^
  2203. In file included from /usr/include/json-c/linkhash.h:16:0,
  2204. from /usr/include/json-c/json.h:22,
  2205. from ogr_couchdb.h:35,
  2206. from ogrcouchdbtablelayer.cpp:30:
  2207. /usr/include/json-c/json_object.h:290:56: note: declared here
  2208. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2209. ^
  2210. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2211. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2212. ^
  2213. ogrcouchdbtablelayer.cpp:295:29: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2214. json_object* poId = json_object_object_get(poRow, "id");
  2215. ^
  2216. In file included from /usr/include/json-c/linkhash.h:16:0,
  2217. from /usr/include/json-c/json.h:22,
  2218. from ogr_couchdb.h:35,
  2219. from ogrcouchdbtablelayer.cpp:30:
  2220. /usr/include/json-c/json_object.h:290:56: note: declared here
  2221. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2222. ^
  2223. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2224. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2225. ^
  2226. ogrcouchdbtablelayer.cpp:295:63: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2227. json_object* poId = json_object_object_get(poRow, "id");
  2228. ^
  2229. In file included from /usr/include/json-c/linkhash.h:16:0,
  2230. from /usr/include/json-c/json.h:22,
  2231. from ogr_couchdb.h:35,
  2232. from ogrcouchdbtablelayer.cpp:30:
  2233. /usr/include/json-c/json_object.h:290:56: note: declared here
  2234. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2235. ^
  2236. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2237. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2238. ^
  2239. ogrcouchdbtablelayer.cpp: In member function ‘int OGRCouchDBTableLayer::HasFilterOnFieldOrCreateIfNecessary(const char*)’:
  2240. ogrcouchdbtablelayer.cpp:358:9: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2241. json_object_object_get(poAnswerObj, "views") != NULL)
  2242. ^
  2243. In file included from /usr/include/json-c/linkhash.h:16:0,
  2244. from /usr/include/json-c/json.h:22,
  2245. from ogr_couchdb.h:35,
  2246. from ogrcouchdbtablelayer.cpp:30:
  2247. /usr/include/json-c/json_object.h:290:56: note: declared here
  2248. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2249. ^
  2250. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2251. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2252. ^
  2253. ogrcouchdbtablelayer.cpp:358:9: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2254. json_object_object_get(poAnswerObj, "views") != NULL)
  2255. ^
  2256. In file included from /usr/include/json-c/linkhash.h:16:0,
  2257. from /usr/include/json-c/json.h:22,
  2258. from ogr_couchdb.h:35,
  2259. from ogrcouchdbtablelayer.cpp:30:
  2260. /usr/include/json-c/json_object.h:290:56: note: declared here
  2261. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2262. ^
  2263. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2264. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2265. ^
  2266. ogrcouchdbtablelayer.cpp:358:52: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2267. json_object_object_get(poAnswerObj, "views") != NULL)
  2268. ^
  2269. In file included from /usr/include/json-c/linkhash.h:16:0,
  2270. from /usr/include/json-c/json.h:22,
  2271. from ogr_couchdb.h:35,
  2272. from ogrcouchdbtablelayer.cpp:30:
  2273. /usr/include/json-c/json_object.h:290:56: note: declared here
  2274. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2275. ^
  2276. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2277. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2278. ^
  2279. ogrcouchdbtablelayer.cpp: In member function ‘virtual int OGRCouchDBTableLayer::GetFeatureCount(int)’:
  2280. ogrcouchdbtablelayer.cpp:904:27: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2281. (poRows = json_object_object_get(poAnswerObj, "rows")) != NULL &&
  2282. ^
  2283. In file included from /usr/include/json-c/linkhash.h:16:0,
  2284. from /usr/include/json-c/json.h:22,
  2285. from ogr_couchdb.h:35,
  2286. from ogrcouchdbtablelayer.cpp:30:
  2287. /usr/include/json-c/json_object.h:290:56: note: declared here
  2288. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2289. ^
  2290. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2291. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2292. ^
  2293. ogrcouchdbtablelayer.cpp:904:27: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2294. (poRows = json_object_object_get(poAnswerObj, "rows")) != NULL &&
  2295. ^
  2296. In file included from /usr/include/json-c/linkhash.h:16:0,
  2297. from /usr/include/json-c/json.h:22,
  2298. from ogr_couchdb.h:35,
  2299. from ogrcouchdbtablelayer.cpp:30:
  2300. /usr/include/json-c/json_object.h:290:56: note: declared here
  2301. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2302. ^
  2303. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2304. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2305. ^
  2306. ogrcouchdbtablelayer.cpp:904:69: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2307. (poRows = json_object_object_get(poAnswerObj, "rows")) != NULL &&
  2308. ^
  2309. In file included from /usr/include/json-c/linkhash.h:16:0,
  2310. from /usr/include/json-c/json.h:22,
  2311. from ogr_couchdb.h:35,
  2312. from ogrcouchdbtablelayer.cpp:30:
  2313. /usr/include/json-c/json_object.h:290:56: note: declared here
  2314. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2315. ^
  2316. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2317. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2318. ^
  2319. ogrcouchdbtablelayer.cpp:919:48: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2320. json_object* poValue = json_object_object_get(poRow, "value");
  2321. ^
  2322. In file included from /usr/include/json-c/linkhash.h:16:0,
  2323. from /usr/include/json-c/json.h:22,
  2324. from ogr_couchdb.h:35,
  2325. from ogrcouchdbtablelayer.cpp:30:
  2326. /usr/include/json-c/json_object.h:290:56: note: declared here
  2327. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2328. ^
  2329. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2330. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2331. ^
  2332. ogrcouchdbtablelayer.cpp:919:48: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2333. json_object* poValue = json_object_object_get(poRow, "value");
  2334. ^
  2335. In file included from /usr/include/json-c/linkhash.h:16:0,
  2336. from /usr/include/json-c/json.h:22,
  2337. from ogr_couchdb.h:35,
  2338. from ogrcouchdbtablelayer.cpp:30:
  2339. /usr/include/json-c/json_object.h:290:56: note: declared here
  2340. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2341. ^
  2342. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2343. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2344. ^
  2345. ogrcouchdbtablelayer.cpp:919:85: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2346. json_object* poValue = json_object_object_get(poRow, "value");
  2347. ^
  2348. In file included from /usr/include/json-c/linkhash.h:16:0,
  2349. from /usr/include/json-c/json.h:22,
  2350. from ogr_couchdb.h:35,
  2351. from ogrcouchdbtablelayer.cpp:30:
  2352. /usr/include/json-c/json_object.h:290:56: note: declared here
  2353. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2354. ^
  2355. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2356. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2357. ^
  2358. ogrcouchdbtablelayer.cpp:929:52: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2359. json_object* poCount = json_object_object_get(poValue, "count");
  2360. ^
  2361. In file included from /usr/include/json-c/linkhash.h:16:0,
  2362. from /usr/include/json-c/json.h:22,
  2363. from ogr_couchdb.h:35,
  2364. from ogrcouchdbtablelayer.cpp:30:
  2365. /usr/include/json-c/json_object.h:290:56: note: declared here
  2366. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2367. ^
  2368. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2369. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2370. ^
  2371. ogrcouchdbtablelayer.cpp:929:52: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2372. json_object* poCount = json_object_object_get(poValue, "count");
  2373. ^
  2374. In file included from /usr/include/json-c/linkhash.h:16:0,
  2375. from /usr/include/json-c/json.h:22,
  2376. from ogr_couchdb.h:35,
  2377. from ogrcouchdbtablelayer.cpp:30:
  2378. /usr/include/json-c/json_object.h:290:56: note: declared here
  2379. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2380. ^
  2381. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2382. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2383. ^
  2384. ogrcouchdbtablelayer.cpp:929:91: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2385. json_object* poCount = json_object_object_get(poValue, "count");
  2386. ^
  2387. In file included from /usr/include/json-c/linkhash.h:16:0,
  2388. from /usr/include/json-c/json.h:22,
  2389. from ogr_couchdb.h:35,
  2390. from ogrcouchdbtablelayer.cpp:30:
  2391. /usr/include/json-c/json_object.h:290:56: note: declared here
  2392. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2393. ^
  2394. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2395. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2396. ^
  2397. ogrcouchdbtablelayer.cpp: In member function ‘int OGRCouchDBTableLayer::GetTotalFeatureCount()’:
  2398. ogrcouchdbtablelayer.cpp:985:32: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2399. json_object* poTotalRows = json_object_object_get(poAnswerObj,
  2400. ^
  2401. In file included from /usr/include/json-c/linkhash.h:16:0,
  2402. from /usr/include/json-c/json.h:22,
  2403. from ogr_couchdb.h:35,
  2404. from ogrcouchdbtablelayer.cpp:30:
  2405. /usr/include/json-c/json_object.h:290:56: note: declared here
  2406. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2407. ^
  2408. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2409. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2410. ^
  2411. ogrcouchdbtablelayer.cpp:985:32: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2412. json_object* poTotalRows = json_object_object_get(poAnswerObj,
  2413. ^
  2414. In file included from /usr/include/json-c/linkhash.h:16:0,
  2415. from /usr/include/json-c/json.h:22,
  2416. from ogr_couchdb.h:35,
  2417. from ogrcouchdbtablelayer.cpp:30:
  2418. /usr/include/json-c/json_object.h:290:56: note: declared here
  2419. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2420. ^
  2421. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2422. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2423. ^
  2424. ogrcouchdbtablelayer.cpp:986:69: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2425. "total_rows");
  2426. ^
  2427. In file included from /usr/include/json-c/linkhash.h:16:0,
  2428. from /usr/include/json-c/json.h:22,
  2429. from ogr_couchdb.h:35,
  2430. from ogrcouchdbtablelayer.cpp:30:
  2431. /usr/include/json-c/json_object.h:290:56: note: declared here
  2432. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2433. ^
  2434. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2435. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2436. ^
  2437. ogrcouchdbtablelayer.cpp:993:27: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2438. json_object* poRows = json_object_object_get(poAnswerObj, "rows");
  2439. ^
  2440. In file included from /usr/include/json-c/linkhash.h:16:0,
  2441. from /usr/include/json-c/json.h:22,
  2442. from ogr_couchdb.h:35,
  2443. from ogrcouchdbtablelayer.cpp:30:
  2444. /usr/include/json-c/json_object.h:290:56: note: declared here
  2445. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2446. ^
  2447. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2448. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2449. ^
  2450. ogrcouchdbtablelayer.cpp:993:27: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2451. json_object* poRows = json_object_object_get(poAnswerObj, "rows");
  2452. ^
  2453. In file included from /usr/include/json-c/linkhash.h:16:0,
  2454. from /usr/include/json-c/json.h:22,
  2455. from ogr_couchdb.h:35,
  2456. from ogrcouchdbtablelayer.cpp:30:
  2457. /usr/include/json-c/json_object.h:290:56: note: declared here
  2458. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2459. ^
  2460. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2461. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2462. ^
  2463. ogrcouchdbtablelayer.cpp:993:69: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2464. json_object* poRows = json_object_object_get(poAnswerObj, "rows");
  2465. ^
  2466. In file included from /usr/include/json-c/linkhash.h:16:0,
  2467. from /usr/include/json-c/json.h:22,
  2468. from ogr_couchdb.h:35,
  2469. from ogrcouchdbtablelayer.cpp:30:
  2470. /usr/include/json-c/json_object.h:290:56: note: declared here
  2471. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2472. ^
  2473. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2474. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2475. ^
  2476. ogrcouchdbtablelayer.cpp:1010:33: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2477. json_object* poId = json_object_object_get(poRow, "id");
  2478. ^
  2479. In file included from /usr/include/json-c/linkhash.h:16:0,
  2480. from /usr/include/json-c/json.h:22,
  2481. from ogr_couchdb.h:35,
  2482. from ogrcouchdbtablelayer.cpp:30:
  2483. /usr/include/json-c/json_object.h:290:56: note: declared here
  2484. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2485. ^
  2486. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2487. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2488. ^
  2489. ogrcouchdbtablelayer.cpp:1010:33: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2490. json_object* poId = json_object_object_get(poRow, "id");
  2491. ^
  2492. In file included from /usr/include/json-c/linkhash.h:16:0,
  2493. from /usr/include/json-c/json.h:22,
  2494. from ogr_couchdb.h:35,
  2495. from ogrcouchdbtablelayer.cpp:30:
  2496. /usr/include/json-c/json_object.h:290:56: note: declared here
  2497. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2498. ^
  2499. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2500. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2501. ^
  2502. ogrcouchdbtablelayer.cpp:1010:67: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2503. json_object* poId = json_object_object_get(poRow, "id");
  2504. ^
  2505. In file included from /usr/include/json-c/linkhash.h:16:0,
  2506. from /usr/include/json-c/json.h:22,
  2507. from ogr_couchdb.h:35,
  2508. from ogrcouchdbtablelayer.cpp:30:
  2509. /usr/include/json-c/json_object.h:290:56: note: declared here
  2510. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2511. ^
  2512. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2513. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2514. ^
  2515. ogrcouchdbtablelayer.cpp: In member function ‘int OGRCouchDBTableLayer::GetMaximumId()’:
  2516. ogrcouchdbtablelayer.cpp:1193:27: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2517. json_object* poRows = json_object_object_get(poAnswerObj, "rows");
  2518. ^
  2519. In file included from /usr/include/json-c/linkhash.h:16:0,
  2520. from /usr/include/json-c/json.h:22,
  2521. from ogr_couchdb.h:35,
  2522. from ogrcouchdbtablelayer.cpp:30:
  2523. /usr/include/json-c/json_object.h:290:56: note: declared here
  2524. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2525. ^
  2526. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2527. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2528. ^
  2529. ogrcouchdbtablelayer.cpp:1193:27: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2530. json_object* poRows = json_object_object_get(poAnswerObj, "rows");
  2531. ^
  2532. In file included from /usr/include/json-c/linkhash.h:16:0,
  2533. from /usr/include/json-c/json.h:22,
  2534. from ogr_couchdb.h:35,
  2535. from ogrcouchdbtablelayer.cpp:30:
  2536. /usr/include/json-c/json_object.h:290:56: note: declared here
  2537. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2538. ^
  2539. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2540. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2541. ^
  2542. ogrcouchdbtablelayer.cpp:1193:69: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2543. json_object* poRows = json_object_object_get(poAnswerObj, "rows");
  2544. ^
  2545. In file included from /usr/include/json-c/linkhash.h:16:0,
  2546. from /usr/include/json-c/json.h:22,
  2547. from ogr_couchdb.h:35,
  2548. from ogrcouchdbtablelayer.cpp:30:
  2549. /usr/include/json-c/json_object.h:290:56: note: declared here
  2550. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2551. ^
  2552. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2553. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2554. ^
  2555. ogrcouchdbtablelayer.cpp:1219:25: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2556. json_object* poId = json_object_object_get(poRow, "id");
  2557. ^
  2558. In file included from /usr/include/json-c/linkhash.h:16:0,
  2559. from /usr/include/json-c/json.h:22,
  2560. from ogr_couchdb.h:35,
  2561. from ogrcouchdbtablelayer.cpp:30:
  2562. /usr/include/json-c/json_object.h:290:56: note: declared here
  2563. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2564. ^
  2565. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2566. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2567. ^
  2568. ogrcouchdbtablelayer.cpp:1219:25: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2569. json_object* poId = json_object_object_get(poRow, "id");
  2570. ^
  2571. In file included from /usr/include/json-c/linkhash.h:16:0,
  2572. from /usr/include/json-c/json.h:22,
  2573. from ogr_couchdb.h:35,
  2574. from ogrcouchdbtablelayer.cpp:30:
  2575. /usr/include/json-c/json_object.h:290:56: note: declared here
  2576. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2577. ^
  2578. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2579. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2580. ^
  2581. ogrcouchdbtablelayer.cpp:1219:59: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2582. json_object* poId = json_object_object_get(poRow, "id");
  2583. ^
  2584. In file included from /usr/include/json-c/linkhash.h:16:0,
  2585. from /usr/include/json-c/json.h:22,
  2586. from ogr_couchdb.h:35,
  2587. from ogrcouchdbtablelayer.cpp:30:
  2588. /usr/include/json-c/json_object.h:290:56: note: declared here
  2589. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2590. ^
  2591. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2592. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2593. ^
  2594. ogrcouchdbtablelayer.cpp: In member function ‘virtual OGRErr OGRCouchDBTableLayer::CreateFeature(OGRFeature*)’:
  2595. ogrcouchdbtablelayer.cpp:1342:25: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2596. json_object* poId = json_object_object_get(poAnswerObj, "id");
  2597. ^
  2598. In file included from /usr/include/json-c/linkhash.h:16:0,
  2599. from /usr/include/json-c/json.h:22,
  2600. from ogr_couchdb.h:35,
  2601. from ogrcouchdbtablelayer.cpp:30:
  2602. /usr/include/json-c/json_object.h:290:56: note: declared here
  2603. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2604. ^
  2605. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2606. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2607. ^
  2608. ogrcouchdbtablelayer.cpp:1342:25: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2609. json_object* poId = json_object_object_get(poAnswerObj, "id");
  2610. ^
  2611. In file included from /usr/include/json-c/linkhash.h:16:0,
  2612. from /usr/include/json-c/json.h:22,
  2613. from ogr_couchdb.h:35,
  2614. from ogrcouchdbtablelayer.cpp:30:
  2615. /usr/include/json-c/json_object.h:290:56: note: declared here
  2616. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2617. ^
  2618. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2619. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2620. ^
  2621. ogrcouchdbtablelayer.cpp:1342:65: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2622. json_object* poId = json_object_object_get(poAnswerObj, "id");
  2623. ^
  2624. In file included from /usr/include/json-c/linkhash.h:16:0,
  2625. from /usr/include/json-c/json.h:22,
  2626. from ogr_couchdb.h:35,
  2627. from ogrcouchdbtablelayer.cpp:30:
  2628. /usr/include/json-c/json_object.h:290:56: note: declared here
  2629. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2630. ^
  2631. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2632. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2633. ^
  2634. ogrcouchdbtablelayer.cpp:1343:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2635. json_object* poRev = json_object_object_get(poAnswerObj, "rev");
  2636. ^
  2637. In file included from /usr/include/json-c/linkhash.h:16:0,
  2638. from /usr/include/json-c/json.h:22,
  2639. from ogr_couchdb.h:35,
  2640. from ogrcouchdbtablelayer.cpp:30:
  2641. /usr/include/json-c/json_object.h:290:56: note: declared here
  2642. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2643. ^
  2644. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2645. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2646. ^
  2647. ogrcouchdbtablelayer.cpp:1343:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2648. json_object* poRev = json_object_object_get(poAnswerObj, "rev");
  2649. ^
  2650. In file included from /usr/include/json-c/linkhash.h:16:0,
  2651. from /usr/include/json-c/json.h:22,
  2652. from ogr_couchdb.h:35,
  2653. from ogrcouchdbtablelayer.cpp:30:
  2654. /usr/include/json-c/json_object.h:290:56: note: declared here
  2655. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2656. ^
  2657. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2658. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2659. ^
  2660. ogrcouchdbtablelayer.cpp:1343:67: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2661. json_object* poRev = json_object_object_get(poAnswerObj, "rev");
  2662. ^
  2663. In file included from /usr/include/json-c/linkhash.h:16:0,
  2664. from /usr/include/json-c/json.h:22,
  2665. from ogr_couchdb.h:35,
  2666. from ogrcouchdbtablelayer.cpp:30:
  2667. /usr/include/json-c/json_object.h:290:56: note: declared here
  2668. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2669. ^
  2670. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2671. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2672. ^
  2673. ogrcouchdbtablelayer.cpp: In member function ‘virtual OGRErr OGRCouchDBTableLayer::SetFeature(OGRFeature*)’:
  2674. ogrcouchdbtablelayer.cpp:1414:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2675. json_object* poRev = json_object_object_get(poAnswerObj, "rev");
  2676. ^
  2677. In file included from /usr/include/json-c/linkhash.h:16:0,
  2678. from /usr/include/json-c/json.h:22,
  2679. from ogr_couchdb.h:35,
  2680. from ogrcouchdbtablelayer.cpp:30:
  2681. /usr/include/json-c/json_object.h:290:56: note: declared here
  2682. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2683. ^
  2684. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2685. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2686. ^
  2687. ogrcouchdbtablelayer.cpp:1414:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2688. json_object* poRev = json_object_object_get(poAnswerObj, "rev");
  2689. ^
  2690. In file included from /usr/include/json-c/linkhash.h:16:0,
  2691. from /usr/include/json-c/json.h:22,
  2692. from ogr_couchdb.h:35,
  2693. from ogrcouchdbtablelayer.cpp:30:
  2694. /usr/include/json-c/json_object.h:290:56: note: declared here
  2695. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2696. ^
  2697. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2698. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2699. ^
  2700. ogrcouchdbtablelayer.cpp:1414:67: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2701. json_object* poRev = json_object_object_get(poAnswerObj, "rev");
  2702. ^
  2703. In file included from /usr/include/json-c/linkhash.h:16:0,
  2704. from /usr/include/json-c/json.h:22,
  2705. from ogr_couchdb.h:35,
  2706. from ogrcouchdbtablelayer.cpp:30:
  2707. /usr/include/json-c/json_object.h:290:56: note: declared here
  2708. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2709. ^
  2710. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2711. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2712. ^
  2713. ogrcouchdbtablelayer.cpp: In member function ‘virtual OGRErr OGRCouchDBTableLayer::CommitTransaction()’:
  2714. ogrcouchdbtablelayer.cpp:1619:33: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2715. json_object* poId = json_object_object_get(poRow, "id");
  2716. ^
  2717. In file included from /usr/include/json-c/linkhash.h:16:0,
  2718. from /usr/include/json-c/json.h:22,
  2719. from ogr_couchdb.h:35,
  2720. from ogrcouchdbtablelayer.cpp:30:
  2721. /usr/include/json-c/json_object.h:290:56: note: declared here
  2722. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2723. ^
  2724. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2725. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2726. ^
  2727. ogrcouchdbtablelayer.cpp:1619:33: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2728. json_object* poId = json_object_object_get(poRow, "id");
  2729. ^
  2730. In file included from /usr/include/json-c/linkhash.h:16:0,
  2731. from /usr/include/json-c/json.h:22,
  2732. from ogr_couchdb.h:35,
  2733. from ogrcouchdbtablelayer.cpp:30:
  2734. /usr/include/json-c/json_object.h:290:56: note: declared here
  2735. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2736. ^
  2737. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2738. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2739. ^
  2740. ogrcouchdbtablelayer.cpp:1619:67: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2741. json_object* poId = json_object_object_get(poRow, "id");
  2742. ^
  2743. In file included from /usr/include/json-c/linkhash.h:16:0,
  2744. from /usr/include/json-c/json.h:22,
  2745. from ogr_couchdb.h:35,
  2746. from ogrcouchdbtablelayer.cpp:30:
  2747. /usr/include/json-c/json_object.h:290:56: note: declared here
  2748. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2749. ^
  2750. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2751. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2752. ^
  2753. ogrcouchdbtablelayer.cpp:1620:34: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2754. json_object* poRev = json_object_object_get(poRow, "rev");
  2755. ^
  2756. In file included from /usr/include/json-c/linkhash.h:16:0,
  2757. from /usr/include/json-c/json.h:22,
  2758. from ogr_couchdb.h:35,
  2759. from ogrcouchdbtablelayer.cpp:30:
  2760. /usr/include/json-c/json_object.h:290:56: note: declared here
  2761. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2762. ^
  2763. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2764. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2765. ^
  2766. ogrcouchdbtablelayer.cpp:1620:34: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2767. json_object* poRev = json_object_object_get(poRow, "rev");
  2768. ^
  2769. In file included from /usr/include/json-c/linkhash.h:16:0,
  2770. from /usr/include/json-c/json.h:22,
  2771. from ogr_couchdb.h:35,
  2772. from ogrcouchdbtablelayer.cpp:30:
  2773. /usr/include/json-c/json_object.h:290:56: note: declared here
  2774. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2775. ^
  2776. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2777. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2778. ^
  2779. ogrcouchdbtablelayer.cpp:1620:69: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2780. json_object* poRev = json_object_object_get(poRow, "rev");
  2781. ^
  2782. In file included from /usr/include/json-c/linkhash.h:16:0,
  2783. from /usr/include/json-c/json.h:22,
  2784. from ogr_couchdb.h:35,
  2785. from ogrcouchdbtablelayer.cpp:30:
  2786. /usr/include/json-c/json_object.h:290:56: note: declared here
  2787. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2788. ^
  2789. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2790. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2791. ^
  2792. ogrcouchdbtablelayer.cpp:1621:36: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2793. json_object* poError = json_object_object_get(poRow, "error");
  2794. ^
  2795. In file included from /usr/include/json-c/linkhash.h:16:0,
  2796. from /usr/include/json-c/json.h:22,
  2797. from ogr_couchdb.h:35,
  2798. from ogrcouchdbtablelayer.cpp:30:
  2799. /usr/include/json-c/json_object.h:290:56: note: declared here
  2800. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2801. ^
  2802. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2803. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2804. ^
  2805. ogrcouchdbtablelayer.cpp:1621:36: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2806. json_object* poError = json_object_object_get(poRow, "error");
  2807. ^
  2808. In file included from /usr/include/json-c/linkhash.h:16:0,
  2809. from /usr/include/json-c/json.h:22,
  2810. from ogr_couchdb.h:35,
  2811. from ogrcouchdbtablelayer.cpp:30:
  2812. /usr/include/json-c/json_object.h:290:56: note: declared here
  2813. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2814. ^
  2815. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2816. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2817. ^
  2818. ogrcouchdbtablelayer.cpp:1621:73: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2819. json_object* poError = json_object_object_get(poRow, "error");
  2820. ^
  2821. In file included from /usr/include/json-c/linkhash.h:16:0,
  2822. from /usr/include/json-c/json.h:22,
  2823. from ogr_couchdb.h:35,
  2824. from ogrcouchdbtablelayer.cpp:30:
  2825. /usr/include/json-c/json_object.h:290:56: note: declared here
  2826. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2827. ^
  2828. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2829. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2830. ^
  2831. ogrcouchdbtablelayer.cpp:1622:37: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2832. json_object* poReason = json_object_object_get(poRow, "reason");
  2833. ^
  2834. In file included from /usr/include/json-c/linkhash.h:16:0,
  2835. from /usr/include/json-c/json.h:22,
  2836. from ogr_couchdb.h:35,
  2837. from ogrcouchdbtablelayer.cpp:30:
  2838. /usr/include/json-c/json_object.h:290:56: note: declared here
  2839. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2840. ^
  2841. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2842. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2843. ^
  2844. ogrcouchdbtablelayer.cpp:1622:37: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2845. json_object* poReason = json_object_object_get(poRow, "reason");
  2846. ^
  2847. In file included from /usr/include/json-c/linkhash.h:16:0,
  2848. from /usr/include/json-c/json.h:22,
  2849. from ogr_couchdb.h:35,
  2850. from ogrcouchdbtablelayer.cpp:30:
  2851. /usr/include/json-c/json_object.h:290:56: note: declared here
  2852. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2853. ^
  2854. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2855. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2856. ^
  2857. ogrcouchdbtablelayer.cpp:1622:75: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2858. json_object* poReason = json_object_object_get(poRow, "reason");
  2859. ^
  2860. In file included from /usr/include/json-c/linkhash.h:16:0,
  2861. from /usr/include/json-c/json.h:22,
  2862. from ogr_couchdb.h:35,
  2863. from ogrcouchdbtablelayer.cpp:30:
  2864. /usr/include/json-c/json_object.h:290:56: note: declared here
  2865. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2866. ^
  2867. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2868. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2869. ^
  2870. ogrcouchdbtablelayer.cpp: In member function ‘void OGRCouchDBTableLayer::LoadMetadata()’:
  2871. ogrcouchdbtablelayer.cpp:1772:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2872. json_object* poRev = json_object_object_get(poAnswerObj, "_rev");
  2873. ^
  2874. In file included from /usr/include/json-c/linkhash.h:16:0,
  2875. from /usr/include/json-c/json.h:22,
  2876. from ogr_couchdb.h:35,
  2877. from ogrcouchdbtablelayer.cpp:30:
  2878. /usr/include/json-c/json_object.h:290:56: note: declared here
  2879. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2880. ^
  2881. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2882. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2883. ^
  2884. ogrcouchdbtablelayer.cpp:1772:26: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2885. json_object* poRev = json_object_object_get(poAnswerObj, "_rev");
  2886. ^
  2887. In file included from /usr/include/json-c/linkhash.h:16:0,
  2888. from /usr/include/json-c/json.h:22,
  2889. from ogr_couchdb.h:35,
  2890. from ogrcouchdbtablelayer.cpp:30:
  2891. /usr/include/json-c/json_object.h:290:56: note: declared here
  2892. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2893. ^
  2894. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2895. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2896. ^
  2897. ogrcouchdbtablelayer.cpp:1772:68: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2898. json_object* poRev = json_object_object_get(poAnswerObj, "_rev");
  2899. ^
  2900. In file included from /usr/include/json-c/linkhash.h:16:0,
  2901. from /usr/include/json-c/json.h:22,
  2902. from ogr_couchdb.h:35,
  2903. from ogrcouchdbtablelayer.cpp:30:
  2904. /usr/include/json-c/json_object.h:290:56: note: declared here
  2905. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2906. ^
  2907. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2908. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2909. ^
  2910. ogrcouchdbtablelayer.cpp:1777:28: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2911. json_object* poError = json_object_object_get(poAnswerObj, "error");
  2912. ^
  2913. In file included from /usr/include/json-c/linkhash.h:16:0,
  2914. from /usr/include/json-c/json.h:22,
  2915. from ogr_couchdb.h:35,
  2916. from ogrcouchdbtablelayer.cpp:30:
  2917. /usr/include/json-c/json_object.h:290:56: note: declared here
  2918. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2919. ^
  2920. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2921. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2922. ^
  2923. ogrcouchdbtablelayer.cpp:1777:28: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2924. json_object* poError = json_object_object_get(poAnswerObj, "error");
  2925. ^
  2926. In file included from /usr/include/json-c/linkhash.h:16:0,
  2927. from /usr/include/json-c/json.h:22,
  2928. from ogr_couchdb.h:35,
  2929. from ogrcouchdbtablelayer.cpp:30:
  2930. /usr/include/json-c/json_object.h:290:56: note: declared here
  2931. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2932. ^
  2933. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2934. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2935. ^
  2936. ogrcouchdbtablelayer.cpp:1777:71: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2937. json_object* poError = json_object_object_get(poAnswerObj, "error");
  2938. ^
  2939. In file included from /usr/include/json-c/linkhash.h:16:0,
  2940. from /usr/include/json-c/json.h:22,
  2941. from ogr_couchdb.h:35,
  2942. from ogrcouchdbtablelayer.cpp:30:
  2943. /usr/include/json-c/json_object.h:290:56: note: declared here
  2944. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2945. ^
  2946. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2947. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2948. ^
  2949. ogrcouchdbtablelayer.cpp:1791:30: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2950. json_object* poJsonSRS = json_object_object_get(poAnswerObj, "srs");
  2951. ^
  2952. In file included from /usr/include/json-c/linkhash.h:16:0,
  2953. from /usr/include/json-c/json.h:22,
  2954. from ogr_couchdb.h:35,
  2955. from ogrcouchdbtablelayer.cpp:30:
  2956. /usr/include/json-c/json_object.h:290:56: note: declared here
  2957. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2958. ^
  2959. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2960. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2961. ^
  2962. ogrcouchdbtablelayer.cpp:1791:30: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2963. json_object* poJsonSRS = json_object_object_get(poAnswerObj, "srs");
  2964. ^
  2965. In file included from /usr/include/json-c/linkhash.h:16:0,
  2966. from /usr/include/json-c/json.h:22,
  2967. from ogr_couchdb.h:35,
  2968. from ogrcouchdbtablelayer.cpp:30:
  2969. /usr/include/json-c/json_object.h:290:56: note: declared here
  2970. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2971. ^
  2972. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2973. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2974. ^
  2975. ogrcouchdbtablelayer.cpp:1791:71: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2976. json_object* poJsonSRS = json_object_object_get(poAnswerObj, "srs");
  2977. ^
  2978. In file included from /usr/include/json-c/linkhash.h:16:0,
  2979. from /usr/include/json-c/json.h:22,
  2980. from ogr_couchdb.h:35,
  2981. from ogrcouchdbtablelayer.cpp:30:
  2982. /usr/include/json-c/json_object.h:290:56: note: declared here
  2983. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2984. ^
  2985. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2986. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  2987. ^
  2988. ogrcouchdbtablelayer.cpp:1803:31: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  2989. json_object* poGeomType = json_object_object_get(poAnswerObj, "geomtype");
  2990. ^
  2991. In file included from /usr/include/json-c/linkhash.h:16:0,
  2992. from /usr/include/json-c/json.h:22,
  2993. from ogr_couchdb.h:35,
  2994. from ogrcouchdbtablelayer.cpp:30:
  2995. /usr/include/json-c/json_object.h:290:56: note: declared here
  2996. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  2997. ^
  2998. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  2999. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3000. ^
  3001. ogrcouchdbtablelayer.cpp:1803:31: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3002. json_object* poGeomType = json_object_object_get(poAnswerObj, "geomtype");
  3003. ^
  3004. In file included from /usr/include/json-c/linkhash.h:16:0,
  3005. from /usr/include/json-c/json.h:22,
  3006. from ogr_couchdb.h:35,
  3007. from ogrcouchdbtablelayer.cpp:30:
  3008. /usr/include/json-c/json_object.h:290:56: note: declared here
  3009. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3010. ^
  3011. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3012. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3013. ^
  3014. ogrcouchdbtablelayer.cpp:1803:77: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3015. json_object* poGeomType = json_object_object_get(poAnswerObj, "geomtype");
  3016. ^
  3017. In file included from /usr/include/json-c/linkhash.h:16:0,
  3018. from /usr/include/json-c/json.h:22,
  3019. from ogr_couchdb.h:35,
  3020. from ogrcouchdbtablelayer.cpp:30:
  3021. /usr/include/json-c/json_object.h:290:56: note: declared here
  3022. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3023. ^
  3024. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3025. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3026. ^
  3027. ogrcouchdbtablelayer.cpp:1817:36: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3028. json_object* poIs25D = json_object_object_get(poAnswerObj, "is_25D");
  3029. ^
  3030. In file included from /usr/include/json-c/linkhash.h:16:0,
  3031. from /usr/include/json-c/json.h:22,
  3032. from ogr_couchdb.h:35,
  3033. from ogrcouchdbtablelayer.cpp:30:
  3034. /usr/include/json-c/json_object.h:290:56: note: declared here
  3035. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3036. ^
  3037. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3038. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3039. ^
  3040. ogrcouchdbtablelayer.cpp:1817:36: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3041. json_object* poIs25D = json_object_object_get(poAnswerObj, "is_25D");
  3042. ^
  3043. In file included from /usr/include/json-c/linkhash.h:16:0,
  3044. from /usr/include/json-c/json.h:22,
  3045. from ogr_couchdb.h:35,
  3046. from ogrcouchdbtablelayer.cpp:30:
  3047. /usr/include/json-c/json_object.h:290:56: note: declared here
  3048. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3049. ^
  3050. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3051. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3052. ^
  3053. ogrcouchdbtablelayer.cpp:1817:80: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3054. json_object* poIs25D = json_object_object_get(poAnswerObj, "is_25D");
  3055. ^
  3056. In file included from /usr/include/json-c/linkhash.h:16:0,
  3057. from /usr/include/json-c/json.h:22,
  3058. from ogr_couchdb.h:35,
  3059. from ogrcouchdbtablelayer.cpp:30:
  3060. /usr/include/json-c/json_object.h:290:56: note: declared here
  3061. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3062. ^
  3063. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3064. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3065. ^
  3066. ogrcouchdbtablelayer.cpp:1821:37: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3067. json_object* poExtent = json_object_object_get(poAnswerObj, "extent");
  3068. ^
  3069. In file included from /usr/include/json-c/linkhash.h:16:0,
  3070. from /usr/include/json-c/json.h:22,
  3071. from ogr_couchdb.h:35,
  3072. from ogrcouchdbtablelayer.cpp:30:
  3073. /usr/include/json-c/json_object.h:290:56: note: declared here
  3074. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3075. ^
  3076. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3077. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3078. ^
  3079. ogrcouchdbtablelayer.cpp:1821:37: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3080. json_object* poExtent = json_object_object_get(poAnswerObj, "extent");
  3081. ^
  3082. In file included from /usr/include/json-c/linkhash.h:16:0,
  3083. from /usr/include/json-c/json.h:22,
  3084. from ogr_couchdb.h:35,
  3085. from ogrcouchdbtablelayer.cpp:30:
  3086. /usr/include/json-c/json_object.h:290:56: note: declared here
  3087. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3088. ^
  3089. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3090. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3091. ^
  3092. ogrcouchdbtablelayer.cpp:1821:81: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3093. json_object* poExtent = json_object_object_get(poAnswerObj, "extent");
  3094. ^
  3095. In file included from /usr/include/json-c/linkhash.h:16:0,
  3096. from /usr/include/json-c/json.h:22,
  3097. from ogr_couchdb.h:35,
  3098. from ogrcouchdbtablelayer.cpp:30:
  3099. /usr/include/json-c/json_object.h:290:56: note: declared here
  3100. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3101. ^
  3102. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3103. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3104. ^
  3105. ogrcouchdbtablelayer.cpp:1825:21: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3106. json_object_object_get(poExtent, "validity_update_seq");
  3107. ^
  3108. In file included from /usr/include/json-c/linkhash.h:16:0,
  3109. from /usr/include/json-c/json.h:22,
  3110. from ogr_couchdb.h:35,
  3111. from ogrcouchdbtablelayer.cpp:30:
  3112. /usr/include/json-c/json_object.h:290:56: note: declared here
  3113. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3114. ^
  3115. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3116. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3117. ^
  3118. ogrcouchdbtablelayer.cpp:1825:21: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3119. json_object_object_get(poExtent, "validity_update_seq");
  3120. ^
  3121. In file included from /usr/include/json-c/linkhash.h:16:0,
  3122. from /usr/include/json-c/json.h:22,
  3123. from ogr_couchdb.h:35,
  3124. from ogrcouchdbtablelayer.cpp:30:
  3125. /usr/include/json-c/json_object.h:290:56: note: declared here
  3126. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3127. ^
  3128. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3129. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3130. ^
  3131. ogrcouchdbtablelayer.cpp:1825:75: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3132. json_object_object_get(poExtent, "validity_update_seq");
  3133. ^
  3134. In file included from /usr/include/json-c/linkhash.h:16:0,
  3135. from /usr/include/json-c/json.h:22,
  3136. from ogr_couchdb.h:35,
  3137. from ogrcouchdbtablelayer.cpp:30:
  3138. /usr/include/json-c/json_object.h:290:56: note: declared here
  3139. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3140. ^
  3141. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3142. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3143. ^
  3144. ogrcouchdbtablelayer.cpp:1849:39: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3145. json_object* poBbox = json_object_object_get(poExtent, "bbox");
  3146. ^
  3147. In file included from /usr/include/json-c/linkhash.h:16:0,
  3148. from /usr/include/json-c/json.h:22,
  3149. from ogr_couchdb.h:35,
  3150. from ogrcouchdbtablelayer.cpp:30:
  3151. /usr/include/json-c/json_object.h:290:56: note: declared here
  3152. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3153. ^
  3154. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3155. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3156. ^
  3157. ogrcouchdbtablelayer.cpp:1849:39: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3158. json_object* poBbox = json_object_object_get(poExtent, "bbox");
  3159. ^
  3160. In file included from /usr/include/json-c/linkhash.h:16:0,
  3161. from /usr/include/json-c/json.h:22,
  3162. from ogr_couchdb.h:35,
  3163. from ogrcouchdbtablelayer.cpp:30:
  3164. /usr/include/json-c/json_object.h:290:56: note: declared here
  3165. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3166. ^
  3167. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3168. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3169. ^
  3170. ogrcouchdbtablelayer.cpp:1849:78: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3171. json_object* poBbox = json_object_object_get(poExtent, "bbox");
  3172. ^
  3173. In file included from /usr/include/json-c/linkhash.h:16:0,
  3174. from /usr/include/json-c/json.h:22,
  3175. from ogr_couchdb.h:35,
  3176. from ogrcouchdbtablelayer.cpp:30:
  3177. /usr/include/json-c/json_object.h:290:56: note: declared here
  3178. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3179. ^
  3180. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3181. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3182. ^
  3183. ogrcouchdbtablelayer.cpp:1868:30: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3184. json_object* poGeoJSON = json_object_object_get(poAnswerObj, "geojson_documents");
  3185. ^
  3186. In file included from /usr/include/json-c/linkhash.h:16:0,
  3187. from /usr/include/json-c/json.h:22,
  3188. from ogr_couchdb.h:35,
  3189. from ogrcouchdbtablelayer.cpp:30:
  3190. /usr/include/json-c/json_object.h:290:56: note: declared here
  3191. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3192. ^
  3193. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3194. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3195. ^
  3196. ogrcouchdbtablelayer.cpp:1868:30: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3197. json_object* poGeoJSON = json_object_object_get(poAnswerObj, "geojson_documents");
  3198. ^
  3199. In file included from /usr/include/json-c/linkhash.h:16:0,
  3200. from /usr/include/json-c/json.h:22,
  3201. from ogr_couchdb.h:35,
  3202. from ogrcouchdbtablelayer.cpp:30:
  3203. /usr/include/json-c/json_object.h:290:56: note: declared here
  3204. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3205. ^
  3206. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3207. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3208. ^
  3209. ogrcouchdbtablelayer.cpp:1868:85: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3210. json_object* poGeoJSON = json_object_object_get(poAnswerObj, "geojson_documents");
  3211. ^
  3212. In file included from /usr/include/json-c/linkhash.h:16:0,
  3213. from /usr/include/json-c/json.h:22,
  3214. from ogr_couchdb.h:35,
  3215. from ogrcouchdbtablelayer.cpp:30:
  3216. /usr/include/json-c/json_object.h:290:56: note: declared here
  3217. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3218. ^
  3219. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3220. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3221. ^
  3222. ogrcouchdbtablelayer.cpp:1872:29: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3223. json_object* poFields = json_object_object_get(poAnswerObj, "fields");
  3224. ^
  3225. In file included from /usr/include/json-c/linkhash.h:16:0,
  3226. from /usr/include/json-c/json.h:22,
  3227. from ogr_couchdb.h:35,
  3228. from ogrcouchdbtablelayer.cpp:30:
  3229. /usr/include/json-c/json_object.h:290:56: note: declared here
  3230. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3231. ^
  3232. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3233. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3234. ^
  3235. ogrcouchdbtablelayer.cpp:1872:29: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3236. json_object* poFields = json_object_object_get(poAnswerObj, "fields");
  3237. ^
  3238. In file included from /usr/include/json-c/linkhash.h:16:0,
  3239. from /usr/include/json-c/json.h:22,
  3240. from ogr_couchdb.h:35,
  3241. from ogrcouchdbtablelayer.cpp:30:
  3242. /usr/include/json-c/json_object.h:290:56: note: declared here
  3243. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3244. ^
  3245. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3246. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3247. ^
  3248. ogrcouchdbtablelayer.cpp:1872:73: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3249. json_object* poFields = json_object_object_get(poAnswerObj, "fields");
  3250. ^
  3251. In file included from /usr/include/json-c/linkhash.h:16:0,
  3252. from /usr/include/json-c/json.h:22,
  3253. from ogr_couchdb.h:35,
  3254. from ogrcouchdbtablelayer.cpp:30:
  3255. /usr/include/json-c/json_object.h:290:56: note: declared here
  3256. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3257. ^
  3258. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3259. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3260. ^
  3261. ogrcouchdbtablelayer.cpp:1894:39: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3262. json_object* poName = json_object_object_get(poField, "name");
  3263. ^
  3264. In file included from /usr/include/json-c/linkhash.h:16:0,
  3265. from /usr/include/json-c/json.h:22,
  3266. from ogr_couchdb.h:35,
  3267. from ogrcouchdbtablelayer.cpp:30:
  3268. /usr/include/json-c/json_object.h:290:56: note: declared here
  3269. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3270. ^
  3271. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3272. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3273. ^
  3274. ogrcouchdbtablelayer.cpp:1894:39: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3275. json_object* poName = json_object_object_get(poField, "name");
  3276. ^
  3277. In file included from /usr/include/json-c/linkhash.h:16:0,
  3278. from /usr/include/json-c/json.h:22,
  3279. from ogr_couchdb.h:35,
  3280. from ogrcouchdbtablelayer.cpp:30:
  3281. /usr/include/json-c/json_object.h:290:56: note: declared here
  3282. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3283. ^
  3284. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3285. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3286. ^
  3287. ogrcouchdbtablelayer.cpp:1894:77: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3288. json_object* poName = json_object_object_get(poField, "name");
  3289. ^
  3290. In file included from /usr/include/json-c/linkhash.h:16:0,
  3291. from /usr/include/json-c/json.h:22,
  3292. from ogr_couchdb.h:35,
  3293. from ogrcouchdbtablelayer.cpp:30:
  3294. /usr/include/json-c/json_object.h:290:56: note: declared here
  3295. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3296. ^
  3297. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3298. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3299. ^
  3300. ogrcouchdbtablelayer.cpp:1898:43: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3301. json_object* poType = json_object_object_get(poField, "type");
  3302. ^
  3303. In file included from /usr/include/json-c/linkhash.h:16:0,
  3304. from /usr/include/json-c/json.h:22,
  3305. from ogr_couchdb.h:35,
  3306. from ogrcouchdbtablelayer.cpp:30:
  3307. /usr/include/json-c/json_object.h:290:56: note: declared here
  3308. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3309. ^
  3310. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3311. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3312. ^
  3313. ogrcouchdbtablelayer.cpp:1898:43: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3314. json_object* poType = json_object_object_get(poField, "type");
  3315. ^
  3316. In file included from /usr/include/json-c/linkhash.h:16:0,
  3317. from /usr/include/json-c/json.h:22,
  3318. from ogr_couchdb.h:35,
  3319. from ogrcouchdbtablelayer.cpp:30:
  3320. /usr/include/json-c/json_object.h:290:56: note: declared here
  3321. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3322. ^
  3323. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3324. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3325. ^
  3326. ogrcouchdbtablelayer.cpp:1898:81: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3327. json_object* poType = json_object_object_get(poField, "type");
  3328. ^
  3329. In file included from /usr/include/json-c/linkhash.h:16:0,
  3330. from /usr/include/json-c/json.h:22,
  3331. from ogr_couchdb.h:35,
  3332. from ogrcouchdbtablelayer.cpp:30:
  3333. /usr/include/json-c/json_object.h:290:56: note: declared here
  3334. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3335. ^
  3336. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3337. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3338. ^
  3339. ogrcouchdbtablelayer.cpp: In member function ‘void OGRCouchDBTableLayer::WriteMetadata()’:
  3340. ogrcouchdbtablelayer.cpp:2034:30: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3341. json_object* poRev = json_object_object_get(poAnswerObj, "_rev");
  3342. ^
  3343. In file included from /usr/include/json-c/linkhash.h:16:0,
  3344. from /usr/include/json-c/json.h:22,
  3345. from ogr_couchdb.h:35,
  3346. from ogrcouchdbtablelayer.cpp:30:
  3347. /usr/include/json-c/json_object.h:290:56: note: declared here
  3348. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3349. ^
  3350. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3351. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3352. ^
  3353. ogrcouchdbtablelayer.cpp:2034:30: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3354. json_object* poRev = json_object_object_get(poAnswerObj, "_rev");
  3355. ^
  3356. In file included from /usr/include/json-c/linkhash.h:16:0,
  3357. from /usr/include/json-c/json.h:22,
  3358. from ogr_couchdb.h:35,
  3359. from ogrcouchdbtablelayer.cpp:30:
  3360. /usr/include/json-c/json_object.h:290:56: note: declared here
  3361. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3362. ^
  3363. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3364. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3365. ^
  3366. ogrcouchdbtablelayer.cpp:2034:72: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3367. json_object* poRev = json_object_object_get(poAnswerObj, "_rev");
  3368. ^
  3369. In file included from /usr/include/json-c/linkhash.h:16:0,
  3370. from /usr/include/json-c/json.h:22,
  3371. from ogr_couchdb.h:35,
  3372. from ogrcouchdbtablelayer.cpp:30:
  3373. /usr/include/json-c/json_object.h:290:56: note: declared here
  3374. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3375. ^
  3376. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3377. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3378. ^
  3379. ogrcouchdbtablelayer.cpp: In member function ‘int OGRCouchDBTableLayer::FetchUpdateSeq()’:
  3380. ogrcouchdbtablelayer.cpp:2086:9: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3381. json_object_object_get(poAnswerObj, "update_seq") != NULL)
  3382. ^
  3383. In file included from /usr/include/json-c/linkhash.h:16:0,
  3384. from /usr/include/json-c/json.h:22,
  3385. from ogr_couchdb.h:35,
  3386. from ogrcouchdbtablelayer.cpp:30:
  3387. /usr/include/json-c/json_object.h:290:56: note: declared here
  3388. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3389. ^
  3390. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3391. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3392. ^
  3393. ogrcouchdbtablelayer.cpp:2086:9: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3394. json_object_object_get(poAnswerObj, "update_seq") != NULL)
  3395. ^
  3396. In file included from /usr/include/json-c/linkhash.h:16:0,
  3397. from /usr/include/json-c/json.h:22,
  3398. from ogr_couchdb.h:35,
  3399. from ogrcouchdbtablelayer.cpp:30:
  3400. /usr/include/json-c/json_object.h:290:56: note: declared here
  3401. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3402. ^
  3403. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3404. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3405. ^
  3406. ogrcouchdbtablelayer.cpp:2086:57: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3407. json_object_object_get(poAnswerObj, "update_seq") != NULL)
  3408. ^
  3409. In file included from /usr/include/json-c/linkhash.h:16:0,
  3410. from /usr/include/json-c/json.h:22,
  3411. from ogr_couchdb.h:35,
  3412. from ogrcouchdbtablelayer.cpp:30:
  3413. /usr/include/json-c/json_object.h:290:56: note: declared here
  3414. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3415. ^
  3416. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3417. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3418. ^
  3419. ogrcouchdbtablelayer.cpp:2088:42: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3420. nUpdateSeq = json_object_get_int(json_object_object_get(poAnswerObj,
  3421. ^
  3422. In file included from /usr/include/json-c/linkhash.h:16:0,
  3423. from /usr/include/json-c/json.h:22,
  3424. from ogr_couchdb.h:35,
  3425. from ogrcouchdbtablelayer.cpp:30:
  3426. /usr/include/json-c/json_object.h:290:56: note: declared here
  3427. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3428. ^
  3429. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3430. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3431. ^
  3432. ogrcouchdbtablelayer.cpp:2088:42: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3433. nUpdateSeq = json_object_get_int(json_object_object_get(poAnswerObj,
  3434. ^
  3435. In file included from /usr/include/json-c/linkhash.h:16:0,
  3436. from /usr/include/json-c/json.h:22,
  3437. from ogr_couchdb.h:35,
  3438. from ogrcouchdbtablelayer.cpp:30:
  3439. /usr/include/json-c/json_object.h:290:56: note: declared here
  3440. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3441. ^
  3442. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3443. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3444. ^
  3445. ogrcouchdbtablelayer.cpp:2089:77: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3446. "update_seq"));
  3447. ^
  3448. In file included from /usr/include/json-c/linkhash.h:16:0,
  3449. from /usr/include/json-c/json.h:22,
  3450. from ogr_couchdb.h:35,
  3451. from ogrcouchdbtablelayer.cpp:30:
  3452. /usr/include/json-c/json_object.h:290:56: note: declared here
  3453. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3454. ^
  3455. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3456. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3457. ^
  3458. In file included from ogrosmdatasource.cpp:36:0:
  3459. gpb.h:272:5: warning: ‘int SkipUnknownField(int, GByte*, GByte*, int)’ defined but not used [-Wunused-function]
  3460. int SkipUnknownField(int nKey, GByte* pabyData, GByte* pabyDataLimit, int verbose)
  3461. ^
  3462. osm_parser.cpp: In function ‘int ReadOSMHeader(GByte*, GByte*, OSMContext*)’:
  3463. osm_parser.cpp:342:21: warning: variable ‘nVal’ set but not used [-Wunused-but-set-variable]
  3464. GIntBig nVal;
  3465. ^
  3466. osm_parser.cpp:347:21: warning: variable ‘nVal’ set but not used [-Wunused-but-set-variable]
  3467. GIntBig nVal;
  3468. ^
  3469. osm_parser.cpp: In function ‘int ReadOSMInfo(GByte*, GByte*, OSMInfo*, OSMContext*)’:
  3470. osm_parser.cpp:772:17: warning: variable ‘nVisible’ set but not used [-Wunused-but-set-variable]
  3471. int nVisible;
  3472. ^
  3473. osm_parser.cpp: In function ‘int ReadNode(GByte*, GByte*, OSMContext*)’:
  3474. osm_parser.cpp:877:26: warning: variable ‘nSize’ set but not used [-Wunused-but-set-variable]
  3475. unsigned int nSize;
  3476. ^
  3477. osm_parser.cpp: In function ‘int ReadWay(GByte*, GByte*, OSMContext*)’:
  3478. osm_parser.cpp:1002:26: warning: variable ‘nSize’ set but not used [-Wunused-but-set-variable]
  3479. unsigned int nSize;
  3480. ^
  3481. osm_parser.cpp: In function ‘int ReadRelation(GByte*, GByte*, OSMContext*)’:
  3482. osm_parser.cpp:1165:26: warning: variable ‘nSize’ set but not used [-Wunused-but-set-variable]
  3483. unsigned int nSize;
  3484. ^
  3485. osm_parser.cpp:1236:26: warning: variable ‘nSize’ set but not used [-Wunused-but-set-variable]
  3486. unsigned int nSize;
  3487. ^
  3488. ogrcartodbdatasource.cpp: In member function ‘int OGRCARTODBDataSource::Open(const char*, int)’:
  3489. ogrcartodbdatasource.cpp:180:27: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3490. json_object* poRows = json_object_object_get(poObj, "rows");
  3491. ^
  3492. In file included from /usr/include/json-c/linkhash.h:16:0,
  3493. from /usr/include/json-c/json.h:22,
  3494. from ogr_cartodb.h:37,
  3495. from ogrcartodbdatasource.cpp:30:
  3496. /usr/include/json-c/json_object.h:290:56: note: declared here
  3497. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3498. ^
  3499. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3500. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3501. ^
  3502. ogrcartodbdatasource.cpp:180:27: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3503. json_object* poRows = json_object_object_get(poObj, "rows");
  3504. ^
  3505. In file included from /usr/include/json-c/linkhash.h:16:0,
  3506. from /usr/include/json-c/json.h:22,
  3507. from ogr_cartodb.h:37,
  3508. from ogrcartodbdatasource.cpp:30:
  3509. /usr/include/json-c/json_object.h:290:56: note: declared here
  3510. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3511. ^
  3512. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3513. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3514. ^
  3515. ogrcartodbdatasource.cpp:180:63: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3516. json_object* poRows = json_object_object_get(poObj, "rows");
  3517. ^
  3518. In file included from /usr/include/json-c/linkhash.h:16:0,
  3519. from /usr/include/json-c/json.h:22,
  3520. from ogr_cartodb.h:37,
  3521. from ogrcartodbdatasource.cpp:30:
  3522. /usr/include/json-c/json_object.h:290:56: note: declared here
  3523. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3524. ^
  3525. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3526. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3527. ^
  3528. ogrcartodbdatasource.cpp:192:34: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3529. json_object* poVal = json_object_object_get(poTableNameObj, "cdb_usertables");
  3530. ^
  3531. In file included from /usr/include/json-c/linkhash.h:16:0,
  3532. from /usr/include/json-c/json.h:22,
  3533. from ogr_cartodb.h:37,
  3534. from ogrcartodbdatasource.cpp:30:
  3535. /usr/include/json-c/json_object.h:290:56: note: declared here
  3536. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3537. ^
  3538. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3539. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3540. ^
  3541. ogrcartodbdatasource.cpp:192:34: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3542. json_object* poVal = json_object_object_get(poTableNameObj, "cdb_usertables");
  3543. ^
  3544. In file included from /usr/include/json-c/linkhash.h:16:0,
  3545. from /usr/include/json-c/json.h:22,
  3546. from ogr_cartodb.h:37,
  3547. from ogrcartodbdatasource.cpp:30:
  3548. /usr/include/json-c/json_object.h:290:56: note: declared here
  3549. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3550. ^
  3551. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3552. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3553. ^
  3554. ogrcartodbdatasource.cpp:192:89: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3555. json_object* poVal = json_object_object_get(poTableNameObj, "cdb_usertables");
  3556. ^
  3557. In file included from /usr/include/json-c/linkhash.h:16:0,
  3558. from /usr/include/json-c/json.h:22,
  3559. from ogr_cartodb.h:37,
  3560. from ogrcartodbdatasource.cpp:30:
  3561. /usr/include/json-c/json_object.h:290:56: note: declared here
  3562. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3563. ^
  3564. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3565. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3566. ^
  3567. ogrcartodbdatasource.cpp: In member function ‘json_object* OGRCARTODBDataSource::RunSQL(const char*)’:
  3568. ogrcartodbdatasource.cpp:520:36: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3569. json_object* poError = json_object_object_get(poObj, "error");
  3570. ^
  3571. In file included from /usr/include/json-c/linkhash.h:16:0,
  3572. from /usr/include/json-c/json.h:22,
  3573. from ogr_cartodb.h:37,
  3574. from ogrcartodbdatasource.cpp:30:
  3575. /usr/include/json-c/json_object.h:290:56: note: declared here
  3576. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3577. ^
  3578. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3579. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3580. ^
  3581. ogrcartodbdatasource.cpp:520:36: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3582. json_object* poError = json_object_object_get(poObj, "error");
  3583. ^
  3584. In file included from /usr/include/json-c/linkhash.h:16:0,
  3585. from /usr/include/json-c/json.h:22,
  3586. from ogr_cartodb.h:37,
  3587. from ogrcartodbdatasource.cpp:30:
  3588. /usr/include/json-c/json_object.h:290:56: note: declared here
  3589. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3590. ^
  3591. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3592. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3593. ^
  3594. ogrcartodbdatasource.cpp:520:73: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3595. json_object* poError = json_object_object_get(poObj, "error");
  3596. ^
  3597. In file included from /usr/include/json-c/linkhash.h:16:0,
  3598. from /usr/include/json-c/json.h:22,
  3599. from ogr_cartodb.h:37,
  3600. from ogrcartodbdatasource.cpp:30:
  3601. /usr/include/json-c/json_object.h:290:56: note: declared here
  3602. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3603. ^
  3604. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3605. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3606. ^
  3607. ogrcartodbdatasource.cpp: In function ‘json_object* OGRCARTODBGetSingleRow(json_object*)’:
  3608. ogrcartodbdatasource.cpp:555:27: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3609. json_object* poRows = json_object_object_get(poObj, "rows");
  3610. ^
  3611. In file included from /usr/include/json-c/linkhash.h:16:0,
  3612. from /usr/include/json-c/json.h:22,
  3613. from ogr_cartodb.h:37,
  3614. from ogrcartodbdatasource.cpp:30:
  3615. /usr/include/json-c/json_object.h:290:56: note: declared here
  3616. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3617. ^
  3618. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3619. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3620. ^
  3621. ogrcartodbdatasource.cpp:555:27: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3622. json_object* poRows = json_object_object_get(poObj, "rows");
  3623. ^
  3624. In file included from /usr/include/json-c/linkhash.h:16:0,
  3625. from /usr/include/json-c/json.h:22,
  3626. from ogr_cartodb.h:37,
  3627. from ogrcartodbdatasource.cpp:30:
  3628. /usr/include/json-c/json_object.h:290:56: note: declared here
  3629. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3630. ^
  3631. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3632. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3633. ^
  3634. ogrcartodbdatasource.cpp:555:63: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3635. json_object* poRows = json_object_object_get(poObj, "rows");
  3636. ^
  3637. In file included from /usr/include/json-c/linkhash.h:16:0,
  3638. from /usr/include/json-c/json.h:22,
  3639. from ogr_cartodb.h:37,
  3640. from ogrcartodbdatasource.cpp:30:
  3641. /usr/include/json-c/json_object.h:290:56: note: declared here
  3642. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3643. ^
  3644. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3645. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3646. ^
  3647. ogrcartodblayer.cpp: In member function ‘OGRFeature* OGRCARTODBLayer::BuildFeature(json_object*)’:
  3648. ogrcartodblayer.cpp:107:34: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3649. json_object* poVal = json_object_object_get(poRowObj, osFIDColName);
  3650. ^
  3651. In file included from /usr/include/json-c/linkhash.h:16:0,
  3652. from /usr/include/json-c/json.h:22,
  3653. from ogr_cartodb.h:37,
  3654. from ogrcartodblayer.cpp:30:
  3655. /usr/include/json-c/json_object.h:290:56: note: declared here
  3656. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3657. ^
  3658. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3659. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3660. ^
  3661. ogrcartodblayer.cpp:107:34: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3662. json_object* poVal = json_object_object_get(poRowObj, osFIDColName);
  3663. ^
  3664. In file included from /usr/include/json-c/linkhash.h:16:0,
  3665. from /usr/include/json-c/json.h:22,
  3666. from ogr_cartodb.h:37,
  3667. from ogrcartodblayer.cpp:30:
  3668. /usr/include/json-c/json_object.h:290:56: note: declared here
  3669. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3670. ^
  3671. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3672. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3673. ^
  3674. ogrcartodblayer.cpp:107:79: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3675. json_object* poVal = json_object_object_get(poRowObj, osFIDColName);
  3676. ^
  3677. In file included from /usr/include/json-c/linkhash.h:16:0,
  3678. from /usr/include/json-c/json.h:22,
  3679. from ogr_cartodb.h:37,
  3680. from ogrcartodblayer.cpp:30:
  3681. /usr/include/json-c/json_object.h:290:56: note: declared here
  3682. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3683. ^
  3684. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3685. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3686. ^
  3687. ogrcartodblayer.cpp:121:34: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3688. json_object* poVal = json_object_object_get(poRowObj,
  3689. ^
  3690. In file included from /usr/include/json-c/linkhash.h:16:0,
  3691. from /usr/include/json-c/json.h:22,
  3692. from ogr_cartodb.h:37,
  3693. from ogrcartodblayer.cpp:30:
  3694. /usr/include/json-c/json_object.h:290:56: note: declared here
  3695. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3696. ^
  3697. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3698. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3699. ^
  3700. ogrcartodblayer.cpp:121:34: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3701. json_object* poVal = json_object_object_get(poRowObj,
  3702. ^
  3703. In file included from /usr/include/json-c/linkhash.h:16:0,
  3704. from /usr/include/json-c/json.h:22,
  3705. from ogr_cartodb.h:37,
  3706. from ogrcartodblayer.cpp:30:
  3707. /usr/include/json-c/json_object.h:290:56: note: declared here
  3708. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3709. ^
  3710. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3711. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3712. ^
  3713. ogrcartodblayer.cpp:122:73: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3714. poFeatureDefn->GetFieldDefn(i)->GetNameRef());
  3715. ^
  3716. In file included from /usr/include/json-c/linkhash.h:16:0,
  3717. from /usr/include/json-c/json.h:22,
  3718. from ogr_cartodb.h:37,
  3719. from ogrcartodblayer.cpp:30:
  3720. /usr/include/json-c/json_object.h:290:56: note: declared here
  3721. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3722. ^
  3723. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3724. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3725. ^
  3726. ogrcartodblayer.cpp:156:34: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3727. json_object* poVal = json_object_object_get(poRowObj,
  3728. ^
  3729. In file included from /usr/include/json-c/linkhash.h:16:0,
  3730. from /usr/include/json-c/json.h:22,
  3731. from ogr_cartodb.h:37,
  3732. from ogrcartodblayer.cpp:30:
  3733. /usr/include/json-c/json_object.h:290:56: note: declared here
  3734. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3735. ^
  3736. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3737. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3738. ^
  3739. ogrcartodblayer.cpp:156:34: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3740. json_object* poVal = json_object_object_get(poRowObj,
  3741. ^
  3742. In file included from /usr/include/json-c/linkhash.h:16:0,
  3743. from /usr/include/json-c/json.h:22,
  3744. from ogr_cartodb.h:37,
  3745. from ogrcartodblayer.cpp:30:
  3746. /usr/include/json-c/json_object.h:290:56: note: declared here
  3747. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3748. ^
  3749. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3750. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3751. ^
  3752. ogrcartodblayer.cpp:157:56: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3753. poGeomFldDefn->GetNameRef());
  3754. ^
  3755. In file included from /usr/include/json-c/linkhash.h:16:0,
  3756. from /usr/include/json-c/json.h:22,
  3757. from ogr_cartodb.h:37,
  3758. from ogrcartodblayer.cpp:30:
  3759. /usr/include/json-c/json_object.h:290:56: note: declared here
  3760. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3761. ^
  3762. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3763. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3764. ^
  3765. ogrcartodblayer.cpp: In member function ‘OGRFeature* OGRCARTODBLayer::GetNextRawFeature()’:
  3766. ogrcartodblayer.cpp:203:31: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3767. json_object* poRows = json_object_object_get(poObj, "rows");
  3768. ^
  3769. In file included from /usr/include/json-c/linkhash.h:16:0,
  3770. from /usr/include/json-c/json.h:22,
  3771. from ogr_cartodb.h:37,
  3772. from ogrcartodblayer.cpp:30:
  3773. /usr/include/json-c/json_object.h:290:56: note: declared here
  3774. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3775. ^
  3776. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3777. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3778. ^
  3779. ogrcartodblayer.cpp:203:31: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3780. json_object* poRows = json_object_object_get(poObj, "rows");
  3781. ^
  3782. In file included from /usr/include/json-c/linkhash.h:16:0,
  3783. from /usr/include/json-c/json.h:22,
  3784. from ogr_cartodb.h:37,
  3785. from ogrcartodblayer.cpp:30:
  3786. /usr/include/json-c/json_object.h:290:56: note: declared here
  3787. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3788. ^
  3789. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3790. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3791. ^
  3792. ogrcartodblayer.cpp:203:67: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3793. json_object* poRows = json_object_object_get(poObj, "rows");
  3794. ^
  3795. In file included from /usr/include/json-c/linkhash.h:16:0,
  3796. from /usr/include/json-c/json.h:22,
  3797. from ogr_cartodb.h:37,
  3798. from ogrcartodblayer.cpp:30:
  3799. /usr/include/json-c/json_object.h:290:56: note: declared here
  3800. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3801. ^
  3802. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3803. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3804. ^
  3805. ogrcartodblayer.cpp:221:27: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3806. json_object* poRows = json_object_object_get(poCachedObj, "rows");
  3807. ^
  3808. In file included from /usr/include/json-c/linkhash.h:16:0,
  3809. from /usr/include/json-c/json.h:22,
  3810. from ogr_cartodb.h:37,
  3811. from ogrcartodblayer.cpp:30:
  3812. /usr/include/json-c/json_object.h:290:56: note: declared here
  3813. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3814. ^
  3815. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3816. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3817. ^
  3818. ogrcartodblayer.cpp:221:27: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3819. json_object* poRows = json_object_object_get(poCachedObj, "rows");
  3820. ^
  3821. In file included from /usr/include/json-c/linkhash.h:16:0,
  3822. from /usr/include/json-c/json.h:22,
  3823. from ogr_cartodb.h:37,
  3824. from ogrcartodblayer.cpp:30:
  3825. /usr/include/json-c/json_object.h:290:56: note: declared here
  3826. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3827. ^
  3828. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3829. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3830. ^
  3831. ogrcartodblayer.cpp:221:69: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3832. json_object* poRows = json_object_object_get(poCachedObj, "rows");
  3833. ^
  3834. In file included from /usr/include/json-c/linkhash.h:16:0,
  3835. from /usr/include/json-c/json.h:22,
  3836. from ogr_cartodb.h:37,
  3837. from ogrcartodblayer.cpp:30:
  3838. /usr/include/json-c/json_object.h:290:56: note: declared here
  3839. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3840. ^
  3841. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3842. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3843. ^
  3844. ogrcartodblayer.cpp: In member function ‘void OGRCARTODBLayer::EstablishLayerDefn(const char*)’:
  3845. ogrcartodblayer.cpp:303:29: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3846. json_object* poFields = json_object_object_get(poObj, "fields");
  3847. ^
  3848. In file included from /usr/include/json-c/linkhash.h:16:0,
  3849. from /usr/include/json-c/json.h:22,
  3850. from ogr_cartodb.h:37,
  3851. from ogrcartodblayer.cpp:30:
  3852. /usr/include/json-c/json_object.h:290:56: note: declared here
  3853. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3854. ^
  3855. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3856. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3857. ^
  3858. ogrcartodblayer.cpp:303:29: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3859. json_object* poFields = json_object_object_get(poObj, "fields");
  3860. ^
  3861. In file included from /usr/include/json-c/linkhash.h:16:0,
  3862. from /usr/include/json-c/json.h:22,
  3863. from ogr_cartodb.h:37,
  3864. from ogrcartodblayer.cpp:30:
  3865. /usr/include/json-c/json_object.h:290:56: note: declared here
  3866. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3867. ^
  3868. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3869. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3870. ^
  3871. ogrcartodblayer.cpp:303:67: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3872. json_object* poFields = json_object_object_get(poObj, "fields");
  3873. ^
  3874. In file included from /usr/include/json-c/linkhash.h:16:0,
  3875. from /usr/include/json-c/json.h:22,
  3876. from ogr_cartodb.h:37,
  3877. from ogrcartodblayer.cpp:30:
  3878. /usr/include/json-c/json_object.h:290:56: note: declared here
  3879. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3880. ^
  3881. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3882. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3883. ^
  3884. ogrcartodblayer.cpp:319:35: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3885. json_object* poType = json_object_object_get(it.val, "type");
  3886. ^
  3887. In file included from /usr/include/json-c/linkhash.h:16:0,
  3888. from /usr/include/json-c/json.h:22,
  3889. from ogr_cartodb.h:37,
  3890. from ogrcartodblayer.cpp:30:
  3891. /usr/include/json-c/json_object.h:290:56: note: declared here
  3892. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3893. ^
  3894. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3895. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3896. ^
  3897. ogrcartodblayer.cpp:319:35: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3898. json_object* poType = json_object_object_get(it.val, "type");
  3899. ^
  3900. In file included from /usr/include/json-c/linkhash.h:16:0,
  3901. from /usr/include/json-c/json.h:22,
  3902. from ogr_cartodb.h:37,
  3903. from ogrcartodblayer.cpp:30:
  3904. /usr/include/json-c/json_object.h:290:56: note: declared here
  3905. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3906. ^
  3907. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3908. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3909. ^
  3910. ogrcartodblayer.cpp:319:72: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3911. json_object* poType = json_object_object_get(it.val, "type");
  3912. ^
  3913. In file included from /usr/include/json-c/linkhash.h:16:0,
  3914. from /usr/include/json-c/json.h:22,
  3915. from ogr_cartodb.h:37,
  3916. from ogrcartodblayer.cpp:30:
  3917. /usr/include/json-c/json_object.h:290:56: note: declared here
  3918. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3919. ^
  3920. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3921. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3922. ^
  3923. ogrcartodblayer.cpp: In member function ‘OGRSpatialReference* OGRCARTODBLayer::GetSRS(const char*, int*)’:
  3924. ogrcartodblayer.cpp:404:27: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3925. json_object* poSRID = json_object_object_get(poRowObj, "srid");
  3926. ^
  3927. In file included from /usr/include/json-c/linkhash.h:16:0,
  3928. from /usr/include/json-c/json.h:22,
  3929. from ogr_cartodb.h:37,
  3930. from ogrcartodblayer.cpp:30:
  3931. /usr/include/json-c/json_object.h:290:56: note: declared here
  3932. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3933. ^
  3934. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3935. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3936. ^
  3937. ogrcartodblayer.cpp:404:27: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3938. json_object* poSRID = json_object_object_get(poRowObj, "srid");
  3939. ^
  3940. In file included from /usr/include/json-c/linkhash.h:16:0,
  3941. from /usr/include/json-c/json.h:22,
  3942. from ogr_cartodb.h:37,
  3943. from ogrcartodblayer.cpp:30:
  3944. /usr/include/json-c/json_object.h:290:56: note: declared here
  3945. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3946. ^
  3947. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3948. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3949. ^
  3950. ogrcartodblayer.cpp:404:66: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3951. json_object* poSRID = json_object_object_get(poRowObj, "srid");
  3952. ^
  3953. In file included from /usr/include/json-c/linkhash.h:16:0,
  3954. from /usr/include/json-c/json.h:22,
  3955. from ogr_cartodb.h:37,
  3956. from ogrcartodblayer.cpp:30:
  3957. /usr/include/json-c/json_object.h:290:56: note: declared here
  3958. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3959. ^
  3960. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3961. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3962. ^
  3963. ogrcartodblayer.cpp:410:29: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3964. json_object* poSRTEXT = json_object_object_get(poRowObj, "srtext");
  3965. ^
  3966. In file included from /usr/include/json-c/linkhash.h:16:0,
  3967. from /usr/include/json-c/json.h:22,
  3968. from ogr_cartodb.h:37,
  3969. from ogrcartodblayer.cpp:30:
  3970. /usr/include/json-c/json_object.h:290:56: note: declared here
  3971. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3972. ^
  3973. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3974. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3975. ^
  3976. ogrcartodblayer.cpp:410:29: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3977. json_object* poSRTEXT = json_object_object_get(poRowObj, "srtext");
  3978. ^
  3979. In file included from /usr/include/json-c/linkhash.h:16:0,
  3980. from /usr/include/json-c/json.h:22,
  3981. from ogr_cartodb.h:37,
  3982. from ogrcartodblayer.cpp:30:
  3983. /usr/include/json-c/json_object.h:290:56: note: declared here
  3984. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3985. ^
  3986. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  3987. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  3988. ^
  3989. ogrcartodblayer.cpp:410:70: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  3990. json_object* poSRTEXT = json_object_object_get(poRowObj, "srtext");
  3991. ^
  3992. In file included from /usr/include/json-c/linkhash.h:16:0,
  3993. from /usr/include/json-c/json.h:22,
  3994. from ogr_cartodb.h:37,
  3995. from ogrcartodblayer.cpp:30:
  3996. /usr/include/json-c/json_object.h:290:56: note: declared here
  3997. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  3998. ^
  3999. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4000. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4001. ^
  4002. ogrcartodbtablelayer.cpp: In member function ‘virtual OGRErr OGRCARTODBTableLayer::CreateFeature(OGRFeature*)’:
  4003. ogrcartodbtablelayer.cpp:312:33: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  4004. json_object* poID = json_object_object_get(poRowObj, "nextid");
  4005. ^
  4006. In file included from /usr/include/json-c/linkhash.h:16:0,
  4007. from /usr/include/json-c/json.h:22,
  4008. from ogr_cartodb.h:37,
  4009. from ogrcartodbtablelayer.cpp:30:
  4010. /usr/include/json-c/json_object.h:290:56: note: declared here
  4011. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  4012. ^
  4013. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4014. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4015. ^
  4016. ogrcartodbtablelayer.cpp:312:33: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  4017. json_object* poID = json_object_object_get(poRowObj, "nextid");
  4018. ^
  4019. In file included from /usr/include/json-c/linkhash.h:16:0,
  4020. from /usr/include/json-c/json.h:22,
  4021. from ogr_cartodb.h:37,
  4022. from ogrcartodbtablelayer.cpp:30:
  4023. /usr/include/json-c/json_object.h:290:56: note: declared here
  4024. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  4025. ^
  4026. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4027. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4028. ^
  4029. ogrcartodbtablelayer.cpp:312:74: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  4030. json_object* poID = json_object_object_get(poRowObj, "nextid");
  4031. ^
  4032. In file included from /usr/include/json-c/linkhash.h:16:0,
  4033. from /usr/include/json-c/json.h:22,
  4034. from ogr_cartodb.h:37,
  4035. from ogrcartodbtablelayer.cpp:30:
  4036. /usr/include/json-c/json_object.h:290:56: note: declared here
  4037. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  4038. ^
  4039. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4040. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4041. ^
  4042. ogrcartodbtablelayer.cpp:474:29: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  4043. json_object* poID = json_object_object_get(poRowObj, "cartodb_id");
  4044. ^
  4045. In file included from /usr/include/json-c/linkhash.h:16:0,
  4046. from /usr/include/json-c/json.h:22,
  4047. from ogr_cartodb.h:37,
  4048. from ogrcartodbtablelayer.cpp:30:
  4049. /usr/include/json-c/json_object.h:290:56: note: declared here
  4050. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  4051. ^
  4052. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4053. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4054. ^
  4055. ogrcartodbtablelayer.cpp:474:29: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  4056. json_object* poID = json_object_object_get(poRowObj, "cartodb_id");
  4057. ^
  4058. In file included from /usr/include/json-c/linkhash.h:16:0,
  4059. from /usr/include/json-c/json.h:22,
  4060. from ogr_cartodb.h:37,
  4061. from ogrcartodbtablelayer.cpp:30:
  4062. /usr/include/json-c/json_object.h:290:56: note: declared here
  4063. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  4064. ^
  4065. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4066. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4067. ^
  4068. ogrcartodbtablelayer.cpp:474:74: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  4069. json_object* poID = json_object_object_get(poRowObj, "cartodb_id");
  4070. ^
  4071. In file included from /usr/include/json-c/linkhash.h:16:0,
  4072. from /usr/include/json-c/json.h:22,
  4073. from ogr_cartodb.h:37,
  4074. from ogrcartodbtablelayer.cpp:30:
  4075. /usr/include/json-c/json_object.h:290:56: note: declared here
  4076. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  4077. ^
  4078. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4079. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4080. ^
  4081. ogrcartodbtablelayer.cpp:491:40: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  4082. json_object* poTotalRows = json_object_object_get(poObj, "total_rows");
  4083. ^
  4084. In file included from /usr/include/json-c/linkhash.h:16:0,
  4085. from /usr/include/json-c/json.h:22,
  4086. from ogr_cartodb.h:37,
  4087. from ogrcartodbtablelayer.cpp:30:
  4088. /usr/include/json-c/json_object.h:290:56: note: declared here
  4089. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  4090. ^
  4091. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4092. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4093. ^
  4094. ogrcartodbtablelayer.cpp:491:40: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  4095. json_object* poTotalRows = json_object_object_get(poObj, "total_rows");
  4096. ^
  4097. In file included from /usr/include/json-c/linkhash.h:16:0,
  4098. from /usr/include/json-c/json.h:22,
  4099. from ogr_cartodb.h:37,
  4100. from ogrcartodbtablelayer.cpp:30:
  4101. /usr/include/json-c/json_object.h:290:56: note: declared here
  4102. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  4103. ^
  4104. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4105. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4106. ^
  4107. ogrcartodbtablelayer.cpp:491:82: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  4108. json_object* poTotalRows = json_object_object_get(poObj, "total_rows");
  4109. ^
  4110. In file included from /usr/include/json-c/linkhash.h:16:0,
  4111. from /usr/include/json-c/json.h:22,
  4112. from ogr_cartodb.h:37,
  4113. from ogrcartodbtablelayer.cpp:30:
  4114. /usr/include/json-c/json_object.h:290:56: note: declared here
  4115. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  4116. ^
  4117. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4118. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4119. ^
  4120. ogrcartodbtablelayer.cpp: In member function ‘virtual OGRErr OGRCARTODBTableLayer::SetFeature(OGRFeature*)’:
  4121. ogrcartodbtablelayer.cpp:603:36: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  4122. json_object* poTotalRows = json_object_object_get(poObj, "total_rows");
  4123. ^
  4124. In file included from /usr/include/json-c/linkhash.h:16:0,
  4125. from /usr/include/json-c/json.h:22,
  4126. from ogr_cartodb.h:37,
  4127. from ogrcartodbtablelayer.cpp:30:
  4128. /usr/include/json-c/json_object.h:290:56: note: declared here
  4129. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  4130. ^
  4131. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4132. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4133. ^
  4134. ogrcartodbtablelayer.cpp:603:36: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  4135. json_object* poTotalRows = json_object_object_get(poObj, "total_rows");
  4136. ^
  4137. In file included from /usr/include/json-c/linkhash.h:16:0,
  4138. from /usr/include/json-c/json.h:22,
  4139. from ogr_cartodb.h:37,
  4140. from ogrcartodbtablelayer.cpp:30:
  4141. /usr/include/json-c/json_object.h:290:56: note: declared here
  4142. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  4143. ^
  4144. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4145. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4146. ^
  4147. ogrcartodbtablelayer.cpp:603:78: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  4148. json_object* poTotalRows = json_object_object_get(poObj, "total_rows");
  4149. ^
  4150. In file included from /usr/include/json-c/linkhash.h:16:0,
  4151. from /usr/include/json-c/json.h:22,
  4152. from ogr_cartodb.h:37,
  4153. from ogrcartodbtablelayer.cpp:30:
  4154. /usr/include/json-c/json_object.h:290:56: note: declared here
  4155. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  4156. ^
  4157. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4158. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4159. ^
  4160. ogrcartodbtablelayer.cpp: In member function ‘virtual OGRErr OGRCARTODBTableLayer::DeleteFeature(long int)’:
  4161. ogrcartodbtablelayer.cpp:654:36: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  4162. json_object* poTotalRows = json_object_object_get(poObj, "total_rows");
  4163. ^
  4164. In file included from /usr/include/json-c/linkhash.h:16:0,
  4165. from /usr/include/json-c/json.h:22,
  4166. from ogr_cartodb.h:37,
  4167. from ogrcartodbtablelayer.cpp:30:
  4168. /usr/include/json-c/json_object.h:290:56: note: declared here
  4169. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  4170. ^
  4171. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4172. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4173. ^
  4174. ogrcartodbtablelayer.cpp:654:36: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  4175. json_object* poTotalRows = json_object_object_get(poObj, "total_rows");
  4176. ^
  4177. In file included from /usr/include/json-c/linkhash.h:16:0,
  4178. from /usr/include/json-c/json.h:22,
  4179. from ogr_cartodb.h:37,
  4180. from ogrcartodbtablelayer.cpp:30:
  4181. /usr/include/json-c/json_object.h:290:56: note: declared here
  4182. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  4183. ^
  4184. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4185. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4186. ^
  4187. ogrcartodbtablelayer.cpp:654:78: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  4188. json_object* poTotalRows = json_object_object_get(poObj, "total_rows");
  4189. ^
  4190. In file included from /usr/include/json-c/linkhash.h:16:0,
  4191. from /usr/include/json-c/json.h:22,
  4192. from ogr_cartodb.h:37,
  4193. from ogrcartodbtablelayer.cpp:30:
  4194. /usr/include/json-c/json_object.h:290:56: note: declared here
  4195. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  4196. ^
  4197. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4198. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4199. ^
  4200. ogrcartodbtablelayer.cpp: In member function ‘virtual int OGRCARTODBTableLayer::GetFeatureCount(int)’:
  4201. ogrcartodbtablelayer.cpp:811:28: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  4202. json_object* poCount = json_object_object_get(poRowObj, "count");
  4203. ^
  4204. In file included from /usr/include/json-c/linkhash.h:16:0,
  4205. from /usr/include/json-c/json.h:22,
  4206. from ogr_cartodb.h:37,
  4207. from ogrcartodbtablelayer.cpp:30:
  4208. /usr/include/json-c/json_object.h:290:56: note: declared here
  4209. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  4210. ^
  4211. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4212. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4213. ^
  4214. ogrcartodbtablelayer.cpp:811:28: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  4215. json_object* poCount = json_object_object_get(poRowObj, "count");
  4216. ^
  4217. In file included from /usr/include/json-c/linkhash.h:16:0,
  4218. from /usr/include/json-c/json.h:22,
  4219. from ogr_cartodb.h:37,
  4220. from ogrcartodbtablelayer.cpp:30:
  4221. /usr/include/json-c/json_object.h:290:56: note: declared here
  4222. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  4223. ^
  4224. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4225. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4226. ^
  4227. ogrcartodbtablelayer.cpp:811:68: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  4228. json_object* poCount = json_object_object_get(poRowObj, "count");
  4229. ^
  4230. In file included from /usr/include/json-c/linkhash.h:16:0,
  4231. from /usr/include/json-c/json.h:22,
  4232. from ogr_cartodb.h:37,
  4233. from ogrcartodbtablelayer.cpp:30:
  4234. /usr/include/json-c/json_object.h:290:56: note: declared here
  4235. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  4236. ^
  4237. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4238. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4239. ^
  4240. ogrcartodbtablelayer.cpp: In member function ‘virtual OGRErr OGRCARTODBTableLayer::GetExtent(int, OGREnvelope*, int)’:
  4241. ogrcartodbtablelayer.cpp:859:33: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  4242. json_object* poExtent = json_object_object_get(poRowObj, "st_extent");
  4243. ^
  4244. In file included from /usr/include/json-c/linkhash.h:16:0,
  4245. from /usr/include/json-c/json.h:22,
  4246. from ogr_cartodb.h:37,
  4247. from ogrcartodbtablelayer.cpp:30:
  4248. /usr/include/json-c/json_object.h:290:56: note: declared here
  4249. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  4250. ^
  4251. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4252. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4253. ^
  4254. ogrcartodbtablelayer.cpp:859:33: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  4255. json_object* poExtent = json_object_object_get(poRowObj, "st_extent");
  4256. ^
  4257. In file included from /usr/include/json-c/linkhash.h:16:0,
  4258. from /usr/include/json-c/json.h:22,
  4259. from ogr_cartodb.h:37,
  4260. from ogrcartodbtablelayer.cpp:30:
  4261. /usr/include/json-c/json_object.h:290:56: note: declared here
  4262. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  4263. ^
  4264. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4265. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4266. ^
  4267. ogrcartodbtablelayer.cpp:859:77: warning: ‘json_object* json_object_object_get(json_object*, const char*)’ is deprecated [-Wdeprecated-declarations]
  4268. json_object* poExtent = json_object_object_get(poRowObj, "st_extent");
  4269. ^
  4270. In file included from /usr/include/json-c/linkhash.h:16:0,
  4271. from /usr/include/json-c/json.h:22,
  4272. from ogr_cartodb.h:37,
  4273. from ogrcartodbtablelayer.cpp:30:
  4274. /usr/include/json-c/json_object.h:290:56: note: declared here
  4275. THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
  4276. ^
  4277. /usr/include/json-c/json_object.h:17:43: note: in definition of macro ‘THIS_FUNCTION_IS_DEPRECATED’
  4278. #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
  4279. ^
  4280. ogrlineref.cpp: In function ‘OGRErr CreatePartsFromLineString(OGRLineString*, OGRLayer*, int, double, OGRLayer*, int, int, const char*, const char*)’:
  4281. ogrlineref.cpp:810:22: warning: ‘dfPtBegPosition’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  4282. nBegin = ceil(dfPtBegPosition / dfStep) * dfStep;
  4283. ^
  4284. cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  4285. In file included from /usr/include/python2.7/Python.h:133:0,
  4286. from extensions/gdal_wrap.cpp:149:
  4287. extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_MajorObject_SetMetadata__SWIG_0(PyObject*, PyObject*)’:
  4288. /usr/include/python2.7/abstract.h:1354:62: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  4289. #define PyMapping_Items(O) PyObject_CallMethod(O,"items",NULL)
  4290. ^
  4291. extensions/gdal_wrap.cpp:7851:31: note: in expansion of macro ‘PyMapping_Items’
  4292. PyObject *item_list = PyMapping_Items( obj1 );
  4293. ^
  4294. extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_VirtualMem_GetAddr(PyObject*, PyObject*)’:
  4295. extensions/gdal_wrap.cpp:11391:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  4296. buf->format = "B";
  4297. ^
  4298. extensions/gdal_wrap.cpp:11396:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  4299. buf->format = "h";
  4300. ^
  4301. extensions/gdal_wrap.cpp:11401:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  4302. buf->format = "H";
  4303. ^
  4304. extensions/gdal_wrap.cpp:11406:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  4305. buf->format = "i";
  4306. ^
  4307. extensions/gdal_wrap.cpp:11411:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  4308. buf->format = "I";
  4309. ^
  4310. extensions/gdal_wrap.cpp:11416:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  4311. buf->format = "f";
  4312. ^
  4313. extensions/gdal_wrap.cpp:11421:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  4314. buf->format = "F";
  4315. ^
  4316. extensions/gdal_wrap.cpp:11426:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  4317. buf->format = "B";
  4318. ^
  4319. extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_Band_ComputeStatistics(PyObject*, PyObject*)’:
  4320. extensions/gdal_wrap.cpp:15259:10: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
  4321. CPLErr result;
  4322. ^
  4323. /bin/sh: -d: invalid option
  4324. error: command '/bin/sh' failed with exit status 1
  4325. make[2]: *** [build] Error 1
  4326. make[1]: *** [build] Error 2
  4327. make: *** [swig-modules] Error 2
Advertisement
Add Comment
Please, Sign In to add comment