C9108002: C1001: newomf_ms.c, Line 925

ID Number: Q75222

6.00 6.00a 6.00ax | 6.00 6.00a

MS-DOS | OS/2

buglist6.00 buglist6.00a buglist6.00ax fixlist7.00

Summary:

PROBLEM ID: C9108002

SYMPTOMS

When compiling a module that contains a large number of alloc_text

pragmas defining distinct segments, Microsoft C Compiler versions

6.0, 6.0a, and 6.0ax will generate the following error message:

file.c(xxxx) : fatal error C1001: Internal Compiler Error

(compiler file '@(#)newomf_ms.c:1.69', line 925)

Contact Microsoft Product Support Services

RESOLUTION

The only workaround in this case is to reduce the number of

distinct segments defined. This can be accomplished by reducing the

size of the module in question or by combining functions into a

smaller number of segments. In the example used to verify this,

reducing the number of code segments to below 123 solved the

problem.

STATUS

Microsoft has confirmed this to be a problem in C versions 6.0,

6.0a, and 6.0ax. This problem was corrected in C/C++ version 7.0.

Additional reference words: 6.00 6.00a 6.00ax