BUG: F4 to Go to Error/Tag Doesn't Always Open Source FileLast reviewed: July 31, 1997Article ID: Q140573 |
The information in this article applies to:
SYMPTOMSSome project configurations may cause the Go To Error/Tag functionality in the Developer Studio to fail when you double-click (or press F4) the compile results in the output window.
CAUSEA subproject or main project that refers to an Include file in a directory outside of the default directory may exhibit this behavior. For example, a workspace with the following directory structure will produce the problem if a compiler error is generated in MyIncludeFile.h. The subproject source files are in the directory .\Subproject. \toplevel .\subproject .\includeThe .\Include directory contains files that the project source file references with this syntax:
#include "MyIncludeFile.h"The build settings for the compiler preprocessor for the project has its Additional Include Directories field set to:
.\Include RESOLUTIONEither put the Include files in the .\Subproject directory, or give the complete path name in the compiler preprocessor's Additional Include Directories field:
<drive>:\toplevel\include 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. Keywords : vcbuglist400 vcbuglist500 VwbIss Version : 4.0 4.1 4.2 5.0 Platform : NT WINDOWS Issue type : kbbug |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |