List Info

Thread: "ocaml_beginners"::[] Bug?!




"ocaml_beginners"::[] Bug?!
user name
2006-06-04 15:51:21
Hello,


what's going on here?

===========================
first:~/Desktop/logo-ppmread oliver$ ocamlc ppm-read.ml
first:~/Desktop/logo-ppmread oliver$ ocamlcp ppm-read.ml
File "/tmp/camlppdf7bb2", line 1, characters
64-72:
Syntax error
first:~/Desktop/logo-ppmread oliver$ 
===========================

Why does ocamlcp not compile, when ocamlc does it?


Ciao,
   Oliver


------------------------ Yahoo! Groups Sponsor
--------------------~--> 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/saFolB/TM

------------------------------------------------------------
--------~-> 

Archives up to August 22, 2005 are also downloadable at http://www.connettivo.net/cntprojects/ocaml_beginners/
The archives of the very official ocaml list (the seniors'
one) can be found at http://caml.inria.fr
Attachments are banned and you're asked to be polite, avoid
flames etc. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http:/
/groups.yahoo.com/group/ocaml_beginners/

<*> To unsubscribe from this group, send an email to:
    ocaml_beginners-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 


"ocaml_beginners"::[] Bug?!
user name
2006-06-04 16:35:31
Try rm *.cm* first.

From the documentation, without an .mli file, using ocamlcp
after
ocamlc may cause problems.


------------------------ Yahoo! Groups Sponsor
--------------------~--> 
Get to your groups with one click. Know instantly when new
email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/saFolB/TM

------------------------------------------------------------
--------~-> 

Archives up to August 22, 2005 are also downloadable at http://www.connettivo.net/cntprojects/ocaml_beginners/
The archives of the very official ocaml list (the seniors'
one) can be found at http://caml.inria.fr
Attachments are banned and you're asked to be polite, avoid
flames etc. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http:/
/groups.yahoo.com/group/ocaml_beginners/

<*> To unsubscribe from this group, send an email to:
    ocaml_beginners-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 



"ocaml_beginners"::[] Bug?!
user name
2006-06-04 16:33:42
On Sun, Jun 04, 2006 at 05:51:21PM +0200, Oliver Bandel
wrote:
> Hello,
> 
> 
> what's going on here?
> 
> ===========================
> first:~/Desktop/logo-ppmread oliver$ ocamlc ppm-read.ml
> first:~/Desktop/logo-ppmread oliver$ ocamlcp
ppm-read.ml
> File "/tmp/camlppdf7bb2", line 1,
characters 64-72:
> Syntax error
> first:~/Desktop/logo-ppmread oliver$ 
> ===========================
> 
> Why does ocamlcp not compile, when ocamlc does it?
[...]

I will try it again with 3.09.2 (I have 3.09.0).

Maybe the problem will vanish then.

Ciao,
   Oliver


------------------------ Yahoo! Groups Sponsor
--------------------~--> 
You can search right from your browser? It's easy and it's
free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/saFolB/TM

------------------------------------------------------------
--------~-> 

Archives up to August 22, 2005 are also downloadable at http://www.connettivo.net/cntprojects/ocaml_beginners/
The archives of the very official ocaml list (the seniors'
one) can be found at http://caml.inria.fr
Attachments are banned and you're asked to be polite, avoid
flames etc. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http:/
/groups.yahoo.com/group/ocaml_beginners/

<*> To unsubscribe from this group, send an email to:
    ocaml_beginners-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 



"ocaml_beginners"::[] Bug?!
user name
2006-06-04 17:16:07
Hello,


On Mon, Jun 05, 2006 at 04:35:31AM +1200, Jonathan Roewen
wrote:
> Try rm *.cm* first.
> 
> From the documentation, without an .mli file, using
ocamlcp after
> ocamlc may cause problems.

OK, thansk for that hint, but it didn't help.

Have now 0caml 3.09.2 and the problem did not vanish :(


==============================
first:~/Desktop/logo-ppmread oliver$ ocamlc -v
The Objective Caml compiler, version 3.09.2
Standard library directory: /usr/local/lib/ocaml
first:~/Desktop/logo-ppmread oliver$ rm *.cm* ; ocamlcp
ppm-read.ml 
rm: *.cm*: No such file or directory
File "/tmp/camlpp46bcbf", line 1, characters
64-72:
Syntax error
first:~/Desktop/logo-ppmread oliver$ 
==============================

So I think this is worth a Bug-report...


Ciao,
   Oliver


------------------------ Yahoo! Groups Sponsor
--------------------~--> 
Get to your groups with one click. Know instantly when new
email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/saFolB/TM

------------------------------------------------------------
--------~-> 

Archives up to August 22, 2005 are also downloadable at http://www.connettivo.net/cntprojects/ocaml_beginners/
The archives of the very official ocaml list (the seniors'
one) can be found at http://caml.inria.fr
Attachments are banned and you're asked to be polite, avoid
flames etc. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http:/
/groups.yahoo.com/group/ocaml_beginners/

<*> To unsubscribe from this group, send an email to:
    ocaml_beginners-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 



[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )