Mantis - Mascot
Erweiterte Problemanzeige
86 general kleinerer Fehler immer 2012-01-10 11:11 2012-01-10 11:11
ygrek  
 
normal  
neu 1.0-beta  
offen  
keine    
keine  
0000086: -ocaml-prefix doesn't really work
The given prefix is not prepended to camlp4of invocation and the default one in PATH is used. In my case it was 3.11.2 which doesn't know anything about 3.12-isms in code. So I had both to specify configure argument and alter PATH. I for one would prefer doing only the latter - it is the common and reliable approach.
$ sh configure -ocaml-prefix /opt/ocaml-3.12.1-cfi/
$ make all
+ /opt/ocaml-3.12.1-cfi/bin/ocamldep.opt -pp camlp4of -modules src/checks/code_idempotentOperations.ml > src/checks/code_idempotentOperations.ml.depends
File "src/checks/code_idempotentOperations.ml", line 46, characters 2-8:
Parse error: "virtual" or [opt_private] expected after "method" (in [class_str_item])
Preprocessing error on file src/checks/code_idempotentOperations.ml
Command exited with code 2.
make: *** [all] Error 10
Problem-Historie
2012-01-10 11:11 ygrek Neues Problem

Zu diesem Problem gibt es keine Notizen.