Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!husc6!think!ames!hao!oddjob!gargoyle!ihnp4!homxb!mtuxo!rolls!doug!tim
From: tim@doug.UUCP (Tim J Ihde)
Newsgroups: comp.lang.c,comp.sys.ibm.pc
Subject: MSC 5.0 bug?
Message-ID: <380@doug.UUCP>
Date: Thu, 3-Dec-87 11:07:18 EST
Article-I.D.: doug.380
Posted: Thu Dec  3 11:07:18 1987
Date-Received: Tue, 8-Dec-87 02:32:58 EST
Organization: AT&T ISL - Somerset, NJ
Lines: 23
Keywords: Error using non-default data segment (large model)
Xref: mnetor comp.lang.c:5720 comp.sys.ibm.pc:10787

I've spent the last two days giving MS-C v5.0 a workout - compiling
nethack.  For the most part things went OK, until link time came.  I was
informed by the linker that the the default data size + stack size
was greater than 64K.  This makes sense since they both are placed in
the same segment.  No problem, I thought I would just look for files
with lots of static data and have them use their own data segment rather
than the default.

The problem came up when trying to do this with the 'trap.c' module.
I'm not certain what it is in this file that triggers the error, but
I know it only occurs if '-Au -ND trap' is used as part of the
cl line (telling the compiler to put all static variable storage into a
separate data segment called 'trap').

Anyway, I get:
	fatal error C1001: Internal Compiler Error
	(compiler file '@(#)regMD.c:1.05' line 2066

I am reporting this to MicroSoft.  Has anybody else seen something like this?

-- 
-----
Tim J. Ihde					ihnp4!ctsmain!doug!tim