caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "chris.danx" <chris.danx@ntlworld.com>
To: Caml Mailing List <caml-list@inria.fr>
Subject: [Caml-list] Wierd???  Doesn't compile under emacs edit
Date: Sat, 22 Nov 2003 00:53:46 +0000	[thread overview]
Message-ID: <3FBEB39A.5020604@ntlworld.com> (raw)

Hi,

Does anyone here have trouble compiling files edited in emacs?  I put 
this in a file, but it gives

File "nehe_two.ml", line 3, characters 2-15:
Unbound value GLClear.color


let init_gL =
   GlDraw.shade_model `smooth;
   GLClear.color (0.0, 0.0, 0.0);
   GLClear.depth 1.0                          ;
   GLClear.clear [`color;  `depth]            ;
   GL.enable `depth_test                      ;
   GLFunc.depth_func `lequal                  ;
   GLMisc.hint `perspective_correction `nicest


The trouble is, if I cut and paste bits from the example files with 
liblglut it works fine.

Previously I got the same error with line 2 (gldraw.shade_model ...) so 
  I copied that line from one of the examples.  It worked ok.

Do these things only happen to me?


compiled it with...

lablglut nehe_two.ml


Running debian sid with tuareg 1.40.5 and gnu emacs 21.3.1


I tried opening it, editing, saving and then closing it in kedit...


:(

Chris

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


             reply	other threads:[~2003-11-22  0:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-22  0:53 chris.danx [this message]
2003-11-22  8:19 ` art yerkes
2003-11-22 13:59   ` chris.danx

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FBEB39A.5020604@ntlworld.com \
    --to=chris.danx@ntlworld.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).