Article View: comp.sys.ibm.pc.programmer
Article #476Re: Group DGROUP exceeds 64K
From: Ron Dippold
Date: Sat, 05 Sep 1992 03:51
Date: Sat, 05 Sep 1992 03:51
27 lines
1174 bytes
1174 bytes
lars_s@gemini.ldc.lu.se (Lars Sigebo) writes:
>I'm using Borland C++ version 3.0 in large memory model and are trying to
>link a couple of modules. I got this message from TLINK:
> Error: Group DGROUP exceeds 64K
Move your "static" declarations in functions out to the top level of
the file, from:
main()
{
static int big[30000];
/* lotsa stuff */
}
to
static int big[30000];
main()
{
/* lotsa stuff */
}
The same thing happens under Microsloth C. Pain in the ass, and nasty
for scoping, but Intel real mode is Intel real mode...
--
Q: Why did the tachyon cross the road? A: Because it was on the other side.
Technical Details
Message-ID:
<rdippold.715665099@cancun>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!pacbell.com!network.ucsd.edu!qualcom.qualcomm.com!cancun!rdippoldReferences:
<1992Sep4.213550.13151@pollux.lu.se>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.ibm.pc.programmer,comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!pacbell.com!network.ucsd.edu!qualcom.qualcomm.com!cancun!rdippold From: rdippold@cancun.qualcomm.com (Ron Dippold) Subject: Re: Group DGROUP exceeds 64K Message-ID: <rdippold.715665099@cancun> Sender: news@qualcomm.com Nntp-Posting-Host: cancun.qualcomm.com Organization: Qualcomm, Inc., San Diego, CA References: <1992Sep4.213550.13151@pollux.lu.se> Date: Sat, 5 Sep 1992 03:51:39 GMT Lines: 27