www.digitalmars.com         C & C++   DMDScript  

c++ - segment overflow

reply trembb22 <trembb22_member pathlink.com> writes:
Is there someone that have a receip to reduce code size like removing inline
code?

link server2,,,wattcpdl/noi;
OPTLINK (R) for Win32  Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

OPTLINK : Error 19: Segment Size Exceeds 64k : SERVER2_TEXT

--- errorlevel 1
C:\dm>

Tanks

Benoit
Dec 03 2004
parent "Walter" <newshound digitalmars.com> writes:
Try going to a large code model -mm or -ml.

"trembb22" <trembb22_member pathlink.com> wrote in message
news:coq054$1dor$1 digitaldaemon.com...
 Is there someone that have a receip to reduce code size like removing
inline
 code?

 link server2,,,wattcpdl/noi;
 OPTLINK (R) for Win32  Release 7.50B1
 Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

 OPTLINK : Error 19: Segment Size Exceeds 64k : SERVER2_TEXT

 --- errorlevel 1
 C:\dm>

 Tanks

 Benoit
Dec 05 2004