[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 @@
// %constant and struct
#ifdef SWIGOCAML
%warnfilter(SWIGWARN_PARSE_KEYWORD) val;
#endif
%inline %{
#if defined(_MSC_VER)
#pragma warning(disable : 4190) // warning C4190: 'result' has C-linkage specified, but returns UDT 'Type1' which is incompatible with C