E2536 Incomplete type cannot be part of a exception declaration (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

This error occurs when an incomplete type is used in exception declaration. From C++ ISO 14882:1998 15.3.1 "The exception-declaration shall not denote an incomplete type. The exception-declaration shall not denote a pointer or reference to an incomplete type, other than void*, const void*, volatile void*, or const volatile void*. Types shall not be defined in an exception-declaration.