Menu

#1191 No backward compatibilty in wsdl2h.exe in creation of h-file for arrays

v1.0 (example)
closed-fixed
None
5
2018-02-10
2018-01-30
Gian Huber
No

By using wsdl2h.exe V2.8.60 the arrays in the header file have an ending underscore which wasn't created in wsdl2h.exe V2.8.58. We us a code generator for our glue code, so this code doesnt compile anymore

Example difference old:
ns1InstrumentModuleInfo ArrayOfInstrumentModuleInfo 0; ///< Elements.
new code (with underscore at end)
ns1InstrumentModuleInfo ArrayOfInstrumentModuleInfo_ 0; ///< Multiple elements.

1 Attachments

Discussion

  • Mattias Ellert

    Mattias Ellert - 2018-02-01

    This patch restores backward compatibility for me.

     
  • Robert van Engelen

    The problem is that aname() is used for the size and pointer fields, thus in this case creating the second name with a _ which is not needed. The patch is fine. The patch will be part of the upcoming release 2.8.62.

     
  • Robert van Engelen

    • status: open --> open-accepted
    • assigned_to: Robert van Engelen
     
  • Robert van Engelen

    • status: open-accepted --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB