BUG: The uncaught_exception C Run-Time function always returns false (242192)



The information in this article applies to:

  • The C Run-Time (CRT), when used with:
    • Microsoft Visual C++, 32-bit Enterprise Edition 6.0
    • Microsoft Visual C++, 32-bit Professional Edition 6.0
    • Microsoft Visual C++, 32-bit Learning Edition 6.0

This article was previously published under Q242192

SYMPTOMS

The C Run-Time (CRT) function uncaught_exception should return true if an exception is being processed. However, the function always returns false.

CAUSE

The uncaught_exception function is not correctly implemented as specified in the C++ Standard (section 18.6.4). The function is implemented as a stub function, which always returns false. Please refer to the Uncaught.cpp file shipped with the CRT source.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

Modification Type:MajorLast Reviewed:6/1/2005
Keywords:kbBug KB242192 kbAudDeveloper