In file included from pwiz_swigbindings_wrap.cxx:745:0: /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/XSUB.h:126:39: error: reference to ‘CV’ is ambiguous #define XSPROTO(name) void name(pTHX_ CV* cv) ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/XSUB.h:145:44: note: in expansion of macro ‘XSPROTO’ # define XS_EXTERNAL(name) extern "C" XSPROTO(name) ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/XSUB.h:156:18: note: in expansion of macro ‘XS_EXTERNAL’ #define XS(name) XS_EXTERNAL(name) ^ pwiz_swigbindings_wrap.cxx:2149:1: note: in expansion of macro ‘XS’ XS(_wrap_new_vectord__SWIG_0) { ^ In file included from pwiz_swigbindings_wrap.cxx:744:0: /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:2317:19: note: candidates are: typedef struct cv CV typedef struct cv CV; ^ In file included from pwiz_swigbindings_wrap.cxx:1862:0: ../../../data/common/cv.hpp:12996:22: note: struct pwiz::cv::CV struct PWIZ_API_DECL CV ^ In file included from pwiz_swigbindings_wrap.cxx:745:0: /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/XSUB.h:126:39: error: ‘CV’ has not been declared #define XSPROTO(name) void name(pTHX_ CV* cv) ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/XSUB.h:145:44: note: in expansion of macro ‘XSPROTO’ # define XS_EXTERNAL(name) extern "C" XSPROTO(name) ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/XSUB.h:156:18: note: in expansion of macro ‘XS_EXTERNAL’ #define XS(name) XS_EXTERNAL(name) ^ pwiz_swigbindings_wrap.cxx:2149:1: note: in expansion of macro ‘XS’ XS(_wrap_new_vectord__SWIG_0) { ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/XSUB.h:126:39: error: reference to ‘CV’ is ambiguous #define XSPROTO(name) void name(pTHX_ CV* cv) ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/XSUB.h:145:44: note: in expansion of macro ‘XSPROTO’ # define XS_EXTERNAL(name) extern "C" XSPROTO(name) ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/XSUB.h:156:18: note: in expansion of macro ‘XS_EXTERNAL’ #define XS(name) XS_EXTERNAL(name) ^ pwiz_swigbindings_wrap.cxx:2177:1: note: in expansion of macro ‘XS’ XS(_wrap_new_vectord__SWIG_1) { ^ In file included from pwiz_swigbindings_wrap.cxx:744:0: /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:2317:19: note: candidates are: typedef struct cv CV typedef struct cv CV;