Regarding libsigar:
Only the sigar.h contains a (conditional) extern "C".
Using functions from e.g. sigar_format.h results in undefined references when using in C++.
User can simply surround the include with extern "C" of course, but in my opinion it is the library's job to do this.
Only the sigar.h contains a (conditional) extern "C".
Using functions from e.g. sigar_format.h results in undefined references when using in C++.
User can simply surround the include with extern "C" of course, but in my opinion it is the library's job to do this.