Compiler directive


Compiler directive

In der Informatik versteht man unter Compiler Anweisung (oder engl. compiler directive) in den Quelltext eingefügte Steueranweisungen für den Compiler. Der Umfang und die Syntax von Compiler Anweisungen sind von Compiler zu Compiler verschieden und in der Compiler-Dokumentation beschrieben.

Beispiele

  • Eine #include <filename> Anweisung teilt dem Compiler mit, an dieser Stelle eine weitere Textdatei einzufügen und zu verarbeiten.
  • Eine #pragma <eigenschaft> ermöglicht die Umschaltung von Compiler-Eigenschaften während der Compiler Quelltext übersetzt.

Liste von Compiler-Anweisungen

  • #command
  • #define
  • #undefine / #undef
  • #include
  • #pragma
  • #stdout
  • #error
  • #line
  • #if
  • #elif
  • #else
  • #ifdef
  • #ifndef
  • #endif

Wikimedia Foundation.

Schlagen Sie auch in anderen Wörterbüchern nach:

  • compiler directive — kompiliatoriaus direktyva statusas T sritis informatika apibrėžtis Nurodymas kompiliatoriui, įdėtas į ↑programavimo kalba parašytą programą. Kompiliatoriaus direktyvoje nurodoma, kaip jis turi kompiliuoti programą, kiek jai skirti atminties ir… …   Enciklopedinis kompiuterijos žodynas

  • Compiler-Anweisung — In der Informatik versteht man unter Compiler Anweisung (oder engl. compiler directive) in den Quelltext eingefügte Steueranweisungen für den Compiler. Der Umfang und die Syntax von Compiler Anweisungen sind von Compiler zu Compiler verschieden… …   Deutsch Wikipedia

  • Directive (programming) — In computer programming, the term directive is applied in a variety of ways that are similar to the term command. It is also used to describe some programming language constructs (e.g. those specifying how a compiler or assembler should process… …   Wikipedia

  • GNU Compiler Collection — Cc1 redirects here. For other uses of CC1 or CC 1, see CC1 (disambiguation). GNU Compiler Collection Developer(s) GNU Project Initial release May 23, 1987 ( …   Wikipedia

  • X86 calling conventions — This article describes the calling conventions used on the x86 architecture.Calling conventions describe the interface of called code: * The order in which parameters are allocated * Where parameters are placed (pushed on the stack or placed in… …   Wikipedia

  • Header file — In computer programming, particularly in the C and C++ programming languages, a header file or include file is a file, usually in the form of source code, that is automatically included in another source file by the compiler. Typically, header… …   Wikipedia

  • Prefix header — In computer programming, a prefix header is a feature found in some C or C++ compilers used to simplify code and/or to reduce compilation time. Overview In the C and C++ programming languages, a header file is a file whose text is automatically… …   Wikipedia

  • Ada (programming language) — For other uses of Ada or ADA, see Ada (disambiguation). Ada Paradigm(s) Multi paradigm Appeared in 1980 Designed by MIL STD 1815/Ada 83: Jean Ichbiah Ada 95: Tucker Taft Ada 2005: Tucker Taft Stable release …   Wikipedia

  • Precompiled header — In computer programming, a pre compiled header is a technique used by some C or C++ compilers to reduce compilation time. OverviewIn the C and C++ programming languages, a header file is a file whose text may be automatically included in another… …   Wikipedia

  • GNAT Modified General Public License — The GNU logo The GNAT Modified General Public License (short: Modified GPL, GMGPL) is a version of the GNU General Public License specifically modified for the generic feature found in the Ada programming language. The modification is as follows …   Wikipedia