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:
parent
8c9b06c9c0
commit
e7f0c6d6ad
3 changed files with 6 additions and 3 deletions
|
|
@ -45,6 +45,8 @@ static rb_encoding *swig_ruby_internal_encoding;
|
|||
swig_ruby_internal_encoding = rb_enc_find( SWIG_RUBY_INTERNAL_ENCODING );
|
||||
}
|
||||
|
||||
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) std::basic_string<wchar_t>;
|
||||
|
||||
%include <rubywstrings.swg>
|
||||
%include <typemaps/std_wstring.swg>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue