{"action":"created","issue":{"url":"https://api.github.com/repos/swig/swig/issues/223","labels_url":"https://api.github.com/repos/swig/swig/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/swig/swig/issues/223/comments","events_url":"https://api.github.com/repos/swig/swig/issues/223/events","html_url":"https://github.com/swig/swig/issues/223","id":42084344,"number":223,"title":"SWIG >= 3.0.0 hangs on using enums::...","user":{"login":"towski","id":10956,"avatar_url":"https://avatars.githubusercontent.com/u/10956?v=3","gravatar_id":"","url":"https://api.github.com/users/towski","html_url":"https://github.com/towski","followers_url":"https://api.github.com/users/towski/followers","following_url":"https://api.github.com/users/towski/following{/other_user}","gists_url":"https://api.github.com/users/towski/gists{/gist_id}","starred_url":"https://api.github.com/users/towski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/towski/subscriptions","organizations_url":"https://api.github.com/users/towski/orgs","repos_url":"https://api.github.com/users/towski/repos","events_url":"https://api.github.com/users/towski/events{/privacy}","received_events_url":"https://api.github.com/users/towski/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-09-05T20:04:59Z","updated_at":"2015-01-09T01:36:53Z","closed_at":"2015-01-09T01:36:53Z","body":"Here is the header I am using for SWIG\r\n\r\n```c++\r\nnamespace df {\r\n  namespace enums {\r\n    namespace profession {\r\n      enum profession { ... }\r\n\r\n  using enums::profession::profession;\r\n}\r\n```\r\n\r\nThe using enums::profession::profession causes swig to hang indefinitely after showing some normal output, and the output files are 0 length"},"comment":{"url":"https://api.github.com/repos/swig/swig/issues/comments/69281238","html_url":"https://github.com/swig/swig/issues/223#issuecomment-69281238","issue_url":"https://api.github.com/repos/swig/swig/issues/223","id":69281238,"user":{"login":"ojwb","id":164061,"avatar_url":"https://avatars.githubusercontent.com/u/164061?v=3","gravatar_id":"","url":"https://api.github.com/users/ojwb","html_url":"https://github.com/ojwb","followers_url":"https://api.github.com/users/ojwb/followers","following_url":"https://api.github.com/users/ojwb/following{/other_user}","gists_url":"https://api.github.com/users/ojwb/gists{/gist_id}","starred_url":"https://api.github.com/users/ojwb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojwb/subscriptions","organizations_url":"https://api.github.com/users/ojwb/orgs","repos_url":"https://api.github.com/users/ojwb/repos","events_url":"https://api.github.com/users/ojwb/events{/privacy}","received_events_url":"https://api.github.com/users/ojwb/received_events","type":"User","site_admin":false},"created_at":"2015-01-09T01:36:53Z","updated_at":"2015-01-09T01:36:53Z","body":"I can't reproduce this with current git master.\r\n\r\nThe example provided was incomplete, so I amended it so it was actually syntactically valid C++ thus:\r\n\r\n```\r\n%module xxx\r\nnamespace df {\r\n  namespace enums {\r\n    namespace profession {\r\n      enum profession { FOO };\r\n    }\r\n  }\r\n  using enums::profession::profession;\r\n}\r\n```\r\n\r\nI processed this with:\r\n\r\n```\r\nswig -c++ -python issue223.i\r\n```\r\n\r\nHence closing.  If you can reproduce this with a current version, please provide a complete example including the command used to process it, and tell us what version you are using."}}