{"action":"closed","issue":{"url":"https://api.github.com/repos/swig/swig/issues/469","labels_url":"https://api.github.com/repos/swig/swig/issues/469/labels{/name}","comments_url":"https://api.github.com/repos/swig/swig/issues/469/comments","events_url":"https://api.github.com/repos/swig/swig/issues/469/events","html_url":"https://github.com/swig/swig/issues/469","id":96289981,"number":469,"title":"Nested class not supported warning for protected classes","user":{"login":"cj-mcdonald","id":13433783,"avatar_url":"https://avatars.githubusercontent.com/u/13433783?v=3","gravatar_id":"","url":"https://api.github.com/users/cj-mcdonald","html_url":"https://github.com/cj-mcdonald","followers_url":"https://api.github.com/users/cj-mcdonald/followers","following_url":"https://api.github.com/users/cj-mcdonald/following{/other_user}","gists_url":"https://api.github.com/users/cj-mcdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/cj-mcdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cj-mcdonald/subscriptions","organizations_url":"https://api.github.com/users/cj-mcdonald/orgs","repos_url":"https://api.github.com/users/cj-mcdonald/repos","events_url":"https://api.github.com/users/cj-mcdonald/events{/privacy}","received_events_url":"https://api.github.com/users/cj-mcdonald/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"wkalinin","id":3225999,"avatar_url":"https://avatars.githubusercontent.com/u/3225999?v=3","gravatar_id":"","url":"https://api.github.com/users/wkalinin","html_url":"https://github.com/wkalinin","followers_url":"https://api.github.com/users/wkalinin/followers","following_url":"https://api.github.com/users/wkalinin/following{/other_user}","gists_url":"https://api.github.com/users/wkalinin/gists{/gist_id}","starred_url":"https://api.github.com/users/wkalinin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkalinin/subscriptions","organizations_url":"https://api.github.com/users/wkalinin/orgs","repos_url":"https://api.github.com/users/wkalinin/repos","events_url":"https://api.github.com/users/wkalinin/events{/privacy}","received_events_url":"https://api.github.com/users/wkalinin/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-07-21T11:15:57Z","updated_at":"2015-07-21T19:05:35Z","closed_at":"2015-07-21T19:05:35Z","body":"Sig 3.0.6 contains a change to suppress warning 325 \"Nested class not currently supported\" when the nested class has already been explicitly ignored with \"%ignore\"; which is great as I prefer to explicitly ignore any nested classes or structs, rather suppress the warning globally.\r\n\r\nBut  it's not working for protected nested classes, as shown with the following example:\r\n\r\n```\r\n%module Nested\r\n\r\n%ignore Parent::Nested1;\r\n%ignore Parent::Nested2;\r\n\r\nclass Parent\r\n{\r\npublic:\r\n    struct Nested1 {};\r\n\r\nprotected:\r\n    struct Nested2 {};\r\n};\r\n```\r\n\r\nWarning 325 is always output for Nested2, regardless of the %ignore.\r\nI'm generating Tcl wrappers."}}