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 + name clash of targets #2456

Closed
vicuna opened this issue May 16, 2000 · 1 comment
Closed

camlidl + name clash of targets #2456

vicuna opened this issue May 16, 2000 · 1 comment

Comments

@vicuna
Copy link

vicuna commented May 16, 2000

Original bug ID: 114
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: -for CamlIDL use https://github.com/xavierleroy/camlidl/issues

Bug description

Hello,

this problem already exists for some time, but it is not too difficult to
work around it:

"camlidl" generates files "%.c" and "%.ml" from "%.idl", but this is not
such a good idea, because when generating native code, both "%.c" and
"%.ml" would generate a file "%.o", i.e. the targets would overwrite each
other.

The workaround is to rename the C-file before compiling it. This could
easily be done by "camlidl" by using a standard suffix, e.g. something like
"_idl.c"

Best regards,
Markus Mottl

--
Markus Mottl, mottl@miss.wu-wien.ac.at, http://miss.wu-wien.ac.at/~mottl

@vicuna
Copy link
Author

vicuna commented Apr 19, 2002

Comment author: administrator

Fixed 2002-04-19 by XL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant