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.
-♦-