You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by huagang <hu...@aero-info.com.cn> on 2005/05/26 02:35:15 UTC
help, Build Axis with C++ Builder, compiler cannon compile C++ structure in C-style
hi
I have constructed C++ Builder 's project file AxisClientDLL.bpr from VC Project file AxisClientDLL.dsp.When I build my project I got some error like:
[C++ Error] _mbstate.h(40): E2132 Templates and overloaded operators cannot have C linkage
http://www.email-lists.org/pipermail/ptx/2003-May/000179.html told me that I should change the code like this
extern "C" {
#include "hg.h"
int hg(){
return 1;
}
}
to
#include "hg.h"
extern "C" {
int hg(){
return 1;
}
}
I change the code as he told,but have no effect.
AEROSPACE INFORMATION CO., LTD.
virus-free and secure email