BUG: U1157 When Building a Static Library in VWBLast reviewed: July 22, 1997Article ID: Q106402 |
1.00 1.50 1.51 1.52
WINDOWS
kbenv kbbuglist
The information in this article applies to:
The Visual Workbench, included with: - Microsoft Visual C++ for Windows, versions 1.0, 1.5, 1.51, and 1.52
SYMPTOMSThe following error message may be generated when building a static library from the Visual Workbench
LIB : fatal error U1157: comma or newline missing CAUSEThis error occurs if the target library (<LIBNAME>.LIB) exists and its attribute is read-only. A Visual-Workbench-generated makefile attempts to delete the existing library. If the attribute of the library is read-only, this attempt fails. However, the response file for the LIB utility assumes that the library was deleted, and has a built-in response of "y" for the prompt:
Library does not exist. Create? (y/n)Because this prompt does not occur, all responses are offset by one, which causes the above error.
RESOLUTIONChange the attribute of the library so that it is not read-only.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. This is not a problem in Visual C++ 32-bit Edition.
MORE INFORMATIONThe following steps re-create the problem:
|
Additional reference words: 1.00 1.50
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |