diff --git a/SWIG/Examples/GIFPlot/Include/gifplot.h b/SWIG/Examples/GIFPlot/Include/gifplot.h index 921a5b63b..85e4c10b3 100644 --- a/SWIG/Examples/GIFPlot/Include/gifplot.h +++ b/SWIG/Examples/GIFPlot/Include/gifplot.h @@ -19,7 +19,7 @@ #ifndef GIFPLOT_H #ifdef SWIG -%pragma no_default +%nodefault; #endif /* Pixel is 8-bits */ diff --git a/SWIG/Examples/csharp/enum/example.i b/SWIG/Examples/csharp/enum/example.i index 4c873824c..23ee8a822 100644 --- a/SWIG/Examples/csharp/enum/example.i +++ b/SWIG/Examples/csharp/enum/example.i @@ -5,8 +5,6 @@ #include "example.h" %} -%pragma make_default - /* Let's just grab the original header file here */ %include "example.h" diff --git a/SWIG/Examples/test-suite/arrays.i b/SWIG/Examples/test-suite/arrays.i index 57912905d..8dc608b0f 100644 --- a/SWIG/Examples/test-suite/arrays.i +++ b/SWIG/Examples/test-suite/arrays.i @@ -3,7 +3,6 @@ This test case tests that various types of arrays are working. */ %module arrays -%pragma make_default %inline %{ #define ARRAY_LEN 2 diff --git a/SWIG/Examples/test-suite/arrays_global.i b/SWIG/Examples/test-suite/arrays_global.i index c5140acc8..625602eea 100644 --- a/SWIG/Examples/test-suite/arrays_global.i +++ b/SWIG/Examples/test-suite/arrays_global.i @@ -3,7 +3,6 @@ This test case tests that various types of arrays are working. */ %module arrays_global -%pragma make_default %inline %{ #define ARRAY_LEN 2 diff --git a/SWIG/Examples/test-suite/cplusplus_throw.i b/SWIG/Examples/test-suite/cplusplus_throw.i index 268ddc6d0..bb03732df 100644 --- a/SWIG/Examples/test-suite/cplusplus_throw.i +++ b/SWIG/Examples/test-suite/cplusplus_throw.i @@ -5,7 +5,7 @@ %module cplusplus_throw -%pragma no_default +%nodefault; %inline %{ diff --git a/SWIG/Examples/test-suite/defines.i b/SWIG/Examples/test-suite/defines.i index 70a1db6df..0b8cb1545 100644 --- a/SWIG/Examples/test-suite/defines.i +++ b/SWIG/Examples/test-suite/defines.i @@ -3,7 +3,6 @@ This testcase tests for embedded defines and embedded %constants */ %module defines -%pragma make_default %inline %{ diff --git a/SWIG/Examples/test-suite/nested.i b/SWIG/Examples/test-suite/nested.i index 7771fe7be..0b93be46a 100644 --- a/SWIG/Examples/test-suite/nested.i +++ b/SWIG/Examples/test-suite/nested.i @@ -5,7 +5,6 @@ Also tests reported error when a #define placed in a deeply embedded struct/unio */ %module nested -%pragma make_default %inline %{ diff --git a/SWIG/Examples/test-suite/static_array_member.i b/SWIG/Examples/test-suite/static_array_member.i index 8a7cfefae..0553d3d93 100644 --- a/SWIG/Examples/test-suite/static_array_member.i +++ b/SWIG/Examples/test-suite/static_array_member.i @@ -5,7 +5,7 @@ %module static_array_member -%pragma no_default +%nodefault; class RB { static char *rberror[]; }; diff --git a/SWIG/Examples/test-suite/unions.i b/SWIG/Examples/test-suite/unions.i index b5f162b89..90da33363 100644 --- a/SWIG/Examples/test-suite/unions.i +++ b/SWIG/Examples/test-suite/unions.i @@ -3,7 +3,6 @@ This testcase checks that unions can be set and read. */ %module unions -%pragma make_default %inline %{