You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed HtmlViewer on Mac (OS12.6, Monterey) and couldn't compile it via the Lazarus Online Package Manager. The same installed on Windows first time and works (it's a really nice and useful bit of work too!).
The output from compilation is:
Compile package FrameViewer09 11.8: Exit code 1, Errors: 5, Warnings: 33, Hints: 46
htmlmisc.pas(313,36) Warning: Symbol "CM_WININICHANGE" is not implemented
htmlmisc.pas(625,13) Hint: Conversion between ordinals and pointers is not portable
htmlmisc.pas(634,13) Hint: Conversion between ordinals and pointers is not portable
htmlmisc.pas(652,11) Hint: Conversion between ordinals and pointers is not portable
htmlmisc.pas(705,14) Hint: Local variable "w" of a managed type does not seem to be initialized
htmlmisc.pas(703,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
htmlmisc.pas(714,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
htmlmisc.pas(726,7) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
htmlmisc.pas(735,15) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
htmlmisc.pas(757,10) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
htmlmisc.pas(763,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
htmlmisc.pas(864,10) Warning: Function result does not seem to be set
htmlmisc.pas(873,10) Warning: Function result does not seem to be set
htmlmisc.pas(980,26) Hint: Local variable "TM" does not seem to be initialized
htmlmisc.pas(1007,26) Hint: Local variable "TM" does not seem to be initialized
htmlmisc.pas(1031,10) Warning: Function result does not seem to be set
htmlmisc.pas(1040,10) Warning: Function result does not seem to be set
htmlmisc.pas(1049,10) Warning: Function result does not seem to be set
htmlmisc.pas(1058,10) Warning: Function result does not seem to be set
htmlmisc.pas(1094,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
htmlmisc.pas(1099,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
htmlmisc.pas(1114,10) Warning: Function result does not seem to be set
htmlmisc.pas(1123,10) Warning: Function result does not seem to be set
htmlmisc.pas(1133,10) Warning: Function result does not seem to be set
htmlmisc.pas(1142,10) Warning: Function result does not seem to be set
htmlmisc.pas(1151,10) Warning: Function result does not seem to be set
htmlmisc.pas(1160,10) Warning: Function result does not seem to be set
htmlmisc.pas(1169,10) Warning: Function result does not seem to be set
htmlmisc.pas(55,3) Hint: Unit "ctypes" not used in HtmlMisc
widestringslcl.pas(85,14) Warning: An inherited method is hidden by "Equals(TWideStrings):Boolean;"
widestringslcl.pas(415,28) Warning: Implicit string type conversion from "AnsiString" to "WideString"
widestringslcl.pas(542,34) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
widestringslcl.pas(563,39) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
widestringslcl.pas(598,19) Hint: Function result variable of a managed type does not seem to be initialized
widestringslcl.pas(605,7) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
widestringslcl.pas(658,3) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
widestringslcl.pas(812,31) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
widestringslcl.pas(812,27) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
widestringslcl.pas(862,43) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
widestringslcl.pas(898,22) Warning: Implicit string type conversion from "AnsiString" to "WideString"
widestringslcl.pas(922,43) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
widestringslcl.pas(1017,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
widestringslcl.pas(1032,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
widestringslcl.pas(1125,7) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
widestringslcl.pas(1141,7) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
widestringslcl.pas(1217,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
widestringslcl.pas(1243,36) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
widestringslcl.pas(1243,32) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
widestringslcl.pas(1245,37) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
widestringslcl.pas(1245,33) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
widestringslcl.pas(1243,15) Note: Call to subroutine "function AnsiCompareStr(const S1:AnsiString;const S2:AnsiString):LongInt;" marked as inline is not inlined
widestringslcl.pas(1245,15) Note: Call to subroutine "function AnsiCompareText(const S1:AnsiString;const S2:AnsiString):LongInt;" marked as inline is not inlined
HtmlGlobals.pas(550,36) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
HtmlGlobals.pas(580,36) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
HtmlGlobals.pas(895,3) Hint: Local const "ROP_DstCopy" is not used
HtmlGlobals.pas(976,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
HtmlGlobals.pas(1014,19) Hint: Function result variable of a managed type does not seem to be initialized
HtmlGlobals.pas(1097,3) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
HtmlGlobals.pas(1243,29) Hint: Local variable "Buffer" does not seem to be initialized
HtmlGlobals.pas(861,3) Warning: Variable "SystemPalette16" read but nowhere assigned
HtmlGlobals.pas(44,40) Hint: Unit "Messages" not used in HtmlGlobals
DitherUnit.pas(281,15) Hint: Local variable "DIB" does not seem to be initialized
DitherUnit.pas(281,3) Note: Call to subroutine "procedure FillChar(var x:;count:Int64;Value:Byte);" marked as inline is not inlined
DitherUnit.pas(291,5) Note: Call to subroutine "procedure FillChar(var x:;count:Int64;Value:Byte);" marked as inline is not inlined
DitherUnit.pas(339,42) Hint: Local variable "Info" does not seem to be initialized
DitherUnit.pas(1067,3) Note: Call to subroutine "procedure FillChar(var x:;count:Int64;Value:Byte);" marked as inline is not inlined
DitherUnit.pas(1068,3) Note: Call to subroutine "procedure FillChar(var x:;count:Int64;Value:Byte);" marked as inline is not inlined
DitherUnit.pas(1069,3) Note: Call to subroutine "procedure FillChar(var x:;count:Int64;Value:Byte);" marked as inline is not inlined
DitherUnit.pas(1551,46) Hint: Local variable "RGBQuadArray" does not seem to be initialized
HtmlBuffer.pas(1246,21) Hint: Function result variable of a managed type does not seem to be initialized
HtmlBuffer.pas(1247,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
HtmlBuffer.pas(1379,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
HtmlBuffer.pas(1416,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
HtmlBuffer.pas(1451,3) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
HtmlBuffer.pas(1639,19) Hint: Function result variable of a managed type does not seem to be initialized
StyleTypes.pas(564,19) Hint: Function result variable of a managed type does not seem to be initialized
StyleTypes.pas(573,14) Note: Call to subroutine "operator :=(const source:Variant):UnicodeString;" marked as inline is not inlined
StyleTypes.pas(590,19) Hint: Function result variable of a managed type does not seem to be initialized StyleTypes.pas(888,46) Error: Identifier not found "FontSerif"
StyleTypes.pas(888,57) Error: Identifier not found "FontMono"
StyleTypes.pas(888,70) Error: Identifier not found "FontSans"
StyleTypes.pas(888,84) Error: Identifier not found "FontCursive"
StyleTypes.pas(888,97) Error: Identifier not found "FontHelvet"
StyleTypes.pas(910,37) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
I also tried adding 11.9 manually to Monterey and got a couple of errors:
Compile package FrameViewer09 11.0: Exit code 1, Errors: 2, Warnings: 54, Hints: 704
[Deleted to meet maximum message length] vwPrint.pas(114,47) Error: Identifier not found "PDeviceModeW"
vwPrint.pas(114,88) Error: Error in type definition
I noticed some similar issues had been reported on other platforms but don't know enough about FPC/Lazarus to understand them.
The text was updated successfully, but these errors were encountered:
Hi everyone,
I installed HtmlViewer on Mac (OS12.6, Monterey) and couldn't compile it via the Lazarus Online Package Manager. The same installed on Windows first time and works (it's a really nice and useful bit of work too!).
The output from compilation is:
Compile package FrameViewer09 11.8: Exit code 1, Errors: 5, Warnings: 33, Hints: 46
htmlmisc.pas(313,36) Warning: Symbol "CM_WININICHANGE" is not implemented
htmlmisc.pas(625,13) Hint: Conversion between ordinals and pointers is not portable
htmlmisc.pas(634,13) Hint: Conversion between ordinals and pointers is not portable
htmlmisc.pas(652,11) Hint: Conversion between ordinals and pointers is not portable
htmlmisc.pas(705,14) Hint: Local variable "w" of a managed type does not seem to be initialized
htmlmisc.pas(703,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
htmlmisc.pas(714,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
htmlmisc.pas(726,7) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
htmlmisc.pas(735,15) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
htmlmisc.pas(757,10) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
htmlmisc.pas(763,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
htmlmisc.pas(864,10) Warning: Function result does not seem to be set
htmlmisc.pas(873,10) Warning: Function result does not seem to be set
htmlmisc.pas(980,26) Hint: Local variable "TM" does not seem to be initialized
htmlmisc.pas(1007,26) Hint: Local variable "TM" does not seem to be initialized
htmlmisc.pas(1031,10) Warning: Function result does not seem to be set
htmlmisc.pas(1040,10) Warning: Function result does not seem to be set
htmlmisc.pas(1049,10) Warning: Function result does not seem to be set
htmlmisc.pas(1058,10) Warning: Function result does not seem to be set
htmlmisc.pas(1094,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
htmlmisc.pas(1099,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
htmlmisc.pas(1114,10) Warning: Function result does not seem to be set
htmlmisc.pas(1123,10) Warning: Function result does not seem to be set
htmlmisc.pas(1133,10) Warning: Function result does not seem to be set
htmlmisc.pas(1142,10) Warning: Function result does not seem to be set
htmlmisc.pas(1151,10) Warning: Function result does not seem to be set
htmlmisc.pas(1160,10) Warning: Function result does not seem to be set
htmlmisc.pas(1169,10) Warning: Function result does not seem to be set
htmlmisc.pas(55,3) Hint: Unit "ctypes" not used in HtmlMisc
widestringslcl.pas(85,14) Warning: An inherited method is hidden by "Equals(TWideStrings):Boolean;"
widestringslcl.pas(415,28) Warning: Implicit string type conversion from "AnsiString" to "WideString"
widestringslcl.pas(542,34) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
widestringslcl.pas(563,39) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
widestringslcl.pas(598,19) Hint: Function result variable of a managed type does not seem to be initialized
widestringslcl.pas(605,7) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
widestringslcl.pas(658,3) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
widestringslcl.pas(812,31) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
widestringslcl.pas(812,27) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
widestringslcl.pas(862,43) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
widestringslcl.pas(898,22) Warning: Implicit string type conversion from "AnsiString" to "WideString"
widestringslcl.pas(922,43) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
widestringslcl.pas(1017,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
widestringslcl.pas(1032,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
widestringslcl.pas(1125,7) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
widestringslcl.pas(1141,7) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
widestringslcl.pas(1217,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
widestringslcl.pas(1243,36) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
widestringslcl.pas(1243,32) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
widestringslcl.pas(1245,37) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
widestringslcl.pas(1245,33) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
widestringslcl.pas(1243,15) Note: Call to subroutine "function AnsiCompareStr(const S1:AnsiString;const S2:AnsiString):LongInt;" marked as inline is not inlined
widestringslcl.pas(1245,15) Note: Call to subroutine "function AnsiCompareText(const S1:AnsiString;const S2:AnsiString):LongInt;" marked as inline is not inlined
HtmlGlobals.pas(550,36) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
HtmlGlobals.pas(580,36) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
HtmlGlobals.pas(895,3) Hint: Local const "ROP_DstCopy" is not used
HtmlGlobals.pas(976,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
HtmlGlobals.pas(1014,19) Hint: Function result variable of a managed type does not seem to be initialized
HtmlGlobals.pas(1097,3) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
HtmlGlobals.pas(1243,29) Hint: Local variable "Buffer" does not seem to be initialized
HtmlGlobals.pas(861,3) Warning: Variable "SystemPalette16" read but nowhere assigned
HtmlGlobals.pas(44,40) Hint: Unit "Messages" not used in HtmlGlobals
DitherUnit.pas(281,15) Hint: Local variable "DIB" does not seem to be initialized
DitherUnit.pas(281,3) Note: Call to subroutine "procedure FillChar(var x:;count:Int64;Value:Byte);" marked as inline is not inlined
DitherUnit.pas(291,5) Note: Call to subroutine "procedure FillChar(var x:;count:Int64;Value:Byte);" marked as inline is not inlined
DitherUnit.pas(339,42) Hint: Local variable "Info" does not seem to be initialized
DitherUnit.pas(1067,3) Note: Call to subroutine "procedure FillChar(var x:;count:Int64;Value:Byte);" marked as inline is not inlined
DitherUnit.pas(1068,3) Note: Call to subroutine "procedure FillChar(var x:;count:Int64;Value:Byte);" marked as inline is not inlined
DitherUnit.pas(1069,3) Note: Call to subroutine "procedure FillChar(var x:;count:Int64;Value:Byte);" marked as inline is not inlined
DitherUnit.pas(1551,46) Hint: Local variable "RGBQuadArray" does not seem to be initialized
HtmlBuffer.pas(1246,21) Hint: Function result variable of a managed type does not seem to be initialized
HtmlBuffer.pas(1247,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
HtmlBuffer.pas(1379,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
HtmlBuffer.pas(1416,5) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
HtmlBuffer.pas(1451,3) Note: Call to subroutine "procedure Move(const source:;var dest:;count:Int64);" marked as inline is not inlined
HtmlBuffer.pas(1639,19) Hint: Function result variable of a managed type does not seem to be initialized
StyleTypes.pas(564,19) Hint: Function result variable of a managed type does not seem to be initialized
StyleTypes.pas(573,14) Note: Call to subroutine "operator :=(const source:Variant):UnicodeString;" marked as inline is not inlined
StyleTypes.pas(590,19) Hint: Function result variable of a managed type does not seem to be initialized
StyleTypes.pas(888,46) Error: Identifier not found "FontSerif"
StyleTypes.pas(888,57) Error: Identifier not found "FontMono"
StyleTypes.pas(888,70) Error: Identifier not found "FontSans"
StyleTypes.pas(888,84) Error: Identifier not found "FontCursive"
StyleTypes.pas(888,97) Error: Identifier not found "FontHelvet"
StyleTypes.pas(910,37) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
I also tried adding 11.9 manually to Monterey and got a couple of errors:
Compile package FrameViewer09 11.0: Exit code 1, Errors: 2, Warnings: 54, Hints: 704
[Deleted to meet maximum message length]
vwPrint.pas(114,47) Error: Identifier not found "PDeviceModeW"
vwPrint.pas(114,88) Error: Error in type definition
I noticed some similar issues had been reported on other platforms but don't know enough about FPC/Lazarus to understand them.
The text was updated successfully, but these errors were encountered: