View Issue Details

IDProjectCategoryView StatusLast Update
0030905FPCRTLpublic2016-11-11 10:35
ReporterAlexey Tor.Assigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version3.1.1Product Build 
Target Version3.2.0Fixed in Version3.1.1 
Summary0030905: SysUtils, use inline
DescriptionThese funcs need to use inline. it is 1 line functions. simple call.

function IntToStr(Value: Longint): string;
begin
 System.Str(Value, result);
end ;


function IntToStr(Value: int64): string;
begin
 System.Str(Value, result);
end ;

function IntToStr(Value: QWord): string;
begin
 System.Str(Value, result);
end ;
TagsNo tags attached.
Fixed in Revision34868.
FPCOldBugId
FPCTarget
Attached Files

Activities

Alexey Tor.

2016-11-10 21:10

reporter   ~0095746

//also use here:
procedure AssignStr(var P: PString; const S: string);
begin
  P^ := s;
end ;

procedure AppendStr(var Dest: String; const S: string);
begin
Dest := Dest + S;
end ;

Alexey Tor.

2016-11-10 21:13

reporter   ~0095747

//also:
function QuotedStr(const S: string): string;
begin
result := AnsiQuotedStr(s, '''');
end ;

Michael Van Canneyt

2016-11-11 10:35

administrator   ~0095751

Done as suggested.

Issue History

Date Modified Username Field Change
2016-11-10 13:55 Alexey Tor. New Issue
2016-11-10 21:10 Alexey Tor. Note Added: 0095746
2016-11-10 21:13 Alexey Tor. Note Added: 0095747
2016-11-11 10:26 Michael Van Canneyt Assigned To => Michael Van Canneyt
2016-11-11 10:26 Michael Van Canneyt Status new => assigned
2016-11-11 10:35 Michael Van Canneyt Fixed in Revision => 34868.
2016-11-11 10:35 Michael Van Canneyt Note Added: 0095751
2016-11-11 10:35 Michael Van Canneyt Status assigned => resolved
2016-11-11 10:35 Michael Van Canneyt Fixed in Version => 3.1.1
2016-11-11 10:35 Michael Van Canneyt Resolution open => fixed
2016-11-11 10:35 Michael Van Canneyt Target Version => 3.2.0