BullseyeCoverage Up Contents Search

Microsoft C++ Errors C3586, C3930

SYMPTOMS

One or both of the errors below occur when instrumenting a source that uses Microsoft C++ AMP.

error C3586: 'cov_v_n': using global or static variables is unsupported in amp restricted code
error C3930: 'cov_probe_v12' : no overloaded function has restriction specifiers that are compatible with the ambient context

CAUSE

It is not possible to instrument functions or lamdba expressions that use the Microsoft C++ AMP specifier restrict(amp).

RESOLUTION

Exclude all functions and lamdba expressions that use the restrict(amp) specifier.

Updated: 15 Oct 2012