From Free Pascal wiki
Jump to navigationJump to search

Deutsch (de) English (en)

Back to global compiler directives.

Since Free Pascal v2.0.0, the global compiler directive $O has the same meaning as the local compiler directive $OPTIMIZATION switching on/off level two optimizations.

$O uses the + and - switches.

$OPTIMIZATION uses the ON and OFF switches.


  // Enable global level 2 optimization

  // Enable local level 2 optimization