Skip to content

Commit

Permalink
Implicit declaration of memcpy (#8)
Browse files Browse the repository at this point in the history
* Implicit declaration of memcpy

ISO C99 and later do not support implicit function declarations
[-Wimplicit-function-declaration]

* Update OCaml 5.1 version and add macos ARM64 builds
  • Loading branch information
tmcgilchrist committed Apr 27, 2024
1 parent 3d1286a commit 1e83cbc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,16 @@ jobs:
matrix:
os:
- ubuntu-22.04
- macos-14
ocaml-compiler:
- 5.1.0
- 5.1.1
- ocaml-variants.5.2.0+trunk

runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
Expand Down
2 changes: 2 additions & 0 deletions lib/multicont_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#include <caml/misc.h> // provides [CAMLnoalloc] macro
#include <caml/version.h> // provides OCaml versioning macros

#include <string.h>

#ifdef NATIVE_CODE
#include <caml/stack.h>
#include <caml/frame_descriptors.h>
Expand Down

0 comments on commit 1e83cbc

Please sign in to comment.