{"action":"created","issue":{"url":"https://api.github.com/repos/balabit/syslog-ng-incubator/issues/98","labels_url":"https://api.github.com/repos/balabit/syslog-ng-incubator/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/balabit/syslog-ng-incubator/issues/98/comments","events_url":"https://api.github.com/repos/balabit/syslog-ng-incubator/issues/98/events","html_url":"https://github.com/balabit/syslog-ng-incubator/issues/98","id":51825467,"number":98,"title":"zmq compile warnings","user":{"login":"czanik","id":1685195,"avatar_url":"https://avatars.githubusercontent.com/u/1685195?v=3","gravatar_id":"","url":"https://api.github.com/users/czanik","html_url":"https://github.com/czanik","followers_url":"https://api.github.com/users/czanik/followers","following_url":"https://api.github.com/users/czanik/following{/other_user}","gists_url":"https://api.github.com/users/czanik/gists{/gist_id}","starred_url":"https://api.github.com/users/czanik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czanik/subscriptions","organizations_url":"https://api.github.com/users/czanik/orgs","repos_url":"https://api.github.com/users/czanik/repos","events_url":"https://api.github.com/users/czanik/events{/privacy}","received_events_url":"https://api.github.com/users/czanik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-12T16:36:32Z","updated_at":"2015-05-04T20:02:04Z","closed_at":null,"body":"When packaging 0.4.0 on openSUSE and enable zmq support, the compilation succeeds with many warnings. On the other hand post build scripts fail with the following error:\r\n\r\n[   22s] E: syslog-ng-incubator 64bit-portability-issue modules/zmq/zmq-grammar.y:379\r\n\r\nThe related compilation log is:\r\n\r\n[   18s]   CC       modules/zmq/modules_zmq_libzmq_la-zmq-grammar.lo\r\n[   18s] modules/zmq/zmq-grammar.y: In function 'zmq_parse':\r\n[   18s] modules/zmq/zmq-grammar.y:379:13: warning: implicit declaration of function 'zmq_sd_new' [-Wimplicit-function-declaration]\r\n[   18s]              last_driver = *instance = zmq_sd_new(configuration);\r\n[   18s]              ^\r\n[   18s] modules/zmq/zmq-grammar.y:379:37: warning: assignment makes pointer from integer without a cast [enabled by default]\r\n[   18s]              last_driver = *instance = zmq_sd_new(configuration);\r\n[   18s]                                      ^\r\n[   18s] modules/zmq/zmq-grammar.y:420:13: warning: implicit declaration of function 'zmq_sd_set_address' [-Wimplicit-function-declaration]\r\n[   18s]              zmq_sd_set_address(last_driver, $3);\r\n[   18s]              ^\r\n[   18s] modules/zmq/zmq-grammar.y:426:13: warning: implicit declaration of function 'zmq_sd_set_port' [-Wimplicit-function-declaration]\r\n[   18s]              zmq_sd_set_port(last_driver, $3);\r\n[   18s]              ^\r\n[   18s]   CC       modules/zmq/modules_zmq_libzmq_la-zmq-plugin.lo\r\n[   19s]   CC       modules/zmq/modules_zmq_libzmq_la-zmq-destination.lo\r\n[   19s] modules/zmq/zmq-destination.c: In function 'zmq_worker_insert':\r\n[   19s] modules/zmq/zmq-destination.c:151:12: warning: unused variable 'success' [-Wunused-variable]\r\n[   19s]    gboolean success = TRUE;\r\n[   19s]             ^\r\n[   19s]   CC       modules/zmq/modules_zmq_libzmq_la-zmq-source.lo\r\n[   19s]   CC       modules/zmq/modules_zmq_libzmq_la-zmq-parser.lo\r\n[   19s]   CC       modules/zmq/modules_zmq_libzmq_la-zmq-transport.lo\r\n[   19s] modules/zmq/zmq-transport.c: In function 'log_transport_zmq_new':\r\n[   19s] modules/zmq/zmq-transport.c:64:20: warning: assignment from incompatible pointer type [enabled by default]\r\n[   19s]    self->super.read = log_transport_zmq_read_method;\r\n[   19s]                     ^\r\n[   19s]   CCLD     modules/zmq/libzmq.la\r\n"},"comment":{"url":"https://api.github.com/repos/balabit/syslog-ng-incubator/issues/comments/98834011","html_url":"https://github.com/balabit/syslog-ng-incubator/issues/98#issuecomment-98834011","issue_url":"https://api.github.com/repos/balabit/syslog-ng-incubator/issues/98","id":98834011,"user":{"login":"lmesz","id":498925,"avatar_url":"https://avatars.githubusercontent.com/u/498925?v=3","gravatar_id":"","url":"https://api.github.com/users/lmesz","html_url":"https://github.com/lmesz","followers_url":"https://api.github.com/users/lmesz/followers","following_url":"https://api.github.com/users/lmesz/following{/other_user}","gists_url":"https://api.github.com/users/lmesz/gists{/gist_id}","starred_url":"https://api.github.com/users/lmesz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmesz/subscriptions","organizations_url":"https://api.github.com/users/lmesz/orgs","repos_url":"https://api.github.com/users/lmesz/repos","events_url":"https://api.github.com/users/lmesz/events{/privacy}","received_events_url":"https://api.github.com/users/lmesz/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T20:02:04Z","updated_at":"2015-05-04T20:02:04Z","body":"Hali,\r\n\r\nSorry, for the long not response.\r\nI hope I fixed all the warnings that are mentioned in this issue in \"zmq_warning_fixes\" branch.\r\nSorry again but I don't know how should I assign the pull request to this issue\r\n "}}