I have read
- When to use extern "C" in C++?
- In C++ source, what is the effect of extern "C"?
- Why do we need extern "C"{ #include <foo.h> } in C++?
However, one question that I have not found an answer to: are there (potentially, future) disadvantages to using extern "C"
(e.g., on as many functions as possible)?
To be more specific: Is there any disadvantage in adding extern "C"
to functions whose interface only use C functionality; in other words, those that do not use the features listed in @k-five's answer?