BUG: L1027 Error When Object File Name Includes a ParenthesisLast reviewed: July 17, 1997Article ID: Q63624 |
3.x 4.x 5.0x 5.1x 5.30 5.31.009 5.50 5.60 | 5.01.21 5.03 5.05 5.10 5.30
MS-DOS | OS/2kbtool kberrmsg kbbuglist The information in this article applies to:
SYMPTOMSAn attempt to link an application fails and Microsoft LINK generates the following message:
L1027: Unmatched left/right parenthesis CAUSEOne or more object modules contains a parenthesis in its filename. If the object module is in the current directory, the error occurs when either of the following conditions is true:
STATUSMicrosoft has confirmed this to be a problem in each version of Microsoft LINK that supports overlays. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONNormally, when the names of one or more object modules are surrounded by parentheses, LINK places those modules into an overlay. Therefore, if a left (or right) parenthesis appears immediately before (or after) the name of an object module, LINK expects a matching right (or left) parenthesis immediately after (or before) the name. If the parentheses does not match, LINK generates a fatal error L1027. For example, the following LINK command line causes an "unmatched left parenthesis" error if the object module ABC.OBJ is in the current directory:
link (abc;However, if ABC.OBJ is not in the current directory, then the parenthesis is imbedded in the path and filename string. In this case, LINK does not generate an error, as shown below:
link temp\(abc;Similarly, a file named ABC).OBJ does not generate an error if linked as follows:
link abc).obj;However, if the .OBJ extension is omitted, as follows, the L1027 error occurs:
link abc);If a left or right parenthesis is embedded in the name of a file, no error occurs. The following three LINK command lines each function correctly:
link a(bc; link a()bc; link a)bc; |
Additional reference words: 3.x 4.06 4.07 5.01.21 5.03 5.05 5.10 5.13
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |