From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA30751; Mon, 17 Jun 2002 15:23:11 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 PAA30989 for ; Mon, 17 Jun 2002 15:23:10 +0200 (MET DST) Received: from madiran.inria.fr (madiran.inria.fr [128.93.8.77]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g5HDNAb23590; Mon, 17 Jun 2002 15:23:10 +0200 (MET DST) Received: from localhost (madiran.inria.fr [128.93.8.77]) by madiran.inria.fr (Postfix) with ESMTP id 0D731A772F; Mon, 17 Jun 2002 15:23:10 +0200 (CEST) Date: Mon, 17 Jun 2002 15:23:09 +0200 (CEST) Message-Id: <20020617.152309.424257368.Jun.Furuse@inria.fr> To: nicolas.francois@free.fr Cc: caml-list@inria.fr nSubject: Re: [Caml-list] Problem with Graph module From: "Jun P.FURUSE" In-Reply-To: <20020617031219.2dd51ec3.nicolas.francois@free.fr> References: <20020617031219.2dd51ec3.nicolas.francois@free.fr> X-URL: http://pauillac.inria.fr/~furuse/ X-Face: %NBEt80q,?D$3WNc|UEDB(`B%4yRMn~m!-wQF`!QA@=cZ~?MZJwomF~)69N/W6e/n1),d X-Mailer: Mew version 2.2 on XEmacs 21.4.6 (Common Lisp) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello, > if (point_color ma_fourmi.x ma_fourmi.y) = white > is allways false under Ocaml. If the following code says "BUG" in your environment, I am afraid that there is a bug inside the graphics library. In such case, could you send me the result of the command xdpyinfo in your environment ? (* ocamlc -o testgraphics graphics.cma testgraphics.ml *) open Graphics let _ = open_graph ""; if point_color 0 0 = white then prerr_endline "OK" else prerr_endline "BUG" ;; -- Jun ------------------- 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