23,121
社区成员
发帖
与我相关
我的任务
分享
stdsoap2.h:1712: error: syntax error before "wchar_t"
stdsoap2.h:1712: warning: no semicolon at end of struct or union
stdsoap2.h:1727: error: syntax error before '}' token
stdsoap2.h:1758: error: syntax error before "wchar_t"
stdsoap2.h:1758: warning: no semicolon at end of struct or union
stdsoap2.h:1785: error: syntax error before '}' token
stdsoap2.h:2407: error: syntax error before '*' token
stdsoap2.h:2407: error: syntax error before '*' token
stdsoap2.h:2407: warning: data definition has no type or storage class
stdsoap2.h:2414: error: syntax error before '*' token
stdsoap2.h:2415: error: syntax error before '*' token
stdsoap2.h:2415: warning: data definition has no type or storage class
stdsoap2.h:2496: error: syntax error before "wchar_t"
stdsoap2.h:2517: error: syntax error before '*' token
stdsoap2.h:2545: error: syntax error before '*' token
stdsoap2.h:2545: error: syntax error before "wchar_t"
stdsoap2.h:2545: warning: data definition has no type or storage class
stdsoap2.h:2546: error: syntax error before '*' token
stdsoap2.h:2546: error: syntax error before "wchar_t"
stdsoap2.h:2546: warning: data definition has no type or storage class
stdsoap2.h:2569: error: syntax error before "wchar_t"
stdsoap2.h:2570: error: syntax error before "wchar_t"
make[1]: *** [soapC.o] Error 1
make[1]: Leaving directory `/home/zhangyuan/svnwork/RS-DEVICE-MODULE/network-module/workspace/onvif_export/src'
make: *** [default] Error 2
1706 #ifndef WITH_LEANER
1707 struct soap_dom_attribute
1708 { struct soap_dom_attribute *next;
1709 const char *nstr;
1710 char *name;
1711 char *data;
1712 wchar_t *wide;
1713 struct soap *soap;
1714 #ifdef __cplusplus
1715 typedef soap_dom_attribute_iterator iterator;
1716 struct soap_dom_attribute &set(const char *nstr, const char *name); /* set namespace and name */
1717 struct soap_dom_attribute &set(const char *data); /* set data */
1718 soap_dom_attribute_iterator begin();
1719 soap_dom_attribute_iterator end();
1720 soap_dom_attribute_iterator find(const char *nstr, const char *name);
1721 void unlink();
1722 soap_dom_attribute();
1723 soap_dom_attribute(struct soap *soap);
1724 soap_dom_attribute(struct soap *soap, const char *nstr, const char *name, const char *data);
1725 ~soap_dom_attribute();
1726 #endif
1727 };
这里的wchar_t 就保错了, 其他用到wchar_t都报错的