C/C++ Compiler (cl.hlp) (Table of Contents; 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.
C1050
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Fatal error C1050
 
     'segment' : code segment too large
 
     A code segment grew to within 36 bytes of 64K during compilation
     of a 16-bit program.
 
     To avoid this error, choose a memory model that allows multiple
     code segments, such as medium, large, or huge. This error can
     also be avoided by using the /Gy command-line option to have
     the compiler generate packaged functions.
 
     A 36-byte pad is used because of a bug in some 80286 chips that
     can cause programs to exhibit strange behavior when, among other
     conditions, the size of a code segment is within 36 bytes of 64K.
                                    -♦-