Anonymous | Login | Signup for a new account | 2018-04-27 10:10 CEST | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||
0004963 | OCaml | ~DO NOT USE (was: OCaml general) | public | 2010-01-19 15:02 | 2013-08-31 12:44 | |||
Reporter | glondu | |||||||
Assigned To | lefessan | |||||||
Priority | normal | Severity | minor | Reproducibility | always | |||
Status | closed | Resolution | fixed | |||||
Platform | OS | OS Version | ||||||
Product Version | 3.11.1 | |||||||
Target Version | Fixed in Version | 3.13.0+dev | ||||||
Summary | 0004963: Please add extern "C" declarations (for C++) in installed headers | |||||||
Description | Hello, In most system headers, declarations are surrounded by the following: #ifdef __cplusplus extern "C" { #endif [...] #ifdef __cplusplus } #endif allowing their direct use in C++ code. It would be nice if OCaml did the same. Cheers, -- Stéphane Glondu | |||||||
Additional Information | Bugreport forwarded from: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565894 [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||
|
![]() |
|
(0005945) doligez (administrator) 2011-05-31 16:49 |
Why not include them with this ? extern "C" { #include <caml/foo.h> #include <caml/bar.h> } |
(0006088) glondu (reporter) 2011-08-13 00:27 |
The point is to avoid that. Whether "that" is better or not is a matter of taste, I guess. Maybe you have some arguments against extern "C" in caml headers? |
(0006689) lefessan (developer) 2012-01-16 22:34 |
Fixed in commit r12000 in the trunk. |
![]() |
|||
Date Modified | Username | Field | Change |
2010-01-19 15:02 | glondu | New Issue | |
2011-05-31 16:49 | doligez | Note Added: 0005945 | |
2011-05-31 16:49 | doligez | Status | new => acknowledged |
2011-08-13 00:27 | glondu | Note Added: 0006088 | |
2012-01-06 23:45 | protz | Relationship added | has duplicate 0005467 |
2012-01-16 22:34 | lefessan | Note Added: 0006689 | |
2012-01-16 22:34 | lefessan | Status | acknowledged => resolved |
2012-01-16 22:34 | lefessan | Fixed in Version | => 3.13.0+dev |
2012-01-16 22:34 | lefessan | Resolution | open => fixed |
2012-01-16 22:34 | lefessan | Assigned To | => lefessan |
2013-08-31 12:44 | xleroy | Status | resolved => closed |
2017-02-23 16:36 | doligez | Category | OCaml general => -OCaml general |
2017-03-03 17:55 | doligez | Category | -OCaml general => -(deprecated) general |
2017-03-03 18:01 | doligez | Category | -(deprecated) general => ~deprecated (was: OCaml general) |
2017-03-06 17:04 | doligez | Category | ~deprecated (was: OCaml general) => ~DO NOT USE (was: OCaml general) |
Copyright © 2000 - 2011 MantisBT Group |