Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all articles
Browse latest Browse all 52618

Missing extern C

$
0
0
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.

Viewing all articles
Browse latest Browse all 52618

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>