[OCaml] Add missing warning filters for OCaml keywords in the test suite
This commit is contained in:
parent
0078c7d84d
commit
5c19f4de2f
32 changed files with 129 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue