[omniORB] EMNE: IDL bug in OmniOrb3 ?

Duncan Grisby dgrisby@uk.research.att.com
Tue, 07 Nov 2000 15:27:09 +0000


On Tuesday 7 November, Rolf Stadheim wrote:

> using Visual C++ nmake under Windows 98 (nmake /f dir.mak).

[...]
> When I checked what the nmake had accomplished, I saw it had
> generated two files, which filenames must clearly be wrong:
> 
> omnicpp -lang-c++ -undef -D__OMNIIDL__=0x2301 -D__OMNIIDL_CXX__ echo.hh

That's a new one. The problem is that some versions of Windows 98, but
not others, do the wrong thing when omniidl tries to fork the C
pre-processor. This is a new variant on it failing to work.

The solution is to use the -T flag to omniidl, which makes it use a
temporary file, rather than a pipe between the pre-processor and
omniidl. I'll update the dir.mak files to use -T.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --