Implicit declaration of memcpy#8
Merged
Merged
Conversation
ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Contributor
Author
|
CI passes based on tmcgilchrist#1 |
dhil
added a commit
to dhil/opam-repository
that referenced
this pull request
May 14, 2024
CHANGES: This release restores compatibility with macOS (14.4.1) when using clang 15 or greater. Changes: * Patch dhil/ocaml-multicont#8: Explicit declaration of `memcpy` to fix compilation error when using clang on macOS (thanks to @tmcgilchrist). * Fixed a regression where enabling feature flag `UNIQUE_FIBERS` caused compilation to fail. * Spring cleaning: Removed unused header imports. * Added an example illustrating how to use the power of multishot continuation to simulate the `return` operator (e.g. as found in C/C++/Rust/etc) using a single handler.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
This was failing on macOS (14.4.1) with Apple clang version 15.0.0 (clang-1500.3.9.4).