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

Close

#272 [python] std::map: doesn't honor Compare and Allocator

closed-fixed
szager
None
5
2011-07-28
2011-07-13
No

std::map has four template arguments, but the code python/std_map.i only honors the first two. This makes e.g swiginac and syfi fail to build with swig 2.0.4 [1], [2]. The attached patch fixes this bug.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633710
[2] https://sourceforge.net/mailarchive/message.php?msg_id=27714684

Discussion

  • updated patch

     
    Attachments
  • szager
    szager
    2011-07-21

    This is fixed in revision 12759, and will appear in the next SWIG release.

     
  • szager
    szager
    2011-07-21

    • status: open --> open-fixed
     
  • William Fulton
    William Fulton
    2011-07-28

    • assigned_to: nobody --> szager
    • status: open-fixed --> closed-fixed
     
  • William Fulton
    William Fulton
    2011-07-28

    Closing as it is now fixed for swig-2.0.5.