◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── LINK warning L4047 Multiple code segments in module of overlaid program incompatible with /CO A program containing more than one code segment in a single object file was linked using overlays and the /CO option. This warning most often occurs when linking an overlaid program with /CO and using the Microsoft FORTRAN or C run-time libraries. These libraries provide start-up code in the object module called crt0dat, which contains code for the segment _TEXT and for another segment. Since it is never necessary to debug this other segment, you can safely ignore the warning. If you get this warning in another situation, you may still ignore the warning if you do not need to access the CodeView symbolic information in later segments in the overlay. In general terms, this warning occurs if a program: ■ Uses the C compiler's #pragma alloc_text() to define multiple code segments in one object file ■ Is linked as an overlaid program ■ Is linked with the /CO option -♦-