Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 673 Bytes

compiler-warning-level-4-c4611.md

File metadata and controls

17 lines (13 loc) · 673 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 4) C4611
Compiler Warning (level 4) C4611
11/04/2016
C4611
C4611
bd90d0a6-75f9-4e97-968d-dda6773e9fd8

Compiler Warning (level 4) C4611

interaction between 'function' and C++ object destruction is non-portable

On some platforms, functions that include catch may not support C++ object semantics of destruction when out of scope.

To avoid unexpected behavior, avoid using catch in functions that have constructors and destructors.

This warning is only issued once; see pragma warning.