Discussion:
[omniORB] Please Help me out (omniidl crash while compiling valuetype )
Gurminder Singh
2007-09-11 10:50:38 UTC
Permalink
Hi All,

Please tell me if you guys are able to compile the below idl example.
I Just want to know if inheritance of valuetype is supported yet.



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);
};
};

Waiting for reply ....
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
I am trying to compile the following idl file which has 2 valuetypes.
[...]
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 --
Duncan Grisby
2007-09-11 12:17:25 UTC
Permalink
Post by Gurminder Singh
Please tell me if you guys are able to compile the below idl example.
I Just want to know if inheritance of valuetype is supported yet.
It compiles fine for me. Inheritance of valuetypes is completely
supported.

What version of omniORB and what platform are you using? What version
of Python is omniidl using? What output do you get if you run omniidl
-bcxx -Wbdebug foo.idl ?

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Tahar Ouhrouche
2007-09-11 13:44:39 UTC
Permalink
Gerry,
I compiled the idl you gave above. I got my .cc and .hh files. However, I
got this error from onmiidl.exe:

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/
I used OmniOrb4.1.0 on Windows XP professional.

Best regards,

Tahar
Post by Duncan Grisby
Post by Gurminder Singh
Please tell me if you guys are able to compile the below idl example.
I Just want to know if inheritance of valuetype is supported yet.
It compiles fine for me. Inheritance of valuetypes is completely
supported.
What version of omniORB and what platform are you using? What version
of Python is omniidl using? What output do you get if you run omniidl
-bcxx -Wbdebug foo.idl ?
Duncan.
--
-- Duncan Grisby --
-- http://www.grisby.org --
_______________________________________________
omniORB-list mailing list
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20070911/6c09e408/attachment.htm
Duncan Grisby
2007-09-11 18:03:48 UTC
Permalink
Post by Tahar Ouhrouche
I compiled the idl you gave above. I got my .cc and .hh files. However, I
omniidl: Fatal error in C++ backend
[...]
Post by Tahar Ouhrouche
I used OmniOrb4.1.0 on Windows XP professional.
OK. The problem is that the omniidl Python code used a construct (a
recursive nested function) that didn't work with the ancient Python
1.5.2 release that's used in Windows binary releases. I've fixed it in
CVS so the function is no longer nested in another one, so now it works.

omniORB 4.1.1 will be released very soon, and will include the fix.

Cheers,

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