Fatal Error C1045

compiler limit : linkage specifications nested too deeply

The nesting of externals exceeded the capacity of the compiler. Nested externals are allowed when specifying the external linkage type (such as extern C++).

Make sure that nested externals have appropriate closing braces.