Discussion:
[omniORB] omniidl crash while compiling valuetype
Gurminder Singh
2007-09-07 13:32:18 UTC
Permalink
Hi All,



I am trying to compile the following idl file which has 2 valuetypes.





Test.idl





valuetype testval

{

private long idtype;

};



valuetype AdditionalItemsElement {



private long additionalItemsType;

factory create__( );

factory create__long(

in long arg0 );



};





The omniversion is omniORB4.1.0. omniidl compiler gives the following
errors. What i think is inheritance in valuetype is causing the problem.


Here is the env details.

Platfrom is window xp

Compiler is cl8 visual studio 2005.



This is the Error



omniidl: Fatal error in C++ backend

omniidl:

omniidl: An internal exception was caught



For more information (mailing list archives, bug reports etc.) please
visit

the webpage:



http://omniorb.sourceforge.net/



Please tell me if inheritance in valuetype is supported in this version.




Thanks

Gerry



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20070907/82e84c9b/attachment.htm
Duncan Grisby
2007-09-07 22:53:53 UTC
Permalink
Post by Gurminder Singh
I am trying to compile the following idl file which has 2 valuetypes.
[...]
Post by Gurminder Singh
The omniversion is omniORB4.1.0. omniidl compiler gives the following
errors. What i think is inheritance in valuetype is causing the problem.
The IDL compiles fine for me. And there isn't any inheritance in what
you posted. Are you sure that's the IDL that causes a problem?

One reply will be sufficient ;-)

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Gurminder Singh
2007-09-10 11:17:15 UTC
Permalink
Hi Duncan,

Thanks for reply. Following is idl that gives crash.


module ValueTest {
valuetype One {
public string s;
public long l;
};

valuetype Two : One{

public string name;
};

interface Test {
One op1(in One a, in Two b);
};
};


Thanks a lot
gerry
-----Original Message-----
From: Duncan Grisby [mailto:***@grisby.org]
Sent: Friday, September 07, 2007 10:23 PM
To: Gurminder Singh
Cc: omniorb-***@omniorb-support.com
Subject: Re: [omniORB] omniidl crash while compiling valuetype
Post by Gurminder Singh
I am trying to compile the following idl file which has 2 valuetypes.
[...]
Post by Gurminder Singh
The omniversion is omniORB4.1.0. omniidl compiler gives the following
errors. What i think is inheritance in valuetype is causing the
problem.

The IDL compiles fine for me. And there isn't any inheritance in what
you posted. Are you sure that's the IDL that causes a problem?

One reply will be sufficient ;-)

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Loading...