When I compile CudaText for Solaris SPARC (32bit CPU as IDE GoTo shows
me blocks with "ifdef cpu32") I get compile error, gtk2widgetset.inc
// clipboard
ClipboardTypeAtoms[ctPrimarySelection]:=GDK_SELECTION_PRIMARY;
ClipboardTypeAtoms[ctSecondarySelection]:=GDK_SELECTION_SECONDARY;
ClipboardTypeAtoms[ctClipboard]:=gdk_atom_intern('CLIPBOARD',GdkFalse);
///==> gtk2widgetset.inc(1473,36) Error: Incompatible types: got
"PGdkAtom" expected "LongWord"
IDE shows that both sides (array and gdk_atom_intern) are TGdkAtom - hmm.
Lazarus trunk from today.
user@PC:~/fpcupdeluxe/fpc/bin/x86_64-linux$ ./fpc
Free Pascal Compiler version 3.3.1-r43462 [2019/11/14] for x86_64
--
Regards,
Alexey
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus