| Anonymous | Login | Signup for a new account | 2013-05-22 23:45 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 | OCaml general | public | 2010-01-19 15:02 | 2012-01-16 22:34 | |||||||
| Reporter | glondu | |||||||||||
| Assigned To | lefessan | |||||||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||||||
| Status | resolved | 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 | ||||||||||||
Notes |
|
|
(0005945) doligez (manager) 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. |
Issue History |
|||
| 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 |
| Copyright © 2000 - 2011 MantisBT Group |