Move SwigValueWrapper to header section

Recent change to SwigValueWrapper required the <utility> header.
Included headers should be after the include of the language
specific header files (which go into the earlier runtime section).

Testcase required -Winit-list-lifetime warning suppression change
for Perl which somehow lost the warning suppression when put
into the %begin section.
This commit is contained in:
William S Fulton 2022-09-09 07:49:48 +01:00
commit 0c2d0fea0f
2 changed files with 5 additions and 6 deletions

View file

@ -10,7 +10,7 @@
$1 = {"Ab", "Fab"};
%}
%begin %{
%runtime %{
#if __GNUC__ >= 9
/* warning: new of initializer_list does not extend the lifetime of the underlying array [-Winit-list-lifetime] */
/* incorrect warning for C::C(std::initializer_list<const char *>) */