C++ source files need extern "C" to disable C++ name mangling.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 60967 Build 57851: arc lint + arc unit
Event Timeline
Comment Actions
Why do you need this on xo_buf.h, an internal file?
In the FWIW department: It always seems odd that C++ needs decoration in non-C++ files, rather that have this knowledge in compiler command line arguments (e.g. "--c-include /usr/include").
Thanks,
Phil