Compiler directives A compiler directive is a statement that causes the compiler to take a specific action during compilation.