[omniORB] omniidl2 compiler bug ????? in omniORB2.6.0

Ralf Walther rw@neurotec.de
Tue, 20 Oct 1998 19:22:58 +0200


This is a multi-part message in MIME format.
--------------8A7358CD8956FECADEA7F768
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi CORBAholics,

it's me again and I have found a strange behaviour of the idl compiler
in omniORB 2.6.0.
It was possible to reduce my very complex idl files to an example which
shows following
error while compile time:

omniidl2: "/tmp/idli_a05314.cc", line 16: error in lookup of symbol:
MyException
omniidl2: Main.idl: found 1 error

This error indicates that the include statement doesn't work. Some
changes to the code
leave to a complete compilation (all changes to Main.idl)

If I delete the comment in the first line -> it works
If I delete the comment only, leaving two lines before the #ifndef -> it
doesn't work
If I insert a comment line "// abcdefg" between #define and first
#include -> it works

I think it's very very very strange. Does anybody be able to reconstruct
this error with his
2.6 idl compiler? If yes it could be a bug (one have to be careful with
such a statement right?)
If no, it could help us to find hints for the error source

Best regards

Ralf Walther


-----------------------------
Neurotec Hochtechnologie GmbH
Intelligente Systeme
Ralf Walther
Ehlerstrasse 15
D-88046 Friedrichshafen

Tel:   (+49) 7541 / 3012-153
Fax:   (+49) 7541 / 33013
Email: rw@neurotec.de
URL:   http://www.neurotec.de

--------------8A7358CD8956FECADEA7F768
Content-Type: application/x-unknown-content-type-idl_auto_file; name="SubA.idl"
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="SubA.idl"

Ly8gdGVzdCBmaWxlIGZvciBpZGwgY29tcGlsZXIgYnVnDQoNCiNpZm5kZWYgX19TVUJBDQoj
ZGVmaW5lIF9fU1VCQQ0KDQoNCi8vICoqKiBTSU5HTEUgRVhDRVBUSU9OIENMQVNTICAgKioq
DQpleGNlcHRpb24gTXlFeGNlcHRpb24geyBzaG9ydCBjb2RlOyB9Ow0KDQoNCiNlbmRpZg0K

--------------8A7358CD8956FECADEA7F768
Content-Type: application/x-unknown-content-type-idl_auto_file; name="Main.idl"
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="Main.idl"

Ly8gdGVzdCBjb21tZW50DQoNCiNpZm5kZWYgX19NQUlODQojZGVmaW5lIF9fTUFJTg0KDQoN
CiNpbmNsdWRlICJTdWJBLmlkbCINCg0KI2luY2x1ZGUgIlN1YkIuaWRsIg0KDQoNCmludGVy
ZmFjZSBNYWluX0ludGVyZmFjZSB7DQoNCiAgIFN0cmluZ0xpc3RfSW50ZXJmYWNlIGdldEl0
ICgpOw0KDQogICBsb25nIGdldGxvbmcgKCkgcmFpc2VzIChNeUV4Y2VwdGlvbik7DQoNCn07
DQoNCg0KI2VuZGlmDQo=
--------------8A7358CD8956FECADEA7F768
Content-Type: application/x-unknown-content-type-idl_auto_file; name="SubB.idl"
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="SubB.idl"

I2lmbmRlZiBfX1NVQkINCiNkZWZpbmUgX19TVUJCDQoNCnR5cGVkZWYgc2VxdWVuY2U8c3Ry
aW5nPiBTdHJpbmdMaXN0X0ludGVyZmFjZTsNCg0KI2VuZGlmDQo=
--------------8A7358CD8956FECADEA7F768--