{"action":"created","issue":{"url":"https://api.github.com/repos/wenns/sonar-cxx/issues/353","labels_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/353/labels{/name}","comments_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/353/comments","events_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/353/events","html_url":"https://github.com/wenns/sonar-cxx/issues/353","id":53315439,"number":353,"title":"sonar.cxx.cFilesPatterns => sonar.cxx.c.suffixes.sources","user":{"login":"guwirth","id":6077367,"avatar_url":"https://avatars.githubusercontent.com/u/6077367?v=3","gravatar_id":"","url":"https://api.github.com/users/guwirth","html_url":"https://github.com/guwirth","followers_url":"https://api.github.com/users/guwirth/followers","following_url":"https://api.github.com/users/guwirth/following{/other_user}","gists_url":"https://api.github.com/users/guwirth/gists{/gist_id}","starred_url":"https://api.github.com/users/guwirth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guwirth/subscriptions","organizations_url":"https://api.github.com/users/guwirth/orgs","repos_url":"https://api.github.com/users/guwirth/repos","events_url":"https://api.github.com/users/guwirth/events{/privacy}","received_events_url":"https://api.github.com/users/guwirth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wenns/sonar-cxx/labels/discussion","name":"discussion","color":"eb6420"},{"url":"https://api.github.com/repos/wenns/sonar-cxx/labels/waiting%20for%20answer","name":"waiting for answer","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-03T21:07:49Z","updated_at":"2015-05-01T07:57:01Z","closed_at":null,"body":"Looking to #291 I'm not really happy with the solution. Wondering how we will provide a generic way to support c and cpp? Switching only __cplusplus macro seems to be also to less. At the end there will different includes, defines, tool chains, ...\r\n\r\nOne way could be to duplicate all settings, example\r\n\r\nsonar.cxx.suffixes.sources => generic\r\nsonar.cxx.c.suffixes.sources => for c only\r\n\r\nsonar.cxx.defines => generic\r\nsonar.cxx.c.defines => for c only, overrides sonar.cxx.defines for sonar.cxx.c.suffixes.sources\r\n\r\nThis solution could be used for all properties and is extendable in case of new variants. what are you thinking? "},"comment":{"url":"https://api.github.com/repos/wenns/sonar-cxx/issues/comments/98072073","html_url":"https://github.com/wenns/sonar-cxx/issues/353#issuecomment-98072073","issue_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/353","id":98072073,"user":{"login":"guwirth","id":6077367,"avatar_url":"https://avatars.githubusercontent.com/u/6077367?v=3","gravatar_id":"","url":"https://api.github.com/users/guwirth","html_url":"https://github.com/guwirth","followers_url":"https://api.github.com/users/guwirth/followers","following_url":"https://api.github.com/users/guwirth/following{/other_user}","gists_url":"https://api.github.com/users/guwirth/gists{/gist_id}","starred_url":"https://api.github.com/users/guwirth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guwirth/subscriptions","organizations_url":"https://api.github.com/users/guwirth/orgs","repos_url":"https://api.github.com/users/guwirth/repos","events_url":"https://api.github.com/users/guwirth/events{/privacy}","received_events_url":"https://api.github.com/users/guwirth/received_events","type":"User","site_admin":false},"created_at":"2015-05-01T07:57:01Z","updated_at":"2015-05-01T07:57:01Z","body":"@Typz can wie change this? sonar.cxx.cFilesPatterns => sonar.cxx.c.suffixes.sources"}}