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

extern "C" for systhreads/threads.h #6573

vicuna opened this issue Sep 22, 2014 · 1 comment


None yet
1 participant
Copy link

commented Sep 22, 2014

Original bug ID: 6573
Reporter: mdelahaye
Status: closed (set by @damiendoligez on 2015-01-20T19:42:05Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 4.02.0+beta1 / +rc1
Target version: 4.02.2+dev / +rc1
Fixed in version: 4.02.2+dev / +rc1
Category: otherlibs

Bug description

As pointed out in previous bug reports #4963 and #5467, public C headers should be protected with extern "C" { ... } for use in C++. With OCaml 4.0.0, it has been done, except for the less-used threads.h

Mickaël Delahaye

Additional information

OCaml 4.0.0 changelog says: "#4963, #5467: no extern "C" into ocaml C-stub headers"


This comment has been minimized.

Copy link

commented Jan 20, 2015

Comment author: @damiendoligez

Fixed in 4.02 (rev 15787) and trunk (rev 15788).

@vicuna vicuna closed this Jan 20, 2015

@vicuna vicuna added the otherlibs label Mar 14, 2019

@vicuna vicuna added this to the 4.02.2 milestone Mar 14, 2019

@vicuna vicuna added the bug label Mar 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.