Hello Yaakov

> It is difficult.  Most of the relevant code in libbonobo is generated
> by the idl compiler, so this compiler needs to generate valid code.
> I try to figure out where to change it. 

I have changed two things in ORBit:

1. enable build of a running compiler on Cygwin, removed const in one
struct in file src/idl-compiler/orbit-idl-main.c.
2. changed the parts code is generated, affected files:
include/orbit/orb-core/corba-orb-type.h
include/orbit/orb-core/corba-typecode.h
src/idl-compiler/orbit-idl-c-headers.c
src/idl-compiler/orbit-idl-c-typecode.c
src/orb/orb-core/corba-typecode.c

With these changes I was able to build executables from the libbonobo
package which is running, however, I cannot say if it is also
working;)

The patch is attached, could you please try and see if it still
generates valid code?


Gerrit
-- 
=^..^=

Attachment: ORBit2-2.12.0-gerrit.patch
Description: Binary data

Reply via email to