Skip to content

Commit 7ae21d9

Browse files
Bump to gsoap 2.8.140
Fix few warnings
1 parent 7ac877d commit 7ae21d9

18 files changed

+5186
-14614
lines changed

src/proxies/envC.cpp

Lines changed: 13 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* envC.cpp
2-
Generated by gSOAP 2.8.139E for env.h
2+
Generated by gSOAP 2.8.140E for env.h
33
44
gSOAP XML Web services tools
5-
Copyright (C) 2000-2025, Robert van Engelen, Genivia Inc. All Rights Reserved.
5+
Copyright (C) 2000-2026, Robert van Engelen, Genivia Inc. All Rights Reserved.
66
The soapcpp2 tool is licensed for commercial use and protected by law.
77
** REDISTRIBUTION, RESALE OR ANY OTHER FORM OF SHARING IS STRICTLY PROHIBITED.
88
--------------------------------------------------------------------------------
@@ -17,7 +17,7 @@ Product and source code licensed by Genivia Inc., contact@genivia.com
1717

1818
#include "envH.h"
1919

20-
SOAP_SOURCE_STAMP("@(#) envC.cpp ver 2.8.139E 2025-09-19 16:13:39 GMT")
20+
SOAP_SOURCE_STAMP("@(#) envC.cpp ver 2.8.140E 2026-02-16 09:13:49 GMT")
2121

2222

2323
#ifndef WITH_NOGLOBAL
@@ -727,7 +727,7 @@ SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 env_instantiate_SOAP_ENV__Fault(s
727727
(void)type; (void)arrayType; /* appease -Wall -Werror */
728728
struct SOAP_ENV__Fault *p;
729729
size_t k = sizeof(struct SOAP_ENV__Fault);
730-
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_SOAP_ENV__Fault, n, env_fdelete);
730+
struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_SOAP_ENV__Fault, n, env_fdelete);
731731
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
732732
return NULL;
733733
if (n < 0)
@@ -737,13 +737,9 @@ SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 env_instantiate_SOAP_ENV__Fault(s
737737
{ p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Fault, n);
738738
k *= n;
739739
}
740-
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Fault location=%p n=%d\n", (void*)p, n));
741740
if (size)
742741
*size = k;
743-
if (!p)
744-
soap->error = SOAP_EOM;
745-
else if (cp)
746-
cp->ptr = (void*)p;
742+
soap_set_link(soap, cp, p);
747743
return p;
748744
}
749745

@@ -836,7 +832,7 @@ SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 env_instantiate_SOAP_ENV__Reason
836832
(void)type; (void)arrayType; /* appease -Wall -Werror */
837833
struct SOAP_ENV__Reason *p;
838834
size_t k = sizeof(struct SOAP_ENV__Reason);
839-
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_SOAP_ENV__Reason, n, env_fdelete);
835+
struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_SOAP_ENV__Reason, n, env_fdelete);
840836
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
841837
return NULL;
842838
if (n < 0)
@@ -846,13 +842,9 @@ SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 env_instantiate_SOAP_ENV__Reason
846842
{ p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Reason, n);
847843
k *= n;
848844
}
849-
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Reason location=%p n=%d\n", (void*)p, n));
850845
if (size)
851846
*size = k;
852-
if (!p)
853-
soap->error = SOAP_EOM;
854-
else if (cp)
855-
cp->ptr = (void*)p;
847+
soap_set_link(soap, cp, p);
856848
return p;
857849
}
858850

@@ -954,7 +946,7 @@ SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 env_instantiate_SOAP_ENV__Detail
954946
(void)type; (void)arrayType; /* appease -Wall -Werror */
955947
struct SOAP_ENV__Detail *p;
956948
size_t k = sizeof(struct SOAP_ENV__Detail);
957-
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_SOAP_ENV__Detail, n, env_fdelete);
949+
struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_SOAP_ENV__Detail, n, env_fdelete);
958950
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
959951
return NULL;
960952
if (n < 0)
@@ -964,13 +956,9 @@ SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 env_instantiate_SOAP_ENV__Detail
964956
{ p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Detail, n);
965957
k *= n;
966958
}
967-
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Detail location=%p n=%d\n", (void*)p, n));
968959
if (size)
969960
*size = k;
970-
if (!p)
971-
soap->error = SOAP_EOM;
972-
else if (cp)
973-
cp->ptr = (void*)p;
961+
soap_set_link(soap, cp, p);
974962
return p;
975963
}
976964

@@ -1074,7 +1062,7 @@ SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 env_instantiate_SOAP_ENV__Code(str
10741062
(void)type; (void)arrayType; /* appease -Wall -Werror */
10751063
struct SOAP_ENV__Code *p;
10761064
size_t k = sizeof(struct SOAP_ENV__Code);
1077-
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_SOAP_ENV__Code, n, env_fdelete);
1065+
struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_SOAP_ENV__Code, n, env_fdelete);
10781066
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
10791067
return NULL;
10801068
if (n < 0)
@@ -1084,13 +1072,9 @@ SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 env_instantiate_SOAP_ENV__Code(str
10841072
{ p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Code, n);
10851073
k *= n;
10861074
}
1087-
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Code location=%p n=%d\n", (void*)p, n));
10881075
if (size)
10891076
*size = k;
1090-
if (!p)
1091-
soap->error = SOAP_EOM;
1092-
else if (cp)
1093-
cp->ptr = (void*)p;
1077+
soap_set_link(soap, cp, p);
10941078
return p;
10951079
}
10961080

@@ -1170,7 +1154,7 @@ SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 env_instantiate_SOAP_ENV__Header
11701154
(void)type; (void)arrayType; /* appease -Wall -Werror */
11711155
struct SOAP_ENV__Header *p;
11721156
size_t k = sizeof(struct SOAP_ENV__Header);
1173-
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_SOAP_ENV__Header, n, env_fdelete);
1157+
struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_SOAP_ENV__Header, n, env_fdelete);
11741158
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
11751159
return NULL;
11761160
if (n < 0)
@@ -1180,13 +1164,9 @@ SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 env_instantiate_SOAP_ENV__Header
11801164
{ p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Header, n);
11811165
k *= n;
11821166
}
1183-
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Header location=%p n=%d\n", (void*)p, n));
11841167
if (size)
11851168
*size = k;
1186-
if (!p)
1187-
soap->error = SOAP_EOM;
1188-
else if (cp)
1189-
cp->ptr = (void*)p;
1169+
soap_set_link(soap, cp, p);
11901170
return p;
11911171
}
11921172

src/proxies/envH.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* envH.h
2-
Generated by gSOAP 2.8.139E for env.h
2+
Generated by gSOAP 2.8.140E for env.h
33
44
gSOAP XML Web services tools
5-
Copyright (C) 2000-2025, Robert van Engelen, Genivia Inc. All Rights Reserved.
5+
Copyright (C) 2000-2026, Robert van Engelen, Genivia Inc. All Rights Reserved.
66
The soapcpp2 tool is licensed for commercial use and protected by law.
77
** REDISTRIBUTION, RESALE OR ANY OTHER FORM OF SHARING IS STRICTLY PROHIBITED.
88
--------------------------------------------------------------------------------

src/proxies/envStub.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* envStub.h
2-
Generated by gSOAP 2.8.139E for env.h
2+
Generated by gSOAP 2.8.140E for env.h
33
44
gSOAP XML Web services tools
5-
Copyright (C) 2000-2025, Robert van Engelen, Genivia Inc. All Rights Reserved.
5+
Copyright (C) 2000-2026, Robert van Engelen, Genivia Inc. All Rights Reserved.
66
The soapcpp2 tool is licensed for commercial use and protected by law.
77
** REDISTRIBUTION, RESALE OR ANY OTHER FORM OF SHARING IS STRICTLY PROHIBITED.
88
--------------------------------------------------------------------------------
@@ -14,8 +14,8 @@ Product and source code licensed by Genivia Inc., contact@genivia.com
1414
#ifndef envStub_H
1515
#define envStub_H
1616
#include "stdsoap2.h"
17-
#if GSOAP_VERSION != 208139
18-
# error "GSOAP VERSION 208139 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
17+
#if GSOAP_VERSION != 208140
18+
# error "GSOAP VERSION 208140 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
1919
#endif
2020

2121

0 commit comments

Comments
 (0)