[BRLTTY] Patch: support for OCaml-4.04

Dave Mielke dave at mielke.cc
Tue Nov 8 10:52:37 EST 2016


[quoted lines by Jaroslav Skarvada on 2016/11/08 at 07:58 -0500]

>it seems that brltty-5.4 doesn't compile with OCaml-4.04.
>Tthe code uses CAMLlocal without calling CAMLparam which is against
>current OCaml documentation. More details in Fedora bug [1]. Attached
>patch should fix the problem

This gives me the following two warnings. How can they be resolved?

./brlapi_stubs.c: In function ‘raise_brlapi_error’:
./brlapi_stubs.c:147:29: warning: unused variable ‘caml__frame’ [-Wunused-variable]
./brlapi_stubs.c: In function ‘raise_brlapi_exception’:
./brlapi_stubs.c:161:29: warning: unused variable ‘caml__frame’ [-Wunused-variable]

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
EMail: Dave at Mielke.cc | Canada  K2A 1H7   | http://FamilyRadio.org/


More information about the BRLTTY mailing list