Unrecognized switch using MS C 5.1

Steve Harrold swh at hpcupt1.HP.COM
Tue Sep 18 23:38:06 AEST 1990


>>> Does anyone know why the following error message is occuring when I
>>> attempt to compile and link a simple C program using Microsoft's
>>> CL.EXE (version 5.1):
>>> 
>>> unrecognized switch error:  "NOI"
>>> 
>>> The error message occurs as the linking process is starting up.
---------------
The LINK program that comes with MSC 5.1 is supposed to recognize that
switch.  Methinks you are inadvertently executing an older version of LINK.

Have you checked your search PATH for a directory that may contain such
a critter, perhaps a directory with a name like MSDOS that contains the
older version usually supplied with the DOS system?  Look also in your
current directory, where your source files are.



More information about the Comp.lang.c mailing list