errors.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.
Error Message
                                                  Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     LINK error L2045
 
     'segment' : segment with > 1 class name not allowed with /INC
 
     The program defined a segment more than once, giving the segment
     different class names. Different class names for the same segment
     are not allowed when linking with the /INCREMENTAL (/INC) option.
 
     Normally, this error should never appear unless programming with
     MASM. For example, the two MASM statements
 
          _BSS segment 'BSS'
          _BSS segment 'DATA'
 
     have the effect of defining two distinct segments with the same
     name but different classes. This situation is incompatible with
     the /INCREMENTAL option.
                                    -♦-