{"action":"created","issue":{"url":"https://api.github.com/repos/CopernicaMarketingSoftware/PHP-CPP/issues/164","labels_url":"https://api.github.com/repos/CopernicaMarketingSoftware/PHP-CPP/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/CopernicaMarketingSoftware/PHP-CPP/issues/164/comments","events_url":"https://api.github.com/repos/CopernicaMarketingSoftware/PHP-CPP/issues/164/events","html_url":"https://github.com/CopernicaMarketingSoftware/PHP-CPP/issues/164","id":55442162,"number":164,"title":"Error when build PHP-CPP from source","user":{"login":"hugdx","id":5510731,"avatar_url":"https://avatars.githubusercontent.com/u/5510731?v=3","gravatar_id":"","url":"https://api.github.com/users/hugdx","html_url":"https://github.com/hugdx","followers_url":"https://api.github.com/users/hugdx/followers","following_url":"https://api.github.com/users/hugdx/following{/other_user}","gists_url":"https://api.github.com/users/hugdx/gists{/gist_id}","starred_url":"https://api.github.com/users/hugdx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugdx/subscriptions","organizations_url":"https://api.github.com/users/hugdx/orgs","repos_url":"https://api.github.com/users/hugdx/repos","events_url":"https://api.github.com/users/hugdx/events{/privacy}","received_events_url":"https://api.github.com/users/hugdx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-26T02:53:06Z","updated_at":"2015-01-26T12:38:44Z","closed_at":null,"body":"Hi, i tried rebuild PHP-CPP with newest version. and i got a message:\r\n````\r\n[root@vnahh PHP-CPP]# make\r\nmkdir -p shared/common\r\nmkdir -p shared/zend\r\nmkdir -p shared/hhvm\r\ng++ -Wall -c -g -std=c++11 -fpic -o shared/common/modifiers.o common/modifiers.cpp\r\ng++ -Wall -c -g -std=c++11 -fpic -o shared/common/streambuf.o common/streambuf.cpp\r\ng++ -Wall -c -g -std=c++11 `php-config --includes` -fpic -o shared/zend/base.o zend/base.cpp\r\nIn file included from zend/includes.h:87:0,\r\n                 from zend/base.cpp:8:\r\nzend/../include/function.h: In constructor \"Php::Function::Function(const std::function<Php::Value()>&)\":\r\nzend/../include/function.h:52:6: error: call of overloaded \"Function(Php::Function::Function(const std::function<Php::Value()>&)::<lambda(Php::Parameters&)>)\" is ambiguous\r\nzend/../include/function.h:52:6: note: candidates are:\r\nzend/../include/function.h:47:5: note: Php::Function::Function(const std::function<Php::Value()>&)\r\nzend/../include/function.h:41:5: note: Php::Function::Function(const std::function<Php::Value(Php::Parameters&)>&)\r\nmake: *** [shared/zend/base.o] Error 1\r\n````\r\n\r\nPlease fix it.\r\n"},"comment":{"url":"https://api.github.com/repos/CopernicaMarketingSoftware/PHP-CPP/issues/comments/71454668","html_url":"https://github.com/CopernicaMarketingSoftware/PHP-CPP/issues/164#issuecomment-71454668","issue_url":"https://api.github.com/repos/CopernicaMarketingSoftware/PHP-CPP/issues/164","id":71454668,"user":{"login":"EmielBruijntjes","id":3725068,"avatar_url":"https://avatars.githubusercontent.com/u/3725068?v=3","gravatar_id":"","url":"https://api.github.com/users/EmielBruijntjes","html_url":"https://github.com/EmielBruijntjes","followers_url":"https://api.github.com/users/EmielBruijntjes/followers","following_url":"https://api.github.com/users/EmielBruijntjes/following{/other_user}","gists_url":"https://api.github.com/users/EmielBruijntjes/gists{/gist_id}","starred_url":"https://api.github.com/users/EmielBruijntjes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmielBruijntjes/subscriptions","organizations_url":"https://api.github.com/users/EmielBruijntjes/orgs","repos_url":"https://api.github.com/users/EmielBruijntjes/repos","events_url":"https://api.github.com/users/EmielBruijntjes/events{/privacy}","received_events_url":"https://api.github.com/users/EmielBruijntjes/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T12:38:44Z","updated_at":"2015-01-26T12:38:44Z","body":"That could be a solution. I have the impression that it does compile if you upgrade to the latest version of g++."}}