Microsoft KB Archive/136069

= FIX: Visual C++ Build Process Won't Return If Missing ')' =

Article ID: 136069

Article Last Modified on 10/2/2003

-

APPLIES TO


 * Microsoft Visual C++ 2.0 Professional Edition

-



This article was previously published under Q136069



SYMPTOMS
When the left parenthesis ')' is missing from the sample code listed below, which uses template, the Microsoft Visual C++ version 2.x build process will not return. However, you can choose Stop Build from the Project menu to cause the process to terminate with the following messages:

cl.exe terminated at user request.

Tool execution cancelled by user.

Test.obj - 0 error(s), 0 warning(s)



RESOLUTION
To work around this problem, add back the missing parenthesis.



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



Sample Code to Reproduce Problem
/* No special compile options needed

template  class CTest { public: method; };

template  CTest::method( // Note the extra '(' here. The // compile on will never complete. { }

Additional query words: 2.00 2.10 2.20

Keywords: kbbug kbfix KB136069

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.