FIX: Dependencies Not Generated for Files w/Lines Ending in LF

Last reviewed: September 18, 1997
Article ID: Q122334
2.00 WINDOWS NT kbtool kbfixlist

The information in this article applies to:

  • The development environment, included with Microsoft Visual C++, 32-bit Edition, version 2.0

SYMPTOMS

Visual Workbench does not generate dependencies for files that contain lines ending with a line-feed (LF) character only. Dependencies are generated correctly for files with lines that end in both a carriage-return (CR) and line-feed (LF) character.

RESOLUTION

Open the file in Visual Workbench. Then save it without making any changes. The saved file will contain both CR and LF characters at the end of each line. After that, dependencies will be correctly generated for that file.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was fixed in Microsoft Visual C++, 32-bit Edition, version 4.0.

MORE INFORMATION

Files with lines ending in the LF character typically come from the UNIX environment. MS-DOS text files have lines ending in both a CR and LF character.


Additional reference words: 2.00 carriage return returns include
KBCategory: kbtool kbfixlist kbbuglist
KBSubCategory: VWBIss
Keywords : kbbuglist kbfixlist kbtool
Version : 2.00
Platform : NT WINDOWS
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 18, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.