{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/windows-builds/issues/81","repository_url":"https://api.github.com/repos/mapbox/windows-builds","labels_url":"https://api.github.com/repos/mapbox/windows-builds/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/windows-builds/issues/81/comments","events_url":"https://api.github.com/repos/mapbox/windows-builds/issues/81/events","html_url":"https://github.com/mapbox/windows-builds/issues/81","id":134666417,"number":81,"title":"Mapnik Compilation warning C4172: returning address of local variable or temporary?","user":{"login":"jc101","id":1523828,"avatar_url":"https://avatars.githubusercontent.com/u/1523828?v=3","gravatar_id":"","url":"https://api.github.com/users/jc101","html_url":"https://github.com/jc101","followers_url":"https://api.github.com/users/jc101/followers","following_url":"https://api.github.com/users/jc101/following{/other_user}","gists_url":"https://api.github.com/users/jc101/gists{/gist_id}","starred_url":"https://api.github.com/users/jc101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jc101/subscriptions","organizations_url":"https://api.github.com/users/jc101/orgs","repos_url":"https://api.github.com/users/jc101/repos","events_url":"https://api.github.com/users/jc101/events{/privacy}","received_events_url":"https://api.github.com/users/jc101/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-18T19:07:32Z","updated_at":"2016-02-19T21:15:31Z","closed_at":null,"body":"Has anyone experienced these warnings around compiling the color files (eg `css_color_grammar.cpp`; `color.cpp`) when building Mapnik?\r\n\r\n`warning C4172: returning address of local variable or temporary`\r\n\r\nThey seem to occur in boost phoenix header files eg `meta_grammar.hpp`,`actor_operator_10.hpp` etc.\r\n\r\nI suspect (following discussions over on [mapnik](https://github.com/mapnik/mapnik/issues/2229)) that they are causing access violation errors (when inline functions are enabled - mangled strings when disabled) I am experiencing with outputting the color to a hex string using the karma generator but am just wondering if other people experience these warnings too?\r\n"},"comment":{"url":"https://api.github.com/repos/mapbox/windows-builds/issues/comments/186410170","html_url":"https://github.com/mapbox/windows-builds/issues/81#issuecomment-186410170","issue_url":"https://api.github.com/repos/mapbox/windows-builds/issues/81","id":186410170,"user":{"login":"springmeyer","id":20300,"avatar_url":"https://avatars.githubusercontent.com/u/20300?v=3","gravatar_id":"","url":"https://api.github.com/users/springmeyer","html_url":"https://github.com/springmeyer","followers_url":"https://api.github.com/users/springmeyer/followers","following_url":"https://api.github.com/users/springmeyer/following{/other_user}","gists_url":"https://api.github.com/users/springmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/springmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/springmeyer/subscriptions","organizations_url":"https://api.github.com/users/springmeyer/orgs","repos_url":"https://api.github.com/users/springmeyer/repos","events_url":"https://api.github.com/users/springmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/springmeyer/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T21:15:31Z","updated_at":"2016-02-19T21:15:31Z","body":"> Anyway, I will probably rewrite at least color::to_hex_string, karma is plain overkill for something that could be 5 lines of C.\r\n\r\n@lightmare @artemp might complain, but I'm a big :+1:  :) That would allow us to drop compile time for `color.cpp` significantly"}}