Notiz
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Iech unzemellen oder Verzeechnesser ze änneren.
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Verzeechnesser ze änneren.
Missing structured block in an OpenMP '#pragma omp sections' region
Remarks
A sections directive has an empty code block.
Example
The following example generates C3046:
// C3046.cpp
// compile with: /openmp /c
#include "omp.h"
int main() {
int n2 = 2, n3 = 3;
#pragma omp parallel
{
++n2;
#pragma omp sections
{
/*
++n2;
#pragma omp section
{
++n3;
}
*/
} // C3046 uncomment code to resolve this C3046
}
}