mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 03:49:41 +02:00
codetools: fixed compile
This commit is contained in:
parent
a4aa3e0a56
commit
1831cd1ad6
components/codetools
@ -1078,6 +1078,9 @@ type
|
||||
function GetPCVersion(const CompilerFilename, TargetOS, TargetCPU: string;
|
||||
UseCompiledVersionAsDefault: boolean;
|
||||
out Kind: TPascalCompiler): string;
|
||||
function FindUnitSet(const CompilerFilename, TargetOS, TargetCPU,
|
||||
Options, FPCSrcDir: string;
|
||||
CreateIfNotExists: boolean): TFPCUnitSetCache;
|
||||
function FindUnitSet(const CompilerFilename, TargetOS, TargetCPU, SubTarget,
|
||||
Options, FPCSrcDir: string;
|
||||
CreateIfNotExists: boolean): TFPCUnitSetCache;
|
||||
@ -11474,6 +11477,13 @@ begin
|
||||
Result:=CfgCache.FullVersion;
|
||||
end;
|
||||
|
||||
function TCompilerDefinesCache.FindUnitSet(const CompilerFilename, TargetOS,
|
||||
TargetCPU, Options, FPCSrcDir: string; CreateIfNotExists: boolean
|
||||
): TFPCUnitSetCache;
|
||||
begin
|
||||
Result:=FindUnitSet(CompilerFilename,TargetOS,TargetCPU,'',Options,FPCSrcDir,CreateIfNotExists);
|
||||
end;
|
||||
|
||||
function TCompilerDefinesCache.FindUnitSet(const CompilerFilename, TargetOS,
|
||||
TargetCPU, SubTarget, Options, FPCSrcDir: string; CreateIfNotExists: boolean
|
||||
): TFPCUnitSetCache;
|
||||
|
1
components/codetools/examples/.gitignore
vendored
1
components/codetools/examples/.gitignore
vendored
@ -1 +1,2 @@
|
||||
sourcecloser
|
||||
testfpcsrcunitrules
|
||||
|
@ -214,7 +214,7 @@ begin
|
||||
writeln('RealCompiler=',ConfigCache.RealCompiler);
|
||||
writeln('RealTargetOS=',ConfigCache.RealTargetOS);
|
||||
writeln('RealTargetCPU=',ConfigCache.RealTargetCPU);
|
||||
writeln('RealCompilerInPATH=',ConfigCache.RealCompilerInPath);
|
||||
writeln('RealCompilerInPATH=',ConfigCache.RealTargetCPUCompiler);
|
||||
if ConfigCache.ConfigFiles<>nil then begin
|
||||
for i:=0 to ConfigCache.ConfigFiles.Count-1 do begin
|
||||
CfgFile:=ConfigCache.ConfigFiles[i];
|
||||
|
Loading…
Reference in New Issue
Block a user