View Issue Details

IDProjectCategoryView StatusLast Update
0033880FPCPackagespublic2018-06-21 22:54
ReporterШпагин Андрей СергеевичAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformAnyOSAnyOS VersionAny
Product VersionProduct Build 
Target Version3.2.0Fixed in Version3.2.0 
Summary0033880: Serial.SerWrite( ... var Buffer ...) - parameter declared as VAR, but must be CONST
DescriptionSerial.SerWrite( ... var Buffer ...)

Declaration is not uniform and unnecessarily resolves parameter modifcation.

As an example:

Windows.WriteFile( ... const Buffer ...)
BaseUnix.fpWrite( ... const buf ...)
TStream.Write( ... const Buffer ...)
TagsNo tags attached.
Fixed in Revision39274
FPCOldBugId
FPCTarget
Attached Files

Activities

Michael Van Canneyt

2018-06-21 22:54

administrator   ~0108995

Changed signature as suggested, thanks for reporting !

Issue History

Date Modified Username Field Change
2018-06-20 13:00 Шпагин Андрей Сергеевич New Issue
2018-06-20 13:50 Maxim Ganetsky Project Packages => FPC
2018-06-21 22:54 Michael Van Canneyt Fixed in Revision => 39274
2018-06-21 22:54 Michael Van Canneyt Note Added: 0108995
2018-06-21 22:54 Michael Van Canneyt Status new => resolved
2018-06-21 22:54 Michael Van Canneyt Fixed in Version => 3.2.0
2018-06-21 22:54 Michael Van Canneyt Resolution open => fixed
2018-06-21 22:54 Michael Van Canneyt Assigned To => Michael Van Canneyt
2018-06-21 22:54 Michael Van Canneyt Target Version => 3.2.0