Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Error during partial linking
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alessandro Baretta <alex@b...>
Subject: Re: [Caml-list] Error during partial linking


Dmitry Bely wrote:
> Alain Frisch <frisch@clipper.ens.fr> writes:
> 
>>In which cases would we need -nostd ?  The only harm an "open" statement
>>can do is to hide previous definitions, but if it is inserted
>>automatically at the beginning, what's the problem ?
> 
> 
> I meant programmers should manually add "open Std" to the existing sources
> using a text editor. I would prefer no auto open of Std (old C++ habits
> :-)), buf of course I can live with it. BTW, if you think "-nostd" is not
> necessary, why we have "-nopervasives" option?
> 
> - Dmitry Bely

The -nostd should be implicit with -nopervasives. You do not 
want to open a module that is not linked (compile time 
error). So, if you do not want Pervasives, you do not want 
an "open Std".

Alex

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners