Hi
I convert an existing project with gSOAP from Visual Studio 2003 to Visual
Studio 2005. I use the current gSoap version 2.7.10.
- Generate the header file from a wsdl file using wsdl2h -o
CPSServer.h CPSServer.wsdl CPSServerCBP.wsdl CPSServerRedSys.wsdl
- Generate the header and source files form CPSServer.h using
soapcpp2.exe -d $(InputDir) -L -C -x -I C:\Programme\gsoap-2.7
\gsoap\import\ "$(InputPath)"
- Compile and link my application
This works fine with Visual 2003, but in 2005 I have an assertion
ITERATOR LIST CORRUPTED. Seems that Visual 2005 makes a test from the
lists or vectors. I suppose, my list is empty and the begin-method gives
this
assertion. The applicatiuon seems to work, but I have a lot of this
assertions!
- What can I do?
- Do I have to set other options in my project or for wsdl2h or
soapcpp2?
- Can I disable this assertion?
I found the defines _HAS_ITERATOR_DEBUGGING=0 and _SECURE_SCL=0. But I can't
implement this defines in my source files, because the files are generated
during the compiling. Can I define it in my project settings?
Thanks
Hans
David Lowndes - 20 May 2008 12:25 GMT
>This works fine with Visual 2003, but in 2005 I have an assertion
>ITERATOR LIST CORRUPTED. Seems that Visual 2005 makes a test from the
[quoted text clipped - 10 lines]
>implement this defines in my source files, because the files are generated
>during the compiling. Can I define it in my project settings?
Hans,
Yes, you can add those definitions to your project preprocessor
settings - but it'd be good to be sure you're not sweeping a potential
issue under the carpet before you do that.
Dave