You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 4963 Reporter:@glondu Assigned to:@lefessan Status: closed (set by @xavierleroy on 2013-08-31T10:44:17Z) Resolution: fixed Priority: normal Severity: minor Version: 3.11.1 Fixed in version: 3.13.0+dev Category: ~DO NOT USE (was: OCaml general) Has duplicate:#5467 Monitored by: mehdi @ygrek till smimram
Bug 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.
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?
Original bug ID: 4963
Reporter: @glondu
Assigned to: @lefessan
Status: closed (set by @xavierleroy on 2013-08-31T10:44:17Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.11.1
Fixed in version: 3.13.0+dev
Category: ~DO NOT USE (was: OCaml general)
Has duplicate: #5467
Monitored by: mehdi @ygrek till smimram
Bug 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
The text was updated successfully, but these errors were encountered: