瀏覽代碼

* disable the use of C-operators inside the compiler's sources

git-svn-id: trunk@43120 -
svenbarth 5 年之前
父節點
當前提交
3ae1b04d09
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      compiler/fpcdefs.inc

+ 3 - 0
compiler/fpcdefs.inc

@@ -19,6 +19,9 @@
   exceptions in the constructors }
   exceptions in the constructors }
 {$IMPLICITEXCEPTIONS OFF}
 {$IMPLICITEXCEPTIONS OFF}
 
 
+{ We don't want C operators to be used inside the compiler }
+{$COPERATORS OFF}
+
 { This define enables codepage-aware compiler messages handling. Turning it on
 { This define enables codepage-aware compiler messages handling. Turning it on
   forces code page conversion from the codepage, specified in the .msg file to
   forces code page conversion from the codepage, specified in the .msg file to
   CP_ACP, before printing the message to the console. Enable this for host
   CP_ACP, before printing the message to the console. Enable this for host