[omniORB] omniidl2 problems under IRIX

afo@linux.hrz.fh-zwickau.de afo@linux.hrz.fh-zwickau.de
Thu, 17 Feb 2000 09:30:47 +0100 (MET)


>Hi,
hi david,

>I have developed some stuff under Linux which I am now trying to port to
>IRIX. The problem is that the same IDL files will not compile under
>IRIX. There seems to be a problem with "re-opening modules". OmniORB
>2.8.0 is installed on both systems.
>
>The following code compiles fine on Linux,
>
>module SomeName {
>};
>
>module SomeName {
>};
>
>But under IRIX it gives me:
>
>omniidl2 test.idl
>omniidl2: "/tmp/idli_a003YH.cc", line 4: redefinition after use,
>::SomeName, , ::SomeName
>omniidl2: test.idl: found 1 error
>
>This is causing serious problems for me here at work.
>Any ideas ?

i could reproduce your error on an IRIX box here.
using the '-m' switch of omniidl2 it works for me.

but that doesn't answer the question why it works without -m on Linux,Solaris,...

-- 
// Andre Fornacon -*- afo <at> zlug <dot> org
//
// frog>> "If you kiss me, I'll turn into a beautiful princess." 
// geek>> "Look, I'm a computer programmer. I don't have time for girls, 
// geek>>  but a talking frog is very very cool."