Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocamlopt problem
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: David MENTRE <david.mentre@g...>
Subject: Re: [Caml-list] ocamlopt problem
Hello,

2005/10/6, Rasool Karimi <rkarimi@gmail.com>:
> this message is in german and translation of it in english is : "The
> instruction "as" is either wrongly written or could not not be found". But
> when I compile a .mli file, this message is not shown and file is compiled
> successfully. Also when I compile a .ml file with ocamlc compiler, there is
> no error and compilation is done successfully. So there is not error in my
> program and this error maybe is related to ocamlopt compiler.

There is no reason that a particular error occurs with ocamlopt and
not ocamlc, especially as the syntax and typing phases are common to
both compilers (moreover, bugs in ocaml compilers are quite rare. Rule
of thumb: never suspect a bug in the compiler, always in your code).
So I would suspect an issue with your particular file or your
compiling environment. We cannot say much more without (1) having your
particular .ml and .mli file and (2) knowing in which environment your
are compiling.

Yours,
d.