From: SourceForge.net <no...@so...> - 2009-10-20 22:10:37
|
Bugs item #2882772, was opened at 2009-10-21 00:10 Message generated for change (Tracker Item Submitted) made by jhernando You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=2882772&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: Juan Hernando (jhernando) Assigned to: Marcelo Matus (marcelomatus) Summary: Bogus warning 318 with partial template specialization Initial Comment: Hi developers, The problem I have is related to an spurious warning in template instantiations that involve partially specialized templates. In the test case provided you can see that a perfectly legal template instantiation is reported as ambiguous by SWIG. There are two template specializations that match and SWIG considers them as equal, but one is indeed more specialized and should be chosen (g++ doesn't complain compiling the very same code). Additionally, warnfilter doesn't help. It has worked other times for warnings with templates, but not this time. A couple of tries are included in the test case. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=2882772&group_id=1645 |