L2025: B$VWINI, B$GRPRST, Symbols Multiply Defined

ID Number: Q62178

6.00

MS-DOS

buglist6.00 fixlist6.00a

Summary:

When building programs with C version 6.00 using graphics functions

and the TXTONLY.OBJ file (to decrease the size of the executable

file), in certain cases the linker will return an L2025 for two

symbols.

More Information:

The symbols B$VWINI and B$GRPRST are multiply defined in a program

with a call to _clearscreen. The link statement does include /NOE,

which is necessary to successfully link with the TXTONLY.OBJ file.

The following sample code produces the errors:

#include <graph.h>

void main (void)

{

_clearscreen (_GCLEARSCREEN) ;

}

The program still functions correctly (it clears the screen).

Microsoft has confirmed this to be a problem in C version 6.00. This

problem was corrected in C version 6.00a.