Microsoft KB Archive/106402

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 09:08, 20 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

BUG: U1157 When Building a Static Library in VWB


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 ---------------------------------------------------------------------- SYMPTOMS ======== The following error message may be generated when building a static library from the Visual Workbench LIB : fatal error U1157: comma or newline missing CAUSE ===== This error occurs if the target library (.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. RESOLUTION ========== Change the attribute of the library so that it is not read-only. STATUS ====== Microsoft 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 INFORMATION ================ The following steps re-create the problem: 1. Create a project of project type, Static library (.LIB) 2. Build the project so that the library is created. 3. Change the attribute of the library to read-only. 4. Do a Rebuild-All on the project. Additional reference words: 1.00 1.50 KBCategory: kbenv kbbuglist KBSubcategory: VWBIss

Keywords : kb16bitonly
Issue type : kbbug
Technology : kbVCsearch kbAudDeveloper

Last Reviewed: May 5, 2001
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.