INF:UNKNOWN WARNING May Result from Corrupt Error Message File

ID Number: Q57942

5.10 6.00 6.00a 6.00ax 7.00 | 5.10 6.00 6.00a

MS-DOS | OS/2

Summary:

In Microsoft C versions 5.0, 5.1, 6.0, 6.0a, 6.0ax, and C/C++ version

7.0, if a number of compiler warning messages contain the description

"UNKNOWN WARNING", or if the error number is displayed with no message,

the cause may be the use of an incorrect or corrupted error message

file. The compiler generates the correct error number, but since the

messages are retrieved from a separate file, the compiler displays

either no text or "UNKNOWN WARNING" when it cannot find a match.

More Information:

The error message files for the C compiler should contain messages for

all errors and warnings generated. If you look up the number of a

compiler error in the documentation and find a normally documented

error, then you should be suspicious of your .ERR error message files.

The simplest check is to reinstall the error message files from the

original disks and then recompile to see if the error messages

appear correctly. If you are using C 5.1, you can copy CL.ERR and

C23.ERR from the Setup disk and C1.ERR from the disk labeled Compiler

Disk 1. If you are using C 6.0, then enter the following command

at the system prompt

setup /copy

and you will be prompted to specify a file. The files needed are

C1.ERR, CL.ERR, and C23.ERR.

Additional reference words: 5.00 5.10 6.00 6.00a 6.00ax 7.00