Commit Graph

3 Commits

Author SHA1 Message Date
William S Fulton be03cd4176 Fix pointless warnings 330 for empty template instantiations
Appearing recently since 8c8e27d246.
Fixes warnings in test cases:
complextest, li_std_pair_extra, std_containers, template_nested_typemaps

Also attempts to instantiate a template for an unsupported nested template class
now have a separate new warning number 331 (SWIGWARN_PARSE_TEMPLATE_NESTED).

Closes #2965
2024-07-19 09:16:11 +01:00
William S Fulton a24461dbac Update errors test-suite with correct warning text 2024-06-30 14:33:23 +01:00
William S Fulton 8c8e27d246 Add warning for ineffective %template instantiations
on forward template class declarations. A full template class definition is
required in order to wrap a template class as a proxy class.

Also tidyup handling of classforward code (no observable changes in
test-suite).
2024-06-29 17:36:46 +01:00