caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Assembler errors with _ notation
@ 2002-12-20 13:35 Yaron M. Minsky
  2002-12-20 16:51 ` Xavier Leroy
  0 siblings, 1 reply; 3+ messages in thread
From: Yaron M. Minsky @ 2002-12-20 13:35 UTC (permalink / raw)
  To: Caml List

Here's an odd compile error I've run up against:

foo.ml:

        open Printf
        
        let snoo x = 60_000. /. x
        
        let print x =
            printf "snoo(%f): %f\n" x (snoo x)
        
Compilation results:
        
        dragonfly: tmp $ ocamlopt foo.ml
        /tmp/camlasm9587be.s: Assembler messages:
        /tmp/camlasm9587be.s:53: Warning: rest of line ignored; first
        ignored character
        is `_'
        /tmp/camlasm9587be.s:82: Warning: rest of line ignored; first
        ignored character
        is `_'

This is on redhat 8.0 running ocaml 3.06.

Any ideas?

y


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] Assembler errors with _ notation
  2002-12-20 13:35 [Caml-list] Assembler errors with _ notation Yaron M. Minsky
@ 2002-12-20 16:51 ` Xavier Leroy
  2002-12-20 17:08   ` Sven Luther
  0 siblings, 1 reply; 3+ messages in thread
From: Xavier Leroy @ 2002-12-20 16:51 UTC (permalink / raw)
  To: Yaron M. Minsky; +Cc: Caml List

> Here's an odd compile error I've run up against:
>         /tmp/camlasm9587be.s: Assembler messages:
>         /tmp/camlasm9587be.s:53: Warning: rest of line ignored; first
>         ignored character is `_'

It's a known glitch in 3.06 (see bug report #1457).  It's fixed in the
working sources.  Either don't use _ in float literals till 3.07 :-),
or get the fix from camlcvs.inria.fr, file ocaml/parsing/lexer.mll,
revision 1.57.

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] Assembler errors with _ notation
  2002-12-20 16:51 ` Xavier Leroy
@ 2002-12-20 17:08   ` Sven Luther
  0 siblings, 0 replies; 3+ messages in thread
From: Sven Luther @ 2002-12-20 17:08 UTC (permalink / raw)
  To: Xavier Leroy; +Cc: Yaron M. Minsky, Caml List

On Fri, Dec 20, 2002 at 05:51:37PM +0100, Xavier Leroy wrote:
> > Here's an odd compile error I've run up against:
> >         /tmp/camlasm9587be.s: Assembler messages:
> >         /tmp/camlasm9587be.s:53: Warning: rest of line ignored; first
> >         ignored character is `_'
> 
> It's a known glitch in 3.06 (see bug report #1457).  It's fixed in the
> working sources.  Either don't use _ in float literals till 3.07 :-),
> or get the fix from camlcvs.inria.fr, file ocaml/parsing/lexer.mll,
> revision 1.57.

Or a 3.06.1 with fixes get released :)))

Friendly,

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-12-20 17:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-20 13:35 [Caml-list] Assembler errors with _ notation Yaron M. Minsky
2002-12-20 16:51 ` Xavier Leroy
2002-12-20 17:08   ` Sven Luther

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