{"action":"created","issue":{"url":"https://api.github.com/repos/pgRouting/pgrouting/issues/576","repository_url":"https://api.github.com/repos/pgRouting/pgrouting","labels_url":"https://api.github.com/repos/pgRouting/pgrouting/issues/576/labels{/name}","comments_url":"https://api.github.com/repos/pgRouting/pgrouting/issues/576/comments","events_url":"https://api.github.com/repos/pgRouting/pgrouting/issues/576/events","html_url":"https://github.com/pgRouting/pgrouting/issues/576","id":156170612,"number":576,"title":"Build error on Fedora 24 + GCC 6.0","user":{"login":"devrimgunduz","id":334065,"avatar_url":"https://avatars.githubusercontent.com/u/334065?v=3","gravatar_id":"","url":"https://api.github.com/users/devrimgunduz","html_url":"https://github.com/devrimgunduz","followers_url":"https://api.github.com/users/devrimgunduz/followers","following_url":"https://api.github.com/users/devrimgunduz/following{/other_user}","gists_url":"https://api.github.com/users/devrimgunduz/gists{/gist_id}","starred_url":"https://api.github.com/users/devrimgunduz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devrimgunduz/subscriptions","organizations_url":"https://api.github.com/users/devrimgunduz/orgs","repos_url":"https://api.github.com/users/devrimgunduz/repos","events_url":"https://api.github.com/users/devrimgunduz/events{/privacy}","received_events_url":"https://api.github.com/users/devrimgunduz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pgRouting/pgrouting/labels/Bug%20Report","name":"Bug Report","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/pgRouting/pgrouting/milestones/15","html_url":"https://github.com/pgRouting/pgrouting/milestones/Release%202.2.4","labels_url":"https://api.github.com/repos/pgRouting/pgrouting/milestones/15/labels","id":1797987,"number":15,"title":"Release 2.2.4","description":"","creator":{"login":"dkastl","id":227762,"avatar_url":"https://avatars.githubusercontent.com/u/227762?v=3","gravatar_id":"","url":"https://api.github.com/users/dkastl","html_url":"https://github.com/dkastl","followers_url":"https://api.github.com/users/dkastl/followers","following_url":"https://api.github.com/users/dkastl/following{/other_user}","gists_url":"https://api.github.com/users/dkastl/gists{/gist_id}","starred_url":"https://api.github.com/users/dkastl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkastl/subscriptions","organizations_url":"https://api.github.com/users/dkastl/orgs","repos_url":"https://api.github.com/users/dkastl/repos","events_url":"https://api.github.com/users/dkastl/events{/privacy}","received_events_url":"https://api.github.com/users/dkastl/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":6,"state":"open","created_at":"2016-05-31T06:44:08Z","updated_at":"2016-07-11T01:56:03Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-05-22T20:19:53Z","updated_at":"2016-07-11T02:01:02Z","closed_at":null,"body":"Hi,\r\n\r\nI'm getting this on Fedora 24, with GCC 6.0. Not getting this on Fedora 23, so I assume that this is a GCC issue. This is pgrouting 2.2.3 against PostgreSQL 9.5:\r\n```\r\n+ /usr/bin/make\r\n/var/lib/pgsql/rpm/BUILD/pgrouting-pgrouting-2.2.3/src/common/src/get_check_data.c: In function 'pgr_SPI_getText':\r\n/var/lib/pgsql/rpm/BUILD/pgrouting-pgrouting-2.2.3/src/common/src/get_check_data.c:230:12: warning: function returns address of local variable [-Wreturn-local-addr]\r\n     return value;\r\n            ^~~~~\r\n/var/lib/pgsql/rpm/BUILD/pgrouting-pgrouting-2.2.3/src/common/src/get_check_data.c:226:11: note: declared here\r\n     char* val = NULL;\r\n           ^~~\r\n/var/lib/pgsql/rpm/BUILD/pgrouting-pgrouting-2.2.3/src/vrp_basic/src/VRP_Solver.cpp: In member function 'bool CVRPSolver::updateTourCosts(CTourInfo&)':\r\n/var/lib/pgsql/rpm/BUILD/pgrouting-pgrouting-2.2.3/src/vrp_basic/src/VRP_Solver.cpp:760:59: error: 'ceil' was not declared in this scope\r\n  vecStartTimes.push_back(static_cast<int>(ceil(dTravelTime)));\r\n                                                           ^\r\nmake[3]: *** [src/vrp_basic/src/CMakeFiles/vrp_basic.dir/VRP_Solver.cpp.o] Error 1\r\nmake[2]: *** [src/vrp_basic/src/CMakeFiles/vrp_basic.dir/all] Error 2\r\nmake[1]: *** [all] Error 2\r\nerror: Bad exit status from /var/tmp/rpm-tmp.RIJtrb (%build)\r\n    Bad exit status from /var/tmp/rpm-tmp.RIJtrb (%build)\r\nrpmsign: no arguments given\r\n../../../common/Makefile.global:58: recipe for target 'build' failed\r\nmake: *** [build] Error 1\r\n\r\n```\r\n\r\n\r\n> \r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pgRouting/pgrouting/issues/comments/231626844","html_url":"https://github.com/pgRouting/pgrouting/issues/576#issuecomment-231626844","issue_url":"https://api.github.com/repos/pgRouting/pgrouting/issues/576","id":231626844,"user":{"login":"cvvergara","id":5035290,"avatar_url":"https://avatars.githubusercontent.com/u/5035290?v=3","gravatar_id":"","url":"https://api.github.com/users/cvvergara","html_url":"https://github.com/cvvergara","followers_url":"https://api.github.com/users/cvvergara/followers","following_url":"https://api.github.com/users/cvvergara/following{/other_user}","gists_url":"https://api.github.com/users/cvvergara/gists{/gist_id}","starred_url":"https://api.github.com/users/cvvergara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvvergara/subscriptions","organizations_url":"https://api.github.com/users/cvvergara/orgs","repos_url":"https://api.github.com/users/cvvergara/repos","events_url":"https://api.github.com/users/cvvergara/events{/privacy}","received_events_url":"https://api.github.com/users/cvvergara/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T02:01:02Z","updated_at":"2016-07-11T02:01:02Z","body":"@devrimgunduz \r\nI changed branch master, soon to be 2.2.4\r\nI suppose I fixed this issue, but I don't have Fedora,\r\nCan you please try master branch so I can close with the certainty that was fixed."}}
{"actor":{"display_login":"cvvergara"}}