Quantcast
Channel:
Viewing all articles
Browse latest Browse all 43798

Wiki Page: IDL2CPP generates C++ source file that cannot be compiled

$
0
0
Problem: Product Name : VisiBroker for C++ Product Version : 7.0 Service Pack Level 2 or earlier Product Component : idl2cpp Platform/OS : All   IDL2CPP generates C++ source file that cannot be compiled. Consider the following declaration in sample1.idl: typedef sequence GroupNumbers; If sample1.idl has a function with return type of GroupNumbers, the idl2cpp compiler will generates a .cc file that cannot be compiled to obtain an object file. The error is: `_VISanon_seq_0_string_ptr" is not a member of `mcx::dbdrvi::XXXX" The return type would be CORBA::StringSequence* _ret = (::mcx::dbdrvi::HuntSite::_VISanon_seq_0_string_ptr) NULL; Resolution: A defect CR 9343 is raised and the resolution is incorporated in service pack level 3 releases of the VisiBroker 7.0. The fix would provide valid typecast for the function in the .cc file generated. The correct generated source should be as follows: ::CORBA::StringSequence* _ret = (::CORBA::StringSequence*) NULL;  

Viewing all articles
Browse latest Browse all 43798

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>