From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA02050 for caml-redistribution; Fri, 27 Mar 1998 12:12:29 +0100 (MET) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id MAA07616 for ; Fri, 27 Mar 1998 12:12:18 +0100 (MET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.8.7/8.8.5) with ESMTP id MAA20639; Fri, 27 Mar 1998 12:12:14 +0100 (MET) Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA05734; Fri, 27 Mar 1998 12:12:14 +0100 (MET) From: Pierre Weis Message-Id: <199803271112.MAA05734@pauillac.inria.fr> Subject: Re: stdout in Unix module To: vincent@cyberman.parc.anglia.ac.uk Date: Fri, 27 Mar 1998 12:12:14 +0100 (MET) Cc: caml-list@inria.fr In-Reply-To: <199803251541.PAA01346@yetti.parc.anglia.ac.uk> from "Vincent Leleu" at Mar 25, 98 03:41:00 pm X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: weis > Once a 'open Unix' directive has been called I get the following compilation > conflict: > > flush stdout;; > ^^^^^^ > This expression has type Unix.file_descr but is here used with type out_channel You should explicitely name stdout Pervasives.stdout, not to confuse with Unix.stdout. Pierre Weis INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/