Pārlūkot izejas kodu

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

Michael VAN CANNEYT 2 gadi atpakaļ
vecāks
revīzija
6ebe9e494f
1 mainītis faili ar 5 papildinājumiem un 1 dzēšanām
  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('');