I am porting an application build environment from VC++1.52 to BC++4.52. After compiling all the sources, I am stuck up with a
link error "Group DGROUP exceeds 64K".
In VC++ source code, the _segment directive has been used to control the segments into which data should be placed. This __segment directive is not accepted in BC++ 4.52. As a result, all the data segments are placed into the default data segment viz DGROUP. I anticipate this could be the possible cause of the Link error. Is this so
or is it some other cause ?
If so , is there any equivalent for __segment in BC++4.52 ?? I want to rewrite a statement like
segregs.ds = (__segment) &segregs
Can someone help on this please ??