On Sat, May 09, 2015 at 07:53:29PM +0000, Bruno Albuquerque wrote:
> I have this C header file that includes another header file that includes
> <map> and <vector>. I do not use either directly, but CGO does not even let
> me compile the code as it can not find <map>.
Don't include C++ headers in C code? This seems broken. Otherwise you're
actually dealing with C++ code and need to use a C++ compiler. If you're
sure the library provides the functions you want (and does so with C
linkage) you could just write a matching header file yourself and feed
that to cgo.
What is it that you want to call?