{"action":"created","issue":{"url":"https://api.github.com/repos/swig/swig/issues/669","repository_url":"https://api.github.com/repos/swig/swig","labels_url":"https://api.github.com/repos/swig/swig/issues/669/labels{/name}","comments_url":"https://api.github.com/repos/swig/swig/issues/669/comments","events_url":"https://api.github.com/repos/swig/swig/issues/669/events","html_url":"https://github.com/swig/swig/issues/669","id":151597591,"number":669,"title":"Warning about unknown base class although derived class is ignored","user":{"login":"cyr0n","id":18717634,"avatar_url":"https://avatars.githubusercontent.com/u/18717634?v=3","gravatar_id":"","url":"https://api.github.com/users/cyr0n","html_url":"https://github.com/cyr0n","followers_url":"https://api.github.com/users/cyr0n/followers","following_url":"https://api.github.com/users/cyr0n/following{/other_user}","gists_url":"https://api.github.com/users/cyr0n/gists{/gist_id}","starred_url":"https://api.github.com/users/cyr0n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyr0n/subscriptions","organizations_url":"https://api.github.com/users/cyr0n/orgs","repos_url":"https://api.github.com/users/cyr0n/repos","events_url":"https://api.github.com/users/cyr0n/events{/privacy}","received_events_url":"https://api.github.com/users/cyr0n/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-28T09:59:59Z","updated_at":"2016-04-28T10:10:04Z","closed_at":null,"body":"    %module swigtest\r\n \r\n    %ignore ActualClass;\r\n\r\n    enum State {\r\n\tINVALID = 0,\r\n\tVALID = 1\r\n    };\r\n\r\n    template<typename T>\r\n    class TemplateClass {};\r\n\r\n    class ActualClass : public TemplateClass<int> {};\r\n\r\nI'm wrapping the above file to java.\r\n\r\nExpected result: Only the `State` enum gets wrapped.\r\nActual result: Only the `State` enum gets wrapped, but the following warning appears:\r\n\r\n    d:\\swigtest>\"D:\\swigwin-3.0.8\\swig.exe\" -c++ -java swig_definition.i\r\n    swig_definition.i(13) : Warning 401: Nothing known about base class 'TemplateClass< int >'. Ignored.\r\n    swig_definition.i(13) : Warning 401: Maybe you forgot to instantiate 'TemplateClass< int >' using %template.\r\n\r\nNo files are generated for `TemplateClass` or `ActualClass` (as expected), but I would expect no warnings either."},"comment":{"url":"https://api.github.com/repos/swig/swig/issues/comments/215376619","html_url":"https://github.com/swig/swig/issues/669#issuecomment-215376619","issue_url":"https://api.github.com/repos/swig/swig/issues/669","id":215376619,"user":{"login":"vadz","id":146917,"avatar_url":"https://avatars.githubusercontent.com/u/146917?v=3","gravatar_id":"","url":"https://api.github.com/users/vadz","html_url":"https://github.com/vadz","followers_url":"https://api.github.com/users/vadz/followers","following_url":"https://api.github.com/users/vadz/following{/other_user}","gists_url":"https://api.github.com/users/vadz/gists{/gist_id}","starred_url":"https://api.github.com/users/vadz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vadz/subscriptions","organizations_url":"https://api.github.com/users/vadz/orgs","repos_url":"https://api.github.com/users/vadz/repos","events_url":"https://api.github.com/users/vadz/events{/privacy}","received_events_url":"https://api.github.com/users/vadz/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T10:10:04Z","updated_at":"2016-04-28T10:10:04Z","body":"Can this be worked around by ignoring `TemplateClass` too?"}}