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

camlimages - compilation problem #3250

Closed
vicuna opened this issue Mar 8, 2002 · 2 comments
Closed

camlimages - compilation problem #3250

vicuna opened this issue Mar 8, 2002 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Mar 8, 2002

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

Bug description

Hello,

I wasn't sure whether this list is the right one to write to. There
is a compilation problem with file "camlimages-2.00/jpeg/jpegwriter.c"
on my machine:

ocamlc -ccopt "-I .. -I /usr/local/include" -c jpegwrite.c
jpegwrite.c:48: parse error before `jmp_buf'
jpegwrite.c:48: warning: no semicolon at end of struct or union
...

This can be quickly fixed by adding the following line after inclusion
of <stdio.h> (line 27):

#include <setjmp.h>

Regards,
Markus Mottl

--
Markus Mottl markus@oefai.at
Austrian Research Institute
for Artificial Intelligence http://www.oefai.at/~markus

@vicuna
Copy link
Author

vicuna commented Mar 8, 2002

Comment author: administrator

ocamlc -ccopt "-I .. -I /usr/local/include" -c jpegwrite.c
jpegwrite.c:48: parse error before `jmp_buf'
jpegwrite.c:48: warning: no semicolon at end of struct or union
...

This can be quickly fixed by adding the following line after inclusion
of <stdio.h> (line 27):

#include <setjmp.h>

Your fix is incorporated to the developement version of camlimages.
Thank you.

--
Jun

@vicuna
Copy link
Author

vicuna commented Jun 3, 2002

Comment author: administrator

Fixed by Jun on 2002-03

@vicuna vicuna closed this as completed Jun 3, 2002
@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