Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1157 infinite recursion with circular "using namespace"

closed-fixed
szager
parsing (147)
5
2012-06-30
2011-04-14
szager
No

When two namespace have mutual 'using namespace' clauses, swig can go into infinite recursion when resolving types. Attached is a simple test case that craters swig.

Discussion

  • szager
    szager
    2011-04-14

     
  • szager
    szager
    2011-04-14

     
    Attachments
  • szager
    szager
    2011-04-14

     
    Attachments
  • szager
    szager
    2011-04-14

    The two attached patch files fix the problem.

     
  • William Fulton
    William Fulton
    2012-06-30

    Fixed in r12640 by szager for swig-2.0.4.

     
  • William Fulton
    William Fulton
    2012-06-30

    • status: open --> closed-fixed