{"action":"created","issue":{"url":"https://api.github.com/repos/VioletGiraffe/cppcheck-vs-addin/issues/102","labels_url":"https://api.github.com/repos/VioletGiraffe/cppcheck-vs-addin/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/VioletGiraffe/cppcheck-vs-addin/issues/102/comments","events_url":"https://api.github.com/repos/VioletGiraffe/cppcheck-vs-addin/issues/102/events","html_url":"https://github.com/VioletGiraffe/cppcheck-vs-addin/issues/102","id":54009447,"number":102,"title":"Supressions ignored by VisualStudio add-in","user":{"login":"dreieier","id":2465981,"avatar_url":"https://avatars.githubusercontent.com/u/2465981?v=3","gravatar_id":"","url":"https://api.github.com/users/dreieier","html_url":"https://github.com/dreieier","followers_url":"https://api.github.com/users/dreieier/followers","following_url":"https://api.github.com/users/dreieier/following{/other_user}","gists_url":"https://api.github.com/users/dreieier/gists{/gist_id}","starred_url":"https://api.github.com/users/dreieier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreieier/subscriptions","organizations_url":"https://api.github.com/users/dreieier/orgs","repos_url":"https://api.github.com/users/dreieier/repos","events_url":"https://api.github.com/users/dreieier/events{/privacy}","received_events_url":"https://api.github.com/users/dreieier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-01-11T23:24:34Z","updated_at":"2015-01-13T08:21:41Z","closed_at":null,"body":"In a VisualStudio C++ project I want to exclude files from a library from being checked. All files start with \"juce_\". In the CppCheck settings under \"Edit Global supressions\" I added \"^juce_.*\\.cpp$\" and \"^juce_.*\\.h$\" in the file list. Additionally, in the directory list, I added regexes in the style of \".*juce.*\".\r\nThe supressions seem to be ignored and all the files I want to exclude are checked."},"comment":{"url":"https://api.github.com/repos/VioletGiraffe/cppcheck-vs-addin/issues/comments/69709928","html_url":"https://github.com/VioletGiraffe/cppcheck-vs-addin/issues/102#issuecomment-69709928","issue_url":"https://api.github.com/repos/VioletGiraffe/cppcheck-vs-addin/issues/102","id":69709928,"user":{"login":"dreieier","id":2465981,"avatar_url":"https://avatars.githubusercontent.com/u/2465981?v=3","gravatar_id":"","url":"https://api.github.com/users/dreieier","html_url":"https://github.com/dreieier","followers_url":"https://api.github.com/users/dreieier/followers","following_url":"https://api.github.com/users/dreieier/following{/other_user}","gists_url":"https://api.github.com/users/dreieier/gists{/gist_id}","starred_url":"https://api.github.com/users/dreieier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreieier/subscriptions","organizations_url":"https://api.github.com/users/dreieier/orgs","repos_url":"https://api.github.com/users/dreieier/repos","events_url":"https://api.github.com/users/dreieier/events{/privacy}","received_events_url":"https://api.github.com/users/dreieier/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T08:21:41Z","updated_at":"2015-01-13T08:21:41Z","body":"Ok, I missed that point. My understanding was the filter would supress any matching files, regardless how they come in scope.<br>\r\nIs it possible to apply a filter in that way? Checking all the headers on every run is time consuming and also I don't want to touch the library to fix what cppcheck is reporting.<br>\r\nI tried -iD:\\Dev\\C++\\Lib\\juce in the command line, with no sucess."}}