{"action":"created","issue":{"url":"https://api.github.com/repos/jtv/libpqxx/issues/23","repository_url":"https://api.github.com/repos/jtv/libpqxx","labels_url":"https://api.github.com/repos/jtv/libpqxx/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/jtv/libpqxx/issues/23/comments","events_url":"https://api.github.com/repos/jtv/libpqxx/issues/23/events","html_url":"https://github.com/jtv/libpqxx/issues/23","id":251267655,"number":23,"title":"Build Fails on Mac OS X","user":{"login":"carlosb","id":6352283,"avatar_url":"https://avatars1.githubusercontent.com/u/6352283?v=4","gravatar_id":"","url":"https://api.github.com/users/carlosb","html_url":"https://github.com/carlosb","followers_url":"https://api.github.com/users/carlosb/followers","following_url":"https://api.github.com/users/carlosb/following{/other_user}","gists_url":"https://api.github.com/users/carlosb/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosb/subscriptions","organizations_url":"https://api.github.com/users/carlosb/orgs","repos_url":"https://api.github.com/users/carlosb/repos","events_url":"https://api.github.com/users/carlosb/events{/privacy}","received_events_url":"https://api.github.com/users/carlosb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-18T14:45:48Z","updated_at":"2017-09-09T09:22:30Z","closed_at":"2017-08-20T04:39:06Z","author_association":"NONE","body":"Consult the full error log here: [log.txt](https://github.com/jtv/libpqxx/files/1234723/log.txt)\r\n\r\nSo the build fails on Mac OS X with AppleClang8.1 with the error output shown in the log. This is because it apparently doesn't recognize that it is C++11 syntax. This is easily amended by passing the `-std=c++11` flag to the compiler. For anyone having this problem just be sure to pass `make` the flag like so:\r\n\r\n`make CXXFLAGS=\"-std=c++11\"` \r\n\r\nMaybe add a flag to the Makefile in order to eliminate any doubts that the compiler will compile for C++11?"},"comment":{"url":"https://api.github.com/repos/jtv/libpqxx/issues/comments/328265579","html_url":"https://github.com/jtv/libpqxx/issues/23#issuecomment-328265579","issue_url":"https://api.github.com/repos/jtv/libpqxx/issues/23","id":328265579,"user":{"login":"jtv","id":2195859,"avatar_url":"https://avatars2.githubusercontent.com/u/2195859?v=4","gravatar_id":"","url":"https://api.github.com/users/jtv","html_url":"https://github.com/jtv","followers_url":"https://api.github.com/users/jtv/followers","following_url":"https://api.github.com/users/jtv/following{/other_user}","gists_url":"https://api.github.com/users/jtv/gists{/gist_id}","starred_url":"https://api.github.com/users/jtv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtv/subscriptions","organizations_url":"https://api.github.com/users/jtv/orgs","repos_url":"https://api.github.com/users/jtv/repos","events_url":"https://api.github.com/users/jtv/events{/privacy}","received_events_url":"https://api.github.com/users/jtv/received_events","type":"User","site_admin":false},"created_at":"2017-09-09T09:22:30Z","updated_at":"2017-09-09T09:22:30Z","author_association":"OWNER","body":"I just got \"configure\" to add the C++11 option automatically."}}
{"actor":{"display_login":"jtv"}}