Poznámka
Na prístup k tejto stránke sa vyžaduje oprávnenie. Môžete sa skúsiť prihlásiť alebo zmeniť adresáre.
Na prístup k tejto stránke sa vyžaduje oprávnenie. Môžete skúsiť zmeniť adresáre.
inline assembly not allowed directly within a parallel region
Remarks
An omp parallel region cannot contain inline assembly instructions.
Example
The following example generates C3011:
// C3011.cpp
// compile with: /openmp
// processor: /x86
int main() {
int n = 0;
#pragma omp parallel
{
_asm mov eax, n // Delete this line to resolve this error.
} // C3011
}