Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 481 Bytes

compiler-error-c3001.md

File metadata and controls

24 lines (20 loc) · 481 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Error C3001
Compiler Error C3001
11/04/2016
C3001
C3001
d0e03478-1b44-47e5-8f5b-70415fa1f8bc

Compiler Error C3001

'error_text' : expected an OpenMP directive name

The omp pragma must be followed by a directive.

The following sample generates C3001:

// C3001.c
// compile with: /openmp
int main()
{
   #pragma omp   // C3001 missing token
}