Testcase warning fix for c# old versions of MSVC
This commit is contained in:
parent
471df4823b
commit
322574722b
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
%module cpp_typedef
|
%module cpp_typedef
|
||||||
|
|
||||||
%{
|
%{
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER) && _MSC_VER >= 1900
|
||||||
#pragma warning( disable : 5208) // warning C5208: unnamed class used in typedef name cannot declare members other than non-static data members, member enumerations, or member classes
|
#pragma warning( disable : 5208) // warning C5208: unnamed class used in typedef name cannot declare members other than non-static data members, member enumerations, or member classes
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue