Test case warning suppression for visual c++ fix

This commit is contained in:
William S Fulton 2015-08-02 22:21:14 +01:00
commit c0de963191

View file

@ -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