From: Marcelo M. <mm...@ac...> - 2006-02-09 19:02:25
|
this has no chance to work, but, what are you trying to do anyway? %module infloop %include stl.i struct E { %template() std::pair<int, int>; }; Marcelo Olly Betts wrote: >SWIG seems to get into an infinite loop consuming 90+% CPU trying to >process this example: > >%module infloop >%include stl.i >struct E { >%template() std::pair<int, int>; >}; > >Process like so: > >swig -c++ -php4 infloop.i > >Happens with both 1.3.24 and CVS HEAD. > >The problem seems to with the %template inside the struct, so this isn't >a critical issue. I don't know if that should be valid, or not, but >it's easy to put the %template outside. > >Cheers, > Olly > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >_______________________________________________ >Swig-devel mailing list >Swi...@li... >https://lists.sourceforge.net/lists/listinfo/swig-devel > > |