Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

camlidl doesnt work with ocaml 3.07 #8443

Closed
vicuna opened this issue Jan 8, 2004 · 3 comments
Closed

camlidl doesnt work with ocaml 3.07 #8443

vicuna opened this issue Jan 8, 2004 · 3 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Jan 8, 2004

Original bug ID: 2031
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Hi,

We've upgraded to ocaml 3.07 from 3.04 and we've noticed that camlidl
does not work with this new version....it raises an exception. We
cannot even just run "camlidl" from the command line with no options.
Is there a known fix or workaround that we can use? Is this a known
problem? Thanks for your time!

  • Byron

PS.....

Here's what we see with 3.07
$ ocaml
Objective Caml version 3.07+2

# ^D
$ camlidl -help
Fatal error: exception Invalid_argument("Filename.chop_extension")
$

Here's what we see with 3.04
$ ocaml
Objective Caml version 3.04

# ^D
$ camlidl -help
Usage: camlidl [options]<.idl file> ... <.idl file>
Options are:

  -I <dir>  Add directory to search path
.
.
.
.
$

Thanks again....

@vicuna
Copy link
Author

vicuna commented Jan 9, 2004

Comment author: administrator

Ah!! Very likely we've forgotten to compile camlidl with 3.07. I'm
fairly sure that this will turn out to be the problem. Thank you very
much!

-----Original Message-----
From: Damien Doligez [mailto:damien.doligez@inria.fr]
Sent: Friday, January 09, 2004 1:52 PM
To: Byron Cook
Cc: caml-bugs@pauillac.inria.fr
Subject: Re: camlidl doesnt work with ocaml 3.07 (#8443)

On Thursday, January 8, 2004, at 09:56 PM,
bycook@windows.microsoft.com
wrote:

We've upgraded to ocaml 3.07 from 3.04 and we've noticed
that camlidl
does not work with this new version....it raises an exception. We
cannot even just run "camlidl" from the command line with
no options.
Is there a known fix or workaround that we can use? Is
this a known
problem? Thanks for your time!

I cannot reproduce this bug on Mac OS X with any combination
of {ocaml/3.07+2, ocaml/CVS} x {camlidl/1.04, camlidl/CVS}.

Can you give us the version number of camlidl and the OS
you're using, and confirm that you have recompiled your
camlidl with ocaml 3.07+2 ?

-- Damien

@vicuna
Copy link
Author

vicuna commented Jan 9, 2004

Comment author: administrator

On Thursday, January 8, 2004, at 09:56 PM, bycook@windows.microsoft.com
wrote:

We've upgraded to ocaml 3.07 from 3.04 and we've noticed that camlidl
does not work with this new version....it raises an exception. We
cannot even just run "camlidl" from the command line with no options.
Is there a known fix or workaround that we can use? Is this a known
problem? Thanks for your time!

I cannot reproduce this bug on Mac OS X with any combination of
{ocaml/3.07+2, ocaml/CVS} x {camlidl/1.04, camlidl/CVS}.

Can you give us the version number of camlidl and the OS you're
using, and confirm that you have recompiled your camlidl with
ocaml 3.07+2 ?

-- Damien

@vicuna
Copy link
Author

vicuna commented Jan 14, 2004

Comment author: administrator

I assume recompiling camlidl fixed the bug. -DD 2004-01-14

@vicuna vicuna closed this as completed Jan 14, 2004
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant