Skip to content

Commit 0cd17d5

Browse files
committed
Silence warnings in prims.c.
1 parent 4f90dac commit 0cd17d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ocaml/runtime4/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ prims.c : primitives
234234
(echo '#define CAML_INTERNALS'; \
235235
echo '#include "caml/mlvalues.h"'; \
236236
echo '#include "caml/prims.h"'; \
237+
echo '#pragma GCC diagnostic ignored "-Wdeprecated-non-prototype"'; \
237238
sed -e 's/.*/extern value &();/' primitives; \
238239
echo 'c_primitive caml_builtin_cprim[] = {'; \
239240
sed -e 's/.*/ &,/' primitives; \

0 commit comments

Comments
 (0)