[omniORB] omniORB2.6.1: large number of operations in an interface cuases compile error on NT

Bjorn Jorde bjorde@tumbleweed.com
Thu, 14 Oct 1999 13:53:43 -0700


I'm running into a problem compiling the generated file from an
interface with a large number of operations ( > 120).
The idl compiler generates the code fine, but it does not compile on
NT using VC++ 5.0:

D:\s2\Posta\Idl\Server\Generated\TW_Session_Gen.cpp(29352) : fatal error
C1061: compiler limit : blocks nested too deeply
Error executing cl.exe.

This error is in the dispatch function and is caused by too many if else
statements.

BTW, this compiles fine on Solaris.

Does anybody have a solution for this short of rewriting the interface
to have fewer operations?


-- =

Bj=F8rn Jorde
Senior Software Engineer
Tumbleweed Communications Corp.
(650)216-2028