Skip to content

Will the following commands cause an error? #28

@wexbyte

Description

@wexbyte

COMMAND ${Gsoap_soapcpp2_PATH} -Ed -Ec -c++11 -z4 -a -j -L -x -n -d ${CMAKE_CURRENT_SOURCE_DIR}/generated -I ${GSOAP_DIRS} generated.h
Based on the generated.h file, when executing the soapcpp2 command to generate more files, will there be no errors? For example:
soapcpp2 -Ed -Ec -c++11 -z4 -a -j -L -x -n -d ./generated -I ./gsoap/:./gsoap/import/:./gsoap/custom/:./gsoap/plugin/ generated.h

** The gSOAP code generator for C and C++, soapcpp2 release 2.8.138
** Copyright (C) 2000-2025 Genivia Inc. All Rights Reserved.
** The soapcpp2 tool and its generated software are released under the GPL.
** ----------------------------------------------------------------------------
** A commercial use license is available from Genivia Inc., contact@genivia.com
** ----------------------------------------------------------------------------

qdatetime.h(74): WARNING: invalid type specified (missing ';' or type name used as non-type identifier?)

generated.h(326): ERROR: class 'SOAP_ENV__Envelope' already declared at generated.h:280 (redundant 'class' specifier here?)

generated.h(92724): ERROR: faultcode member missing in SOAP_ENV__Fault declared at wsa5.h:290

generated.h(92724): ERROR: faultstring member missing in SOAP_ENV__Fault declared at wsa5.h:290

generated.h(92724): ERROR: SOAP_ENV__Code member missing in SOAP_ENV__Fault declared at wsa5.h:290

generated.h(92724): ERROR: SOAP_ENV__Reason member missing in SOAP_ENV__Fault declared at wsa5.h:290

generated.h(92724): ERROR: SOAP_ENV__Node member missing in SOAP_ENV__Fault declared at wsa5.h:290

generated.h(92724): ERROR: SOAP_ENV__Role member missing in SOAP_ENV__Fault declared at wsa5.h:290

Using project directory path: ./generated/
Saving ./generated/soapStub.h annotated copy of the source interface header file
Saving ./generated/soapH.h serialization functions to #include in projects
段错误 (核心已转储)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions