{"action":"created","issue":{"url":"https://api.github.com/repos/plasma-umass/coz/issues/73","repository_url":"https://api.github.com/repos/plasma-umass/coz","labels_url":"https://api.github.com/repos/plasma-umass/coz/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/plasma-umass/coz/issues/73/comments","events_url":"https://api.github.com/repos/plasma-umass/coz/issues/73/events","html_url":"https://github.com/plasma-umass/coz/issues/73","id":170861864,"number":73,"title":"Reduce compiler requirement to C++0x?","user":{"login":"petterreinholdtsen","id":731031,"avatar_url":"https://avatars.githubusercontent.com/u/731031?v=3","gravatar_id":"","url":"https://api.github.com/users/petterreinholdtsen","html_url":"https://github.com/petterreinholdtsen","followers_url":"https://api.github.com/users/petterreinholdtsen/followers","following_url":"https://api.github.com/users/petterreinholdtsen/following{/other_user}","gists_url":"https://api.github.com/users/petterreinholdtsen/gists{/gist_id}","starred_url":"https://api.github.com/users/petterreinholdtsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petterreinholdtsen/subscriptions","organizations_url":"https://api.github.com/users/petterreinholdtsen/orgs","repos_url":"https://api.github.com/users/petterreinholdtsen/repos","events_url":"https://api.github.com/users/petterreinholdtsen/events{/privacy}","received_events_url":"https://api.github.com/users/petterreinholdtsen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-12T12:37:05Z","updated_at":"2016-08-15T15:09:16Z","closed_at":null,"body":"The current code no longer seem to require --std=c++11, and build just fine with --std=c++0x.  Perhaps the requirement in the README should be reduced a little bit?  It work with GCC 4.9 in Debian Stable.\r\n\r\nIf you agree, I suggest something like this should be applied to the source.\r\n\r\n```\r\nindex f0e3955..960f5b0 100644\r\n--- a/README.md\r\n+++ b/README.md\r\n@@ -22,7 +22,7 @@ that Counts with Causal Profiling\r\n Coz, our prototype causal profiler, runs with unmodified Linux executables. Coz requires:\r\n \r\n - [Python](http://www.python.org)\r\n-- [Clang 3.1 or newer](http://clang.llvm.org) or another compiler with C++11 support\r\n+- [Clang 3.1 or newer](http://clang.llvm.org) or another compiler with C++0x support\r\n - [Linux](http://kernel.org) version 2.6.32 or newer (must support the `perf_event_open` system call)\r\n \r\n ## Building\r\n```"},"comment":{"url":"https://api.github.com/repos/plasma-umass/coz/issues/comments/239827520","html_url":"https://github.com/plasma-umass/coz/issues/73#issuecomment-239827520","issue_url":"https://api.github.com/repos/plasma-umass/coz/issues/73","id":239827520,"user":{"login":"ccurtsinger","id":1688203,"avatar_url":"https://avatars.githubusercontent.com/u/1688203?v=3","gravatar_id":"","url":"https://api.github.com/users/ccurtsinger","html_url":"https://github.com/ccurtsinger","followers_url":"https://api.github.com/users/ccurtsinger/followers","following_url":"https://api.github.com/users/ccurtsinger/following{/other_user}","gists_url":"https://api.github.com/users/ccurtsinger/gists{/gist_id}","starred_url":"https://api.github.com/users/ccurtsinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccurtsinger/subscriptions","organizations_url":"https://api.github.com/users/ccurtsinger/orgs","repos_url":"https://api.github.com/users/ccurtsinger/repos","events_url":"https://api.github.com/users/ccurtsinger/events{/privacy}","received_events_url":"https://api.github.com/users/ccurtsinger/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T15:09:16Z","updated_at":"2016-08-15T15:09:16Z","body":"C++0x isn't a formal standard, so I don't want to promise that it will work with any compiler that accepts `--std=c++0x`. GCC 4.6 is the most recent version that doesn't accept the C++11 flag, and the latest release on this branch was over 3 years ago.\r\n\r\nWe could add a disclaimer that says older versions may work. It may even be reasonable to have the Makefile check if the C++ compiler accepts `--std=c++11` and fall back to 0x if it doesn't."}}
{"actor":{"display_login":"ccurtsinger"}}