Test case warning suppression for visual c++ fix
This commit is contained in:
parent
892aaf577a
commit
c0de963191
1 changed files with 4 additions and 4 deletions
|
|
@ -1,14 +1,14 @@
|
||||||
%module array_typedef_memberin
|
%module array_typedef_memberin
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
|
||||||
#pragma warning(disable: 4351) // new behavior: elements of array 'xyz' will be default initialized
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(SWIGSCILAB)
|
#if defined(SWIGSCILAB)
|
||||||
%rename(ExDetail) ExampleDetail;
|
%rename(ExDetail) ExampleDetail;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
#pragma warning(disable: 4351) // new behavior: elements of array 'xyz' will be default initialized
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef short Eight[8];
|
typedef short Eight[8];
|
||||||
typedef const short ConstEight[8];
|
typedef const short ConstEight[8];
|
||||||
namespace ArrayExample
|
namespace ArrayExample
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue