I'm trying to use AspectC++ in a project that uses gSOAP.<br>After generate source code with gSOAP (using wsdl files), I include one of the .h files generated in my own .h file:<br><br>#include "soap/wdt/src/soapnorthBoundFullServiceSoapBindingProxy.h"<br>
<br>When I run ac++. I got the following error:<br><br><typeinfo>:2: error: invalid member declaration near token `<'<br><typeinfo>:2: located in the following non-file unit:<br>public:<br> typedef AC::TL<char *,AC::TL<char *,AC::TL<char *,AC::TL<char *,AC::TL<char *,AC::TL<char *,AC::TL<char *,AC::TL<char *,AC::TL<char *,AC::TL<soap *,AC::TLE > > > > > > > > > > __AttrTypes;<br>
const char *__attr_name (unsigned i) const {<br> static const char *names[] = { "name", "severity", "description", "type", "code", "reason", "repair", "location", "faultTime", "soap" }; return names[i];<br>
}<br> void *__attr (unsigned __i) const {<br> switch (__i) { case 0: return (void*)&name; case 1: return (void*)&severity; case 2: return (void*)&description; case 3: return (void*)&type; case 4: return (void*)&code; case 5: return (void*)&reason; case 6: return (void*)&repair; case 7: return (void*)&location; case 8: return (void*)&faultTime; case 9: return (void*)&soap; default: return 0; }<br>
}<br><br>If I remove the .h file from the includes, it works.<br><br>Why AspectC++ can't work with source code generated by gSOAP?<br clear="all"><br>-- <br>_____________________________________________<br><br> Leandro Souza Costa<br>
<br>"A vitória se encastela em jardins encantadores,<br> mas para se chegar a ela não há caminho de flores"<br>_____________________________________________<br>