Microsoft Utilities Errors Help (utilerr.hlp) (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
L4047
                                             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
                                    -♦-