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

This commit is contained in:
Michael VAN CANNEYT 2023-03-06 15:00:34 +01:00
parent 257724a2dc
commit 6ebe9e494f

View File

@ -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('');