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:
parent
dcb2544a43
commit
0c2d0fea0f
2 changed files with 5 additions and 6 deletions
|
|
@ -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 *>) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue