If I try to follow steps from http://www.swig.org/Doc1.3/Ocaml.html and try to compile QT example, on step
ocamlc -I `camlp4 -where` -pp "camlp4o pa_extend.cmo q_MLast.cmo" -c swigp4.ml
I get:
File "swigp4.ml", line 26, characters 2-6:
Parse error: Deprecated syntax, the grammar module is expected
File "swigp4.ml", line 1, characters 0-1:
Error: Preprocessor error
Using OCaml 3.11.0...
2009-06-07 17:07:57 UTC in SWIG