www.digitalmars.com         C & C++   DMDScript  

c++ - >64k Global types?

reply john Jameson <john_member pathlink.com> writes:
Hi All

I'm getting an error "k:\...\viewer.obj(viewer) >64K Global Types" from OPTLINK.

What does it mean, and what can I do? Is it related to the named object file
being too large, or does it relate to the size of the program as  whole?

It goes away if I omit or reduce debug info from the compile, but that would
make debugging very hard!

Cheers,
John
Sep 15 2005
parent "Walter Bright" <newshound digitalmars.com> writes:
"john Jameson" <john_member pathlink.com> wrote in message
news:dgbkdu$s0h$1 digitaldaemon.com...
 Hi All

 I'm getting an error "k:\...\viewer.obj(viewer) >64K Global Types" from
OPTLINK.
 What does it mean, and what can I do? Is it related to the named object
file
 being too large, or does it relate to the size of the program as  whole?

 It goes away if I omit or reduce debug info from the compile, but that
would
 make debugging very hard!
Try omitting debug info from one of your .obj files.
Sep 15 2005