diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2021-03-19 22:04:25 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2021-03-19 22:04:25 +0000 |
commit | 84259dfc6e4aa80442f38f1bc4a10b4aa9eaed00 (patch) | |
tree | 1181339e9e67edcb3bfb16fec2624c2d7ef8706b | |
parent | d8e167ad9c7aa447de3855a9000771c07f9d5321 (diff) | |
download | swig-84259dfc6e4aa80442f38f1bc4a10b4aa9eaed00.tar.gz |
Suppress Visual C++ warning in cpp_typedef testcase
-rw-r--r-- | Examples/test-suite/cpp_typedef.i | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Examples/test-suite/cpp_typedef.i b/Examples/test-suite/cpp_typedef.i index b782a3bd3..d77485c77 100644 --- a/Examples/test-suite/cpp_typedef.i +++ b/Examples/test-suite/cpp_typedef.i @@ -3,6 +3,9 @@ %module cpp_typedef %{ +#if defined(_MSC_VER) + #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 class Bar { public: |