Include Files Not C++-Friendly
The include files for Rts etc. are not C++-friendly.
Found:
Functions won't link correctly from C++, because C++ mangles the names.
Expected:
Function declarations should be surrounded by extern "C" guards:
#ifdef __cplusplus
extern "C" {
#endif
...
#ifdef __cplusplus
}
#endif
Trac metadata
Trac field |
Value |
Version |
5.02 |
Type |
Bug |
TypeOfFailure |
OtherFailure |
Priority |
normal |
Resolution |
ResolvedFixed |
Component |
Compiler (FFI) |
Test case |
|
Differential revisions |
|
BlockedBy |
|
Related |
|
Blocking |
|
CC |
|
Operating system |
|
Architecture |
|