Merge branch 'ZackerySpytz-OCaml-eliminate-wno-write-strings'

* ZackerySpytz-OCaml-eliminate-wno-write-strings:
  [OCaml] Remove support for OCaml versions < 3.12.0
  [OCaml] Fix toplevel creation for ocamlmktop versions >= 4.04.0
  [OCaml] Eliminate use of -Wno-write-strings
This commit is contained in:
William S Fulton 2019-01-31 07:29:09 +00:00
commit 528f33e9e5
13 changed files with 36 additions and 38 deletions

View file

@ -927,7 +927,7 @@ public:
// See if there's a typemap
// Create variable and assign it a value
Printf(f_header, "static %s = %s;\n", SwigType_lstr(type, name), value);
Printf(f_header, "static %s = %s;\n", SwigType_str(type, name), value);
SetFlag(n, "feature:immutable");
variableWrapper(n);
return SWIG_OK;