{"action":"created","issue":{"url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/184","labels_url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/184/comments","events_url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/184/events","html_url":"https://github.com/open-source-parsers/jsoncpp/issues/184","id":58827840,"number":184,"title":"Please use std::aligned_storage since C++11 for static JSON null ","user":{"login":"tymonx","id":8367378,"avatar_url":"https://avatars.githubusercontent.com/u/8367378?v=3","gravatar_id":"","url":"https://api.github.com/users/tymonx","html_url":"https://github.com/tymonx","followers_url":"https://api.github.com/users/tymonx/followers","following_url":"https://api.github.com/users/tymonx/following{/other_user}","gists_url":"https://api.github.com/users/tymonx/gists{/gist_id}","starred_url":"https://api.github.com/users/tymonx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tymonx/subscriptions","organizations_url":"https://api.github.com/users/tymonx/orgs","repos_url":"https://api.github.com/users/tymonx/repos","events_url":"https://api.github.com/users/tymonx/events{/privacy}","received_events_url":"https://api.github.com/users/tymonx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-24T23:57:44Z","updated_at":"2015-02-25T06:32:18Z","closed_at":null,"body":"This should be replaced with std::aligned_storage to be more portable between compilers and avoid 'clumsy' workaround:\r\nhttps://github.com/open-source-parsers/jsoncpp/blob/master/src/lib_json/json_value.cpp#L36\r\n\r\nIn my own JSON implementation I use it like this:\r\nhttps://github.com/tymonx/OpenRedfish/blob/dev/json/json.cpp#L52"},"comment":{"url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/comments/75912596","html_url":"https://github.com/open-source-parsers/jsoncpp/issues/184#issuecomment-75912596","issue_url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/184","id":75912596,"user":{"login":"cdunn2001","id":450656,"avatar_url":"https://avatars.githubusercontent.com/u/450656?v=3","gravatar_id":"","url":"https://api.github.com/users/cdunn2001","html_url":"https://github.com/cdunn2001","followers_url":"https://api.github.com/users/cdunn2001/followers","following_url":"https://api.github.com/users/cdunn2001/following{/other_user}","gists_url":"https://api.github.com/users/cdunn2001/gists{/gist_id}","starred_url":"https://api.github.com/users/cdunn2001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdunn2001/subscriptions","organizations_url":"https://api.github.com/users/cdunn2001/orgs","repos_url":"https://api.github.com/users/cdunn2001/repos","events_url":"https://api.github.com/users/cdunn2001/events{/privacy}","received_events_url":"https://api.github.com/users/cdunn2001/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T06:32:18Z","updated_at":"2015-02-25T06:32:18Z","body":"This code was actually copied from a change in Android, where somebody noticed a crash for ARM. I'm reluctant to make a change that we cannot test. We run our Travis CI tests with gcc and clang. What do you use?\r\n\r\nIf you submit a patch and can verify that it works for some particular arch/compiler, we'd probably accept it on `master`. I'm not sure about the `0.8.z` branch. How would an alignment change impact binary-compatibility?"}}