[OCaml] Add missing warning filters for OCaml keywords in the test suite

This commit is contained in:
Zackery Spytz 2018-12-31 05:55:10 -07:00
commit 5c19f4de2f
32 changed files with 129 additions and 0 deletions

View file

@ -2,6 +2,10 @@
%module default_args
#ifdef SWIGOCAML
%warnfilter(SWIGWARN_PARSE_KEYWORD) val;
#endif
%{
#if defined(_MSC_VER)
#pragma warning(disable: 4146) // unary minus operator applied to unsigned type, result still unsigned