Suppress Ruby std::wstring, std::string, std::basic_string warnings

Lib/std/std_basic_string.i:235: Warning 365: operator+= ignored
Lib/std/std_wstring.i:8: Warning 378: operator!= ignored

Correct 801 warning suppressions (which are normally suppressed in the test-suite):
Lib/std/std_wstring.i:13: Warning 801: Wrong class name (corrected to `Wstring')

Similarly for std::string when including basic_string.i class.
This commit is contained in:
William S Fulton 2017-10-10 07:41:51 +01:00
commit e7f0c6d6ad
3 changed files with 6 additions and 3 deletions

View file

@ -47,6 +47,9 @@ SWIGINTERNINLINE VALUE
}
}
%ignore std::basic_string::operator!=;
%ignore std::basic_string::operator+=;
%include <std/std_basic_string.i>
%typemaps_asptrfromn(%checkcode(STRING), std::basic_string<char>);