Error compile richmemo on Linux gtk2
Original Reporter info from Mantis: alexs75
-
Reporter name: Lagunov Aleksey
Original Reporter info from Mantis: alexs75
- Reporter name: Lagunov Aleksey
Description:
rev. 4142
/usr/local/share/lazarus/components/richmemo/./gtk2/gtk2richmemo.pas(1159,30) Error: (5000) Identifier not found "taLeft"
/usr/local/share/lazarus/components/richmemo/./gtk2/gtk2richmemo.pas(1240,8) Warning: (5066) Symbol "UTF8Length" is deprecated: "Use the function in LazUTF8 unit"
/usr/local/share/lazarus/components/richmemo/./gtk2/gtk2richmemo.pas(1243,4) Warning: (5066) Symbol "ConvertUTF8ToUTF16" is deprecated: "Use the function in LazUTF8 unit"
/usr/local/share/lazarus/components/richmemo/./gtk2/gtk2richmemo.pas(1280,38) Hint: (5091) Local variable "txt" of a managed type does not seem to be initialized
gtk2richmemo.pas(1565) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Additional information:
diff file for fix this error:
Index: gtk2/gtk2richmemo.pas
===================================================================
--- gtk2/gtk2richmemo.pas (revision 4142)
+++ gtk2/gtk2richmemo.pas (working copy)
@@ -1156,7 +1156,7 @@
for i:=0 to AStopList.Count-1 do begin
pango_tab_array_get_tab(attr^.tabs, i, @al, @loc);
AStopList.Tabs[i].Offset:=loc*f;
- AStopList.Tabs[i].Align:=taLeft;
+ AStopList.Tabs[i].Align:=tabLeft;
end;
gtk_text_attributes_unref(attr);
end;
Mantis conversion info:
- Mantis ID: 28130