[omniORB] omniidl and Sequences

Lindsey, Christopher Chris.Lindsey at saabusa.com
Fri Mar 13 16:48:11 GMT 2015


Hi All,

I am using omniidl in omniORB4.2.0 to convert .idl files to .c files for use with Wireshark using the wireshark_be. One problem that I am experience is when I have an .idl that defines a sequence within a sequence, such as the example below. Omniidl converts the .idl file to .c but the resulting C code is missing declaration for testData and Wireshark fails to compile. I can manually add the declaration to the .C file and Wireshark compiles so I know it is a problem with omniidl.

Any help would be appreciated.


module iddMessages
{

typedef sequence <float, 12> a;
typedef sequence <a> b;
typedef sequence <b, 5> testAttenuation;

    struct test
    {
                testAttenuation testData;
    };
};
This message is intended only for the addressee and may contain information that is company confidential or privileged. Any technical data in this message may be exported only in accordance with the U.S. International Traffic in Arms Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15 CFR Parts 730-774). Unauthorized use is strictly prohibited and may be unlawful. If you are not the intended recipient, or the person responsible for delivering to the intended recipient, you should not read, copy, disclose or otherwise use this message. If you have received this email in error, please delete it, and advise the sender immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20150313/288de8fc/attachment.html>


More information about the omniORB-list mailing list