Test case warning suppression for visual c++ fix

This commit is contained in:
William S Fulton 2015-08-02 22:21:14 +01:00
parent 892aaf577a
commit c0de963191
1 changed files with 4 additions and 4 deletions

View File

@ -1,14 +1,14 @@
%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)
%rename(ExDetail) ExampleDetail;
#endif
%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 const short ConstEight[8];
namespace ArrayExample