{"action":"created","issue":{"url":"https://api.github.com/repos/zhm/gdal-ruby/issues/4","labels_url":"https://api.github.com/repos/zhm/gdal-ruby/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/zhm/gdal-ruby/issues/4/comments","events_url":"https://api.github.com/repos/zhm/gdal-ruby/issues/4/events","html_url":"https://github.com/zhm/gdal-ruby/issues/4","id":39381022,"number":4,"title":"Compiler errors when trying to install gem with Ruby 1.9.x and gdal 1.11","user":{"login":"timwaters","id":48941,"avatar_url":"https://avatars.githubusercontent.com/u/48941?v=3","gravatar_id":"","url":"https://api.github.com/users/timwaters","html_url":"https://github.com/timwaters","followers_url":"https://api.github.com/users/timwaters/followers","following_url":"https://api.github.com/users/timwaters/following{/other_user}","gists_url":"https://api.github.com/users/timwaters/gists{/gist_id}","starred_url":"https://api.github.com/users/timwaters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timwaters/subscriptions","organizations_url":"https://api.github.com/users/timwaters/orgs","repos_url":"https://api.github.com/users/timwaters/repos","events_url":"https://api.github.com/users/timwaters/events{/privacy}","received_events_url":"https://api.github.com/users/timwaters/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2014-08-03T22:26:52Z","updated_at":"2015-04-04T21:33:07Z","closed_at":null,"body":"I get a number of compiler errors when trying to install the gem. They all seem to be related to one thing though: \r\n```\r\n-Werror=format-security\r\n```\r\nI am using this with a new Ubuntu LTS 14 Trusty install\r\n\r\nUsing Ruby 1.9.1  (ruby 1.9.3p484 )\r\n\r\ninstalled libgdal-ruby from ubuntugis-unstable repository\r\n\r\ngdal-config --version\r\n1.11.0\r\n\r\n(note, on a 12.04 ubuntu + rvm 1.9.3. gem was installed - using gdal 1.10.0)\r\n\r\nMany thanks in advance for your help!\r\n\r\nThe gem_make.out file.\r\n```\r\n/var/lib/gems/1.9.1/gems/gdal-0.0.5/ext/gdal-ruby/ogr/gem_make.out\r\n/usr/bin/ruby1.9.1 extconf.rb\r\nchecking for main() in -lgdal... yes\r\ncreating Makefile\r\n\r\nmake\r\ncompiling ogr.cpp\r\nIn file included from /usr/include/gdal/cpl_progress.h:33:0,\r\n                 from /usr/include/gdal/ogr_api.h:43,\r\n                 from ogr.cpp:1869:\r\n/usr/include/gdal/cpl_port.h:349:0: warning: \"STRCASECMP\" redefined [enabled by default]\r\n #    define STRCASECMP(a,b)         (strcasecmp(a,b))\r\n ^\r\nIn file included from /usr/include/ruby-1.9.1/ruby.h:32:0,\r\n                 from ogr.cpp:856:\r\n/usr/include/ruby-1.9.1/ruby/ruby.h:1466:0: note: this is the location of the previous definition\r\n #define STRCASECMP(s1, s2) (st_strcasecmp((s1), (s2)))\r\n ^\r\nIn file included from /usr/include/gdal/cpl_progress.h:33:0,\r\n                 from /usr/include/gdal/ogr_api.h:43,\r\n                 from ogr.cpp:1869:\r\n/usr/include/gdal/cpl_port.h:350:0: warning: \"STRNCASECMP\" redefined [enabled by default]\r\n #    define STRNCASECMP(a,b,n)      (strncasecmp(a,b,n))\r\n ^\r\nIn file included from /usr/include/ruby-1.9.1/ruby.h:32:0,\r\n                 from ogr.cpp:856:\r\n/usr/include/ruby-1.9.1/ruby/ruby.h:1467:0: note: this is the location of the previous definition\r\n #define STRNCASECMP(s1, s2, n) (st_strncasecmp((s1), (s2), (n)))\r\n ^\r\nogr.cpp: In function ‘void SWIG_Ruby_define_class(swig_type_info*)’:\r\nogr.cpp:1517:9: warning: variable ‘klass’ set but not used [-Wunused-but-set-variable]\r\n   VALUE klass;\r\n         ^\r\nogr.cpp: In function ‘VALUE SWIG_AUX_NUM2DBL(VALUE*)’:\r\nogr.cpp:2245:9: warning: unused variable ‘type’ [-Wunused-variable]\r\n   VALUE type = TYPE(obj);\r\n         ^\r\nogr.cpp: In function ‘void OGRLayerShadow_each(OGRLayerShadow*)’:\r\nogr.cpp:2375:66: warning: suggest parentheses around assignment used as truth value [-Wparentheses]\r\n    while (feature = (OGRFeatureShadow*) OGR_L_GetNextFeature(self))\r\n                                                                  ^\r\nogr.cpp: In function ‘VALUE _wrap_Driver_create_data_source(int, VALUE*, VALUE)’:\r\nogr.cpp:3339:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:3339:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:3339:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:3337:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_Driver_copy_data_source(int, VALUE*, VALUE)’:\r\nogr.cpp:3435:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:3435:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:3435:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:3435:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:3433:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_Driver_open(int, VALUE*, VALUE)’:\r\nogr.cpp:3535:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:3535:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:3535:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:3533:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_DataSource_delete_layer(int, VALUE*, VALUE)’:\r\nogr.cpp:4267:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_DataSource_sync_to_disk(int, VALUE*, VALUE)’:\r\nogr.cpp:4330:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_DataSource_create_layer(int, VALUE*, VALUE)’:\r\nogr.cpp:4371:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:4371:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:4371:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:4371:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:4371:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:4369:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_DataSource_copy_layer(int, VALUE*, VALUE)’:\r\nogr.cpp:4485:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:4485:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:4485:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:4485:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:4483:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_DataSource_execute_sql(int, VALUE*, VALUE)’:\r\nogr.cpp:4663:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:4663:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:4663:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:4663:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:4661:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_Layer_set_attribute_filter(int, VALUE*, VALUE)’:\r\nogr.cpp:5155:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_Layer_set_next_by_index(int, VALUE*, VALUE)’:\r\nogr.cpp:5604:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_Layer_set_feature(int, VALUE*, VALUE)’:\r\nogr.cpp:5680:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_Layer_create_feature(int, VALUE*, VALUE)’:\r\nogr.cpp:5756:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_Layer_delete_feature(int, VALUE*, VALUE)’:\r\nogr.cpp:5827:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_Layer_sync_to_disk(int, VALUE*, VALUE)’:\r\nogr.cpp:5890:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_Layer_get_feature_count(int, VALUE*, VALUE)’:\r\nogr.cpp:5977:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:5977:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:5975:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_Layer_get_extent(int, VALUE*, VALUE)’:\r\nogr.cpp:6045:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:6045:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:6091:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp:6043:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_Layer_create_field(int, VALUE*, VALUE)’:\r\nogr.cpp:6210:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:6210:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:6210:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:6262:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp:6208:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_Layer_delete_field(int, VALUE*, VALUE)’:\r\nogr.cpp:6333:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_Layer_reorder_field(int, VALUE*, VALUE)’:\r\nogr.cpp:6412:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_Layer_reorder_fields(int, VALUE*, VALUE)’:\r\nogr.cpp:6496:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_Layer_alter_field_defn(int, VALUE*, VALUE)’:\r\nogr.cpp:6600:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_Layer_start_transaction(int, VALUE*, VALUE)’:\r\nogr.cpp:6663:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_Layer_commit_transaction(int, VALUE*, VALUE)’:\r\nogr.cpp:6726:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_Layer_rollback_transaction(int, VALUE*, VALUE)’:\r\nogr.cpp:6789:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_Layer_set_ignored_fields(int, VALUE*, VALUE)’:\r\nogr.cpp:6972:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_new_Feature(int, VALUE*, VALUE)’:\r\nogr.cpp:7097:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:7095:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_Feature_set_geometry(int, VALUE*, VALUE)’:\r\nogr.cpp:7250:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_Feature_set_geometry_directly(int, VALUE*, VALUE)’:\r\nogr.cpp:7319:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_Feature_set_fid(int, VALUE*, VALUE)’:\r\nogr.cpp:8931:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_Feature_set_from(int, VALUE*, VALUE)’:\r\nogr.cpp:10285:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:10285:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:10285:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:10337:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp:10283:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_Feature_set_from_with_map(int, VALUE*, VALUE)’:\r\nogr.cpp:10442:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_new_FeatureDefn(int, VALUE*, VALUE)’:\r\nogr.cpp:10861:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:10859:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_new_FieldDefn(int, VALUE*, VALUE)’:\r\nogr.cpp:11639:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:11639:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:11637:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_create_geometry_from_wkb(int, VALUE*, VALUE)’:\r\nogr.cpp:12542:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:12542:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:12540:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_create_geometry_from_wkt(int, VALUE*, VALUE)’:\r\nogr.cpp:12608:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:12608:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:12606:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_build_polygon_from_edges(int, VALUE*, VALUE)’:\r\nogr.cpp:12794:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:12794:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:12794:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:12794:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:12792:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_approximate_arc_angles(int, VALUE*, VALUE)’:\r\nogr.cpp:12898:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:12898:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:12898:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:12898:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:12898:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:12898:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:12898:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:12898:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:12898:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:12896:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_new_Geometry(int, VALUE*, VALUE)’:\r\nogr.cpp:13254:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:13254:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:13254:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:13254:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:13252:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_Geometry_export_to_wkt(int, VALUE*, VALUE)’:\r\nogr.cpp:13374:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_Geometry_export_to_wkb(int, VALUE*, VALUE)’:\r\nogr.cpp:13434:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:13434:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:13480:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp:13432:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_Geometry_add_point(int, VALUE*, VALUE)’:\r\nogr.cpp:13708:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:13708:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:13708:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:13708:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:13706:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_Geometry_add_geometry_directly(int, VALUE*, VALUE)’:\r\nogr.cpp:13887:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_Geometry_add_geometry(int, VALUE*, VALUE)’:\r\nogr.cpp:13963:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_Geometry_get_x(int, VALUE*, VALUE)’:\r\nogr.cpp:14368:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:14368:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:14366:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_Geometry_get_y(int, VALUE*, VALUE)’:\r\nogr.cpp:14434:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:14434:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:14432:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_Geometry_get_z(int, VALUE*, VALUE)’:\r\nogr.cpp:14500:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:14500:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:14498:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_Geometry_set_point(int, VALUE*, VALUE)’:\r\nogr.cpp:14788:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:14788:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:14788:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:14788:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:14788:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:14786:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_Geometry_set_point_2d(int, VALUE*, VALUE)’:\r\nogr.cpp:14872:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:14872:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:14872:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:14872:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:14870:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_Geometry_buffer(int, VALUE*, VALUE)’:\r\nogr.cpp:15288:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:15288:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:15288:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:15286:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_Geometry_transform_to(int, VALUE*, VALUE)’:\r\nogr.cpp:16772:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_Geometry_transform(int, VALUE*, VALUE)’:\r\nogr.cpp:16848:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_set_generate_db2_v72_byte_order(int, VALUE*, VALUE)’:\r\nogr.cpp:17680:56: error: format not a string literal and no format arguments [-Werror=format-security]\r\n       rb_raise(rb_eRuntimeError, OGRErrMessages(result));\r\n                                                        ^\r\nogr.cpp: In function ‘VALUE _wrap_open(int, VALUE*, VALUE)’:\r\nogr.cpp:17909:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:17909:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:17907:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\nogr.cpp: In function ‘VALUE _wrap_open_shared(int, VALUE*, VALUE)’:\r\nogr.cpp:17978:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\n   };\r\n   ^\r\nogr.cpp:17978:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]\r\nogr.cpp:17976:9: warning: unused variable ‘kwnames’ [-Wunused-variable]\r\n   char *kwnames[] = {\r\n         ^\r\ncc1plus: some warnings being treated as errors\r\nmake: *** [ogr.o] Error 1\r\n```"},"comment":{"url":"https://api.github.com/repos/zhm/gdal-ruby/issues/comments/89670084","html_url":"https://github.com/zhm/gdal-ruby/issues/4#issuecomment-89670084","issue_url":"https://api.github.com/repos/zhm/gdal-ruby/issues/4","id":89670084,"user":{"login":"zhm","id":89634,"avatar_url":"https://avatars.githubusercontent.com/u/89634?v=3","gravatar_id":"","url":"https://api.github.com/users/zhm","html_url":"https://github.com/zhm","followers_url":"https://api.github.com/users/zhm/followers","following_url":"https://api.github.com/users/zhm/following{/other_user}","gists_url":"https://api.github.com/users/zhm/gists{/gist_id}","starred_url":"https://api.github.com/users/zhm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhm/subscriptions","organizations_url":"https://api.github.com/users/zhm/orgs","repos_url":"https://api.github.com/users/zhm/repos","events_url":"https://api.github.com/users/zhm/events{/privacy}","received_events_url":"https://api.github.com/users/zhm/received_events","type":"User","site_admin":false},"created_at":"2015-04-04T21:33:07Z","updated_at":"2015-04-04T21:33:07Z","body":"Can you try version 0.0.7?"}}