Skip to content

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
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information