Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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 <> 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".


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: