{"action":"created","comment":{"url":"https://api.github.com/repos/mesonbuild/meson/pulls/comments/230960005","pull_request_review_id":171817466,"id":230960005,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDk2MDAwNQ==","diff_hunk":"@@ -412,3 +413,35 @@ def get_option_link_args(self, options):\n \n     def get_compiler_check_args(self):\n         return []\n+\n+\n+class CcrxCPPCompiler(CcrxCompiler, CPPCompiler):\n+    def __init__(self, exelist, version, compiler_type, is_cross, exe_wrap=None, **kwargs):\n+        CPPCompiler.__init__(self, exelist, version, is_cross, exe_wrap, **kwargs)\n+        CcrxCompiler.__init__(self, compiler_type)\n+\n+    def get_options(self):\n+        opts = CPPCompiler.get_options(self)\n+        opts.update({'cpp_std': coredata.UserComboOption('cpp_std', 'C++ language standard to use',\n+                                                         ['none', 'c++03'], # TODO: maybe supports 'c++11'?\n+                                                         'none')})\n+        return opts\n+\n+    def get_option_compile_args(self, options):\n+        args = []\n+        std = options['cpp_std']\n+        if std.value != 'none':\n+            args.append('-lang=cpp')","path":"mesonbuild/compilers/cpp.py","position":34,"original_position":30,"commit_id":"b0dfddf67f0c749669942826a7b50c8ef3b05219","original_commit_id":"17d4e72a3e3c9a575337c7d1da23fd1e4c17bf3c","user":{"login":"ftechz","id":799152,"node_id":"MDQ6VXNlcjc5OTE1Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/799152?v=4","gravatar_id":"","url":"https://api.github.com/users/ftechz","html_url":"https://github.com/ftechz","followers_url":"https://api.github.com/users/ftechz/followers","following_url":"https://api.github.com/users/ftechz/following{/other_user}","gists_url":"https://api.github.com/users/ftechz/gists{/gist_id}","starred_url":"https://api.github.com/users/ftechz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftechz/subscriptions","organizations_url":"https://api.github.com/users/ftechz/orgs","repos_url":"https://api.github.com/users/ftechz/repos","events_url":"https://api.github.com/users/ftechz/events{/privacy}","received_events_url":"https://api.github.com/users/ftechz/received_events","type":"User","site_admin":false},"body":"If the `-lang` option is omitted, it will figure it out based on the extension.","created_at":"2018-11-06T00:05:48Z","updated_at":"2018-11-06T00:05:48Z","html_url":"https://github.com/mesonbuild/meson/pull/4472#discussion_r230960005","pull_request_url":"https://api.github.com/repos/mesonbuild/meson/pulls/4472","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/mesonbuild/meson/pulls/comments/230960005"},"html":{"href":"https://github.com/mesonbuild/meson/pull/4472#discussion_r230960005"},"pull_request":{"href":"https://api.github.com/repos/mesonbuild/meson/pulls/4472"}},"in_reply_to_id":230848630},"pull_request":{"url":"https://api.github.com/repos/mesonbuild/meson/pulls/4472","id":228200662,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4MjAwNjYy","html_url":"https://github.com/mesonbuild/meson/pull/4472","diff_url":"https://github.com/mesonbuild/meson/pull/4472.diff","patch_url":"https://github.com/mesonbuild/meson/pull/4472.patch","issue_url":"https://api.github.com/repos/mesonbuild/meson/issues/4472","number":4472,"state":"open","locked":false,"title":"Add support for Renesas CC-RX toolchain support","user":{"login":"ftechz","id":799152,"node_id":"MDQ6VXNlcjc5OTE1Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/799152?v=4","gravatar_id":"","url":"https://api.github.com/users/ftechz","html_url":"https://github.com/ftechz","followers_url":"https://api.github.com/users/ftechz/followers","following_url":"https://api.github.com/users/ftechz/following{/other_user}","gists_url":"https://api.github.com/users/ftechz/gists{/gist_id}","starred_url":"https://api.github.com/users/ftechz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftechz/subscriptions","organizations_url":"https://api.github.com/users/ftechz/orgs","repos_url":"https://api.github.com/users/ftechz/repos","events_url":"https://api.github.com/users/ftechz/events{/privacy}","received_events_url":"https://api.github.com/users/ftechz/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-04T20:30:10Z","updated_at":"2018-11-06T00:05:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"62936e56159bebe266063852100f442bf0698c59","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mesonbuild/meson/pulls/4472/commits","review_comments_url":"https://api.github.com/repos/mesonbuild/meson/pulls/4472/comments","review_comment_url":"https://api.github.com/repos/mesonbuild/meson/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mesonbuild/meson/issues/4472/comments","statuses_url":"https://api.github.com/repos/mesonbuild/meson/statuses/b0dfddf67f0c749669942826a7b50c8ef3b05219","head":{"label":"ftechz:ccrx-support","ref":"ccrx-support","sha":"b0dfddf67f0c749669942826a7b50c8ef3b05219","user":{"login":"ftechz","id":799152,"node_id":"MDQ6VXNlcjc5OTE1Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/799152?v=4","gravatar_id":"","url":"https://api.github.com/users/ftechz","html_url":"https://github.com/ftechz","followers_url":"https://api.github.com/users/ftechz/followers","following_url":"https://api.github.com/users/ftechz/following{/other_user}","gists_url":"https://api.github.com/users/ftechz/gists{/gist_id}","starred_url":"https://api.github.com/users/ftechz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftechz/subscriptions","organizations_url":"https://api.github.com/users/ftechz/orgs","repos_url":"https://api.github.com/users/ftechz/repos","events_url":"https://api.github.com/users/ftechz/events{/privacy}","received_events_url":"https://api.github.com/users/ftechz/received_events","type":"User","site_admin":false},"repo":{"id":154597520,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ1OTc1MjA=","name":"meson","full_name":"ftechz/meson","private":false,"owner":{"login":"ftechz","id":799152,"node_id":"MDQ6VXNlcjc5OTE1Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/799152?v=4","gravatar_id":"","url":"https://api.github.com/users/ftechz","html_url":"https://github.com/ftechz","followers_url":"https://api.github.com/users/ftechz/followers","following_url":"https://api.github.com/users/ftechz/following{/other_user}","gists_url":"https://api.github.com/users/ftechz/gists{/gist_id}","starred_url":"https://api.github.com/users/ftechz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftechz/subscriptions","organizations_url":"https://api.github.com/users/ftechz/orgs","repos_url":"https://api.github.com/users/ftechz/repos","events_url":"https://api.github.com/users/ftechz/events{/privacy}","received_events_url":"https://api.github.com/users/ftechz/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ftechz/meson","description":"The Meson Build System","fork":true,"url":"https://api.github.com/repos/ftechz/meson","forks_url":"https://api.github.com/repos/ftechz/meson/forks","keys_url":"https://api.github.com/repos/ftechz/meson/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ftechz/meson/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ftechz/meson/teams","hooks_url":"https://api.github.com/repos/ftechz/meson/hooks","issue_events_url":"https://api.github.com/repos/ftechz/meson/issues/events{/number}","events_url":"https://api.github.com/repos/ftechz/meson/events","assignees_url":"https://api.github.com/repos/ftechz/meson/assignees{/user}","branches_url":"https://api.github.com/repos/ftechz/meson/branches{/branch}","tags_url":"https://api.github.com/repos/ftechz/meson/tags","blobs_url":"https://api.github.com/repos/ftechz/meson/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ftechz/meson/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ftechz/meson/git/refs{/sha}","trees_url":"https://api.github.com/repos/ftechz/meson/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ftechz/meson/statuses/{sha}","languages_url":"https://api.github.com/repos/ftechz/meson/languages","stargazers_url":"https://api.github.com/repos/ftechz/meson/stargazers","contributors_url":"https://api.github.com/repos/ftechz/meson/contributors","subscribers_url":"https://api.github.com/repos/ftechz/meson/subscribers","subscription_url":"https://api.github.com/repos/ftechz/meson/subscription","commits_url":"https://api.github.com/repos/ftechz/meson/commits{/sha}","git_commits_url":"https://api.github.com/repos/ftechz/meson/git/commits{/sha}","comments_url":"https://api.github.com/repos/ftechz/meson/comments{/number}","issue_comment_url":"https://api.github.com/repos/ftechz/meson/issues/comments{/number}","contents_url":"https://api.github.com/repos/ftechz/meson/contents/{+path}","compare_url":"https://api.github.com/repos/ftechz/meson/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ftechz/meson/merges","archive_url":"https://api.github.com/repos/ftechz/meson/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ftechz/meson/downloads","issues_url":"https://api.github.com/repos/ftechz/meson/issues{/number}","pulls_url":"https://api.github.com/repos/ftechz/meson/pulls{/number}","milestones_url":"https://api.github.com/repos/ftechz/meson/milestones{/number}","notifications_url":"https://api.github.com/repos/ftechz/meson/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ftechz/meson/labels{/name}","releases_url":"https://api.github.com/repos/ftechz/meson/releases{/id}","deployments_url":"https://api.github.com/repos/ftechz/meson/deployments","created_at":"2018-10-25T02:22:22Z","updated_at":"2018-10-25T02:22:27Z","pushed_at":"2018-11-05T20:44:49Z","git_url":"git://github.com/ftechz/meson.git","ssh_url":"git@github.com:ftechz/meson.git","clone_url":"https://github.com/ftechz/meson.git","svn_url":"https://github.com/ftechz/meson","homepage":"http://mesonbuild.com","size":19322,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mesonbuild:master","ref":"master","sha":"a562b08ae1f3d36a45a83f6690cadf594e285d65","user":{"login":"mesonbuild","id":12551236,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTUxMjM2","avatar_url":"https://avatars0.githubusercontent.com/u/12551236?v=4","gravatar_id":"","url":"https://api.github.com/users/mesonbuild","html_url":"https://github.com/mesonbuild","followers_url":"https://api.github.com/users/mesonbuild/followers","following_url":"https://api.github.com/users/mesonbuild/following{/other_user}","gists_url":"https://api.github.com/users/mesonbuild/gists{/gist_id}","starred_url":"https://api.github.com/users/mesonbuild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesonbuild/subscriptions","organizations_url":"https://api.github.com/users/mesonbuild/orgs","repos_url":"https://api.github.com/users/mesonbuild/repos","events_url":"https://api.github.com/users/mesonbuild/events{/privacy}","received_events_url":"https://api.github.com/users/mesonbuild/received_events","type":"Organization","site_admin":false},"repo":{"id":19784232,"node_id":"MDEwOlJlcG9zaXRvcnkxOTc4NDIzMg==","name":"meson","full_name":"mesonbuild/meson","private":false,"owner":{"login":"mesonbuild","id":12551236,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTUxMjM2","avatar_url":"https://avatars0.githubusercontent.com/u/12551236?v=4","gravatar_id":"","url":"https://api.github.com/users/mesonbuild","html_url":"https://github.com/mesonbuild","followers_url":"https://api.github.com/users/mesonbuild/followers","following_url":"https://api.github.com/users/mesonbuild/following{/other_user}","gists_url":"https://api.github.com/users/mesonbuild/gists{/gist_id}","starred_url":"https://api.github.com/users/mesonbuild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesonbuild/subscriptions","organizations_url":"https://api.github.com/users/mesonbuild/orgs","repos_url":"https://api.github.com/users/mesonbuild/repos","events_url":"https://api.github.com/users/mesonbuild/events{/privacy}","received_events_url":"https://api.github.com/users/mesonbuild/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mesonbuild/meson","description":"The Meson Build System","fork":false,"url":"https://api.github.com/repos/mesonbuild/meson","forks_url":"https://api.github.com/repos/mesonbuild/meson/forks","keys_url":"https://api.github.com/repos/mesonbuild/meson/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mesonbuild/meson/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mesonbuild/meson/teams","hooks_url":"https://api.github.com/repos/mesonbuild/meson/hooks","issue_events_url":"https://api.github.com/repos/mesonbuild/meson/issues/events{/number}","events_url":"https://api.github.com/repos/mesonbuild/meson/events","assignees_url":"https://api.github.com/repos/mesonbuild/meson/assignees{/user}","branches_url":"https://api.github.com/repos/mesonbuild/meson/branches{/branch}","tags_url":"https://api.github.com/repos/mesonbuild/meson/tags","blobs_url":"https://api.github.com/repos/mesonbuild/meson/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mesonbuild/meson/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mesonbuild/meson/git/refs{/sha}","trees_url":"https://api.github.com/repos/mesonbuild/meson/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mesonbuild/meson/statuses/{sha}","languages_url":"https://api.github.com/repos/mesonbuild/meson/languages","stargazers_url":"https://api.github.com/repos/mesonbuild/meson/stargazers","contributors_url":"https://api.github.com/repos/mesonbuild/meson/contributors","subscribers_url":"https://api.github.com/repos/mesonbuild/meson/subscribers","subscription_url":"https://api.github.com/repos/mesonbuild/meson/subscription","commits_url":"https://api.github.com/repos/mesonbuild/meson/commits{/sha}","git_commits_url":"https://api.github.com/repos/mesonbuild/meson/git/commits{/sha}","comments_url":"https://api.github.com/repos/mesonbuild/meson/comments{/number}","issue_comment_url":"https://api.github.com/repos/mesonbuild/meson/issues/comments{/number}","contents_url":"https://api.github.com/repos/mesonbuild/meson/contents/{+path}","compare_url":"https://api.github.com/repos/mesonbuild/meson/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mesonbuild/meson/merges","archive_url":"https://api.github.com/repos/mesonbuild/meson/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mesonbuild/meson/downloads","issues_url":"https://api.github.com/repos/mesonbuild/meson/issues{/number}","pulls_url":"https://api.github.com/repos/mesonbuild/meson/pulls{/number}","milestones_url":"https://api.github.com/repos/mesonbuild/meson/milestones{/number}","notifications_url":"https://api.github.com/repos/mesonbuild/meson/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mesonbuild/meson/labels{/name}","releases_url":"https://api.github.com/repos/mesonbuild/meson/releases{/id}","deployments_url":"https://api.github.com/repos/mesonbuild/meson/deployments","created_at":"2014-05-14T15:08:16Z","updated_at":"2018-11-05T22:21:44Z","pushed_at":"2018-11-05T23:21:57Z","git_url":"git://github.com/mesonbuild/meson.git","ssh_url":"git@github.com:mesonbuild/meson.git","clone_url":"https://github.com/mesonbuild/meson.git","svn_url":"https://github.com/mesonbuild/meson","homepage":"http://mesonbuild.com","size":19320,"stargazers_count":1735,"watchers_count":1735,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":463,"mirror_url":null,"archived":false,"open_issues_count":869,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":463,"open_issues":869,"watchers":1735,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mesonbuild/meson/pulls/4472"},"html":{"href":"https://github.com/mesonbuild/meson/pull/4472"},"issue":{"href":"https://api.github.com/repos/mesonbuild/meson/issues/4472"},"comments":{"href":"https://api.github.com/repos/mesonbuild/meson/issues/4472/comments"},"review_comments":{"href":"https://api.github.com/repos/mesonbuild/meson/pulls/4472/comments"},"review_comment":{"href":"https://api.github.com/repos/mesonbuild/meson/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mesonbuild/meson/pulls/4472/commits"},"statuses":{"href":"https://api.github.com/repos/mesonbuild/meson/statuses/b0dfddf67f0c749669942826a7b50c8ef3b05219"}},"author_association":"NONE"}}
{"actor":{"display_login":"ftechz"}}