浏览代码

* Do not compile IDE using namespaces, compiler is not configured to use namespaces

Michael VAN CANNEYT 2 年之前
父节点
当前提交
6ebe9e494f
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      packages/ide/fpmake.pp

+ 5 - 1
packages/ide/fpmake.pp

@@ -1,4 +1,5 @@
 {$ifndef ALLPACKAGES}
+
 {$mode objfpc}{$H+}
 program fpmake;
 
@@ -171,6 +172,9 @@ Var
 begin
   if SameText(Defaults.SubTarget,'unicodertl') then
     exit;
+  if Defaults.Namespaces then 
+    exit;
+     
   With Installer do
     begin
     s := GetCustomFpmakeCommandlineOptionValue('NoIDE');
@@ -379,7 +383,7 @@ end;
 
 {$ifndef ALLPACKAGES}
 begin
-  If Assigned(Installer) then
+  If Assigned(Installer) and not Defaults.Namespaces then
     begin
     add_ide_comandlineoptions();
     add_ide('');