[omniORB] Problem with an IDL file
julien.woillez at free.fr
julien.woillez at free.fr
Wed Oct 20 20:26:05 BST 2004
Test.idl:
module Telemetry {
struct MetaData {
string alpha;
};
interface Server {
Telemetry::MetaData MetaData();
void ConnectSupplier(in Telemetry::MetaData data);
};
};
I cannot compile the obtained C++ file with "Visual C++ 7.1".
------ Build started: Project: Test, Configuration: Release Win32 ------
Deleting intermediate files and output files for project 'Test', configuration
'Release|Win32'.
omniidl: Processing Test.idl
Compiling...
TestSK.cpp
includeTest.h(139) : error C2143: syntax error : missing ',' before '&'
includeTest.h(174) : error C2143: syntax error : missing ',' before '&'
srcTestSK.cpp(224) : error C2664: 'Telemetry::_impl_Server::ConnectSupplier' :
cannot convert parameter 1 from 'const Telemetry::MetaData' to 'const int'
No user-defined-conversion operator available that can perform this
conversion, or the operator cannot be called
srcTestSK.cpp(229) : error C2143: syntax error : missing ',' before '&'
srcTestSK.cpp(232) : error C2059: syntax error : ')'
TestDynSK.cpp
includeTest.h(139) : error C2143: syntax error : missing ',' before '&'
includeTest.h(174) : error C2143: syntax error : missing ',' before '&'
Generating Code...
Build log was saved at "file://c:Documents and
SettingsjwoillezDesktopTestTestReleaseBuildLog.htm"
Test - 7 error(s), 0 warning(s)
------------------------------------------------------------------------------
Is this related to the nested class bug of "Visual C++", or is it a bug from
omniorb?
Regards,
-Julien
More information about the omniORB-list
mailing list