On Tuesday 2014-10-14 13:54, Max Suraev wrote:
+++ b/src/bitvector.cpp @@ -27,7 +27,7 @@
#include <bitvector.h> extern "C" { -#include <osmocom/core/talloc.h> +#include <talloc.h> }
Mh, it would be better to avoid having #includes inside extern "C", because you never really know what exactly header files contain. Instead, each .h file wraps the C functions it has in a #ifdef __cplusplus / extern "C" {} / #endif block of its own, just like talloc.h does.