From: SourceForge.net <no...@so...> - 2007-01-25 11:41:27
|
Bugs item #1338527, was opened at 2005-10-26 15:02 Message generated for change (Comment added) made by wsfulton You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=1338527&group_id=1645 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: parsing Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Torsten Marek (shlomme) Assigned to: Marcelo Matus (marcelomatus) Summary: Forward declarations of template not correctly parsed Initial Comment: The parser cannot handle forward declarations of template classes, for example: template<typename, typename> class PatchList; No syntax error in the input file is reported, but the compilation of the generated code fails due to errors in the code that was generated from files that came after the incorrectly parsed one. If the forward declaration is made invisible for the swig parser, all is well. ---------------------------------------------------------------------- >Comment By: William Fulton (wsfulton) Date: 2007-01-25 11:41 Message: Logged In: YES user_id=242951 Originator: NO Correction - 1538522 is a duplicate of this bug ---------------------------------------------------------------------- Comment By: William Fulton (wsfulton) Date: 2007-01-25 11:39 Message: Logged In: YES user_id=242951 Originator: NO 101645 is a duplicate of this bug ---------------------------------------------------------------------- Comment By: Marcelo Matus (marcelomatus) Date: 2005-10-27 09:03 Message: Logged In: YES user_id=246059 yes, this is an old problem with the parser and it will require some time to get fixed. in the meantime, you can use the equivalent workaroud template<typename T1, typename T2> class PatchList; Marcelo ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=1338527&group_id=1645 |