{"action":"opened","issue":{"url":"https://api.github.com/repos/nlohmann/json/issues/89","labels_url":"https://api.github.com/repos/nlohmann/json/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/nlohmann/json/issues/89/comments","events_url":"https://api.github.com/repos/nlohmann/json/issues/89/events","html_url":"https://github.com/nlohmann/json/issues/89","id":88414136,"number":89,"title":"Build issue on OSX with C++14","user":{"login":"arnaudbrejeon","id":21390,"avatar_url":"https://avatars.githubusercontent.com/u/21390?v=3","gravatar_id":"","url":"https://api.github.com/users/arnaudbrejeon","html_url":"https://github.com/arnaudbrejeon","followers_url":"https://api.github.com/users/arnaudbrejeon/followers","following_url":"https://api.github.com/users/arnaudbrejeon/following{/other_user}","gists_url":"https://api.github.com/users/arnaudbrejeon/gists{/gist_id}","starred_url":"https://api.github.com/users/arnaudbrejeon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnaudbrejeon/subscriptions","organizations_url":"https://api.github.com/users/arnaudbrejeon/orgs","repos_url":"https://api.github.com/users/arnaudbrejeon/repos","events_url":"https://api.github.com/users/arnaudbrejeon/events{/privacy}","received_events_url":"https://api.github.com/users/arnaudbrejeon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-15T12:41:06Z","updated_at":"2015-06-15T12:41:06Z","closed_at":null,"body":"Hi,\r\n\r\nthe following does not build on OSX with C++14:\r\n\r\n    #include \"nlohmann.json.hpp\"\r\n    using json = nlohmann::basic_json<std::map, std::vector, std::string, bool, int32_t, float>;\r\n    int main(int argc, const char * argv[]) {   \r\n        json j;\r\n        j[\"int_1\"] = 1; << Conversion from 'int' to 'nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, int, float, std::allocator>' is ambiguous\r\n        return 0;\r\n    }\r\n\r\nI'd rather use number type *int32_t* instead of the default *int64_t* (which builds properly). Do you have any idea how to fix this issue?\r\nThank you,\r\n\r\nArnaud"}}